Cycript.l: Cycript.l.in UnicodeIDStart.l UnicodeIDContinue.l
$(srcdir)/Filter.sh $< >$@ $(filters)
lex.cy.cpp: Cycript.l
- $(FLEX) -o $@ $<
+ $(FLEX) -o $@ -T $< 2>lex.output || (grep -F '$<:' lex.output; false)
grep -F 'No backing up.' lex.backup >/dev/null
+ ! grep -F ': warning, ' lex.output || true
Console.$(OBJEXT) Cycript.tab.lo Driver.lo Handler.lo Highlight.lo Library.lo lex.cy.lo: Cycript.tab.hh
Cycript.tab.cc Cycript.tab.hh stack.hh Cycript.output: Cycript.yy
$(BISON) -v --report=state -Werror $<
! grep -n '^State [0-9]* conflicts:' Cycript.output
- ! grep -n '^ *$$default reduce using rule [0-9]* (Lex[A-Z][^)]*)$$' Cycript.output -B 2 | grep 'shift, and go to state [0-9]*$$'
- ! grep -n '^ *$$default reduce using rule [0-9]* (Lex[A-Z][^)]*)$$' Cycript.output -B 2 | grep -v '$$default' | grep 'reduce using rule [0-9]* ([^)]*)$$'
+ ! grep -n '^ *$$default *reduce using rule [0-9]* (Lex[A-Z][^)]*)$$' Cycript.output -B 2 | grep 'shift, and go to state [0-9]*$$'
+ ! grep -n '^ *$$default *reduce using rule [0-9]* (Lex[A-Z][^)]*)$$' Cycript.output -B 2 | grep -v '$$default' | grep 'reduce using rule [0-9]* ([^)]*)$$'
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.