mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Revert ext/json/parser/prereq.mk
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c74aaed016
commit
9df9432181
1 changed files with 10 additions and 0 deletions
10
ext/json/parser/prereq.mk
Normal file
10
ext/json/parser/prereq.mk
Normal file
|
@ -0,0 +1,10 @@
|
|||
RAGEL = ragel
|
||||
|
||||
.SUFFIXES: .rl
|
||||
|
||||
.rl.c:
|
||||
$(RAGEL) -G2 $<
|
||||
$(BASERUBY) -pli -e '$$_.sub!(/[ \t]+$$/, "")' \
|
||||
-e '$$_.sub!(/^static const int (JSON_.*=.*);$$/, "enum {\\1};")' $@
|
||||
|
||||
parser.c:
|
Loading…
Reference in a new issue