]> git.saurik.com Git - cycript.git/blobdiff - backtrack.sh
The grammar and lexer should not share a filename.
[cycript.git] / backtrack.sh
index 20b250faed15888c3fce992af5823ba671166c5b..6ad3f070764b38186d2ef0bcba1fceaf8217fd54 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/bash
 ./apple-make.sh build-osx-i386
 echo "backup $(grep -c '^State ' build.osx-i386/lex.backup)"
-echo "states $(grep '^static .* yy_accept\[' build.osx-i386/lex.cy.cpp | sed -e 's/.*\[//;s/].*//') 3528"
-echo "jammed $(grep -F 'accepts: ['"$(grep 'jammed' build.osx-i386/lex.cy.cpp -B 3 | head -n 1 | sed -e 's/:$//;s/.* //')"']' build.osx-i386/lex.output | sed -e 's/.* # //;s/ .*//')"
+echo "states $(grep '^static .* yy_accept\[' build.osx-i386/Scanner.cpp | sed -e 's/.*\[//;s/].*//') 3528"
+echo "jammed $(grep -F 'accepts: ['"$(grep 'jammed' build.osx-i386/Scanner.cpp -B 3 | head -n 1 | sed -e 's/:$//;s/.* //')"']' build.osx-i386/Scanner.output | sed -e 's/.* # //;s/ .*//')"