File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535
3636* Update VERSION number of these files
3737 * <code>RACC_VERSION</code> in "ext/racc/com/headius/racc/Cparse.java"
38- * <code>RACC_VERSION</code> in "ext/racc/cparse/cparse.c"
3938 * <code>VERSION</code> in "lib/racc/info.rb"
4039* Release as a gem by <code>rake release</code> with CRuby and JRuby because Racc gem provides 2 packages
4140* Create new release on {GitHub}[https://github.com/ruby/racc/releases]
Original file line number Diff line number Diff line change 2222 Important Constants
2323----------------------------------------------------------------------- */
2424
25- #define RACC_VERSION "1.7.1"
25+ #define RACC_VERSION STRINGIZE(RACC_INFO_VERSION)
2626
2727#define DEFAULT_TOKEN -1
2828#define ERROR_TOKEN 1
Original file line number Diff line number Diff line change 22#
33
44require 'mkmf'
5+ require_relative '../../../lib/racc/info'
56
7+ $defs << "-D" "RACC_INFO_VERSION=#{ Racc ::VERSION } "
68create_makefile 'racc/cparse'
You can’t perform that action at this time.
0 commit comments