]> git.saurik.com Git - cycript.git/blame - backtrack.sh
Massive changes to lexer to get template literals.
[cycript.git] / backtrack.sh
CommitLineData
ee6c04ef 1#!/bin/bash
b900e1a4
JF
2./apple-make.sh build-osx-i386
3echo "backup $(grep -c '^State ' build.osx-i386/lex.backup)"
4echo "states $(grep '^static .* yy_accept\[' build.osx-i386/lex.cy.cpp | sed -e 's/.*\[//;s/].*//') 3528"
5echo "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/ .*//')"