Skip to content

Commit

Permalink
Move parser scripts to tool.
Browse files Browse the repository at this point in the history
  • Loading branch information
headius committed Jan 15, 2016
1 parent 2398cec commit d3f90ac
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/generate_parser → tool/generate_parser
Expand Up @@ -47,8 +47,8 @@ $JAY $DEBUG_FLAG $PARSER_BASE.y < skeleton.parser | grep -v $DEBUG_STRIP >$PARSE

# Patch file to get around Java static initialization issues plus extract
# a bunch of stuff to seperate file (yytables).
$RUBY ../../../../../../../bin/patch_parser.rb $PARSER_BASE.out $YYTABLE_PREFIX > $PARSER_BASE.out2
$RUBY ../../../../../../../bin/optimize_parser.rb $PARSER_BASE.out2 $YYTABLE_PREFIX > $PARSER_BASE.java
$RUBY ../../../../../../../tool/patch_parser.rb $PARSER_BASE.out $YYTABLE_PREFIX > $PARSER_BASE.out2
$RUBY ../../../../../../../tool/optimize_parser.rb $PARSER_BASE.out2 $YYTABLE_PREFIX > $PARSER_BASE.java
rm -f $PARSER_BASE.out $PARSER_BASE.out2

popd
File renamed without changes.
File renamed without changes.

0 comments on commit d3f90ac

Please sign in to comment.