Browse files

Generate PARSER_SRC from PARSER_GRAMMAR

  • Loading branch information...
1 parent 125757d commit 43b92ed6426ee85d86ffeb4f0449f016793dea49 Tony Arcieri committed Jul 19, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 Rakefile
View
2 Rakefile
@@ -87,7 +87,7 @@ end
#
PARSER_GRAMMAR = 'src/compiler/reia_parse.peg'
-PARSER_SRC = 'src/compiler/reia_parse.erl'
+PARSER_SRC = PARSER_GRAMMAR.sub(/peg$/, 'erl')
CLEAN << PARSER_SRC

0 comments on commit 43b92ed

Please sign in to comment.