Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@

* Update VERSION number of these files
* <code>RACC_VERSION</code> in "ext/racc/com/headius/racc/Cparse.java"
* <code>RACC_VERSION</code> in "ext/racc/cparse/cparse.c"
* <code>VERSION</code> in "lib/racc/info.rb"
* Release as a gem by <code>rake release</code> with CRuby and JRuby because Racc gem provides 2 packages
* Create new release on {GitHub}[https://github.com/ruby/racc/releases]
Expand Down
2 changes: 1 addition & 1 deletion ext/racc/cparse/cparse.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
Important Constants
----------------------------------------------------------------------- */

#define RACC_VERSION "1.7.1"
#define RACC_VERSION STRINGIZE(RACC_INFO_VERSION)

#define DEFAULT_TOKEN -1
#define ERROR_TOKEN 1
Expand Down
2 changes: 2 additions & 0 deletions ext/racc/cparse/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@
#

require 'mkmf'
require_relative '../../../lib/racc/info'

$defs << "-D""RACC_INFO_VERSION=#{Racc::VERSION}"
create_makefile 'racc/cparse'