ruby-changes:43511
From: nobu <ko1@a...>
Date: Wed, 6 Jul 2016 14:11:56 +0900 (JST)
Subject: [ruby-changes:43511] nobu:r55583 (trunk): Revert ext/json/parser/prereq.mk
nobu 2016-07-06 14:01:43 +0900 (Wed, 06 Jul 2016) New Revision: 55583 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55583 Log: Revert ext/json/parser/prereq.mk Added files: trunk/ext/json/parser/prereq.mk Index: ext/json/parser/prereq.mk =================================================================== --- ext/json/parser/prereq.mk (revision 0) +++ ext/json/parser/prereq.mk (revision 55583) @@ -0,0 +1,10 @@ https://github.com/ruby/ruby/blob/trunk/ext/json/parser/prereq.mk#L1 +RAGEL = ragel + +.SUFFIXES: .rl + +.rl.c: + $(RAGEL) -G2 $< + $(BASERUBY) -pli -e '$$_.sub!(/[ \t]+$$/, "")' \ + -e '$$_.sub!(/^static const int (JSON_.*=.*);$$/, "enum {\\1};")' $@ + +parser.c: Property changes on: ext/json/parser/prereq.mk ___________________________________________________________________ Added: svn:eol-style + LF -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/