mirror of
https://github.com/php/php-src.git
synced 2026-03-26 01:02:25 +01:00
The annotation %empty is properly enforced: warnings when it's missing, and errors when it's inappropriate. Support for %empty was introduced in Bison 3.0. Pass -Wempty-rule to Bison. Closes GH-5134
6 lines
288 B
Makefile
6 lines
288 B
Makefile
$(srcdir)/json_scanner.c: $(srcdir)/json_scanner.re
|
|
@$(RE2C) $(RE2C_FLAGS) -t $(srcdir)/php_json_scanner_defs.h --no-generation-date -bci -o $@ $(srcdir)/json_scanner.re
|
|
|
|
$(srcdir)/json_parser.tab.c: $(srcdir)/json_parser.y
|
|
@$(YACC) $(YFLAGS) --defines -l $(srcdir)/json_parser.y -o $@
|