From: Siraaj Khandkar Date: Thu, 31 May 2018 17:09:09 +0000 (-0400) Subject: Output ocamlyacc state table X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=4309a757776e6528be720605fe04442ae46c39b8;p=tiger.ml.git Output ocamlyacc state table for debugging conflicts --- diff --git a/tiger/Makefile b/tiger/Makefile index 19b6661..24696cd 100644 --- a/tiger/Makefile +++ b/tiger/Makefile @@ -4,11 +4,13 @@ EXE_TYPE := byte # byte | native EXECUTABLES := tigerc tiger_tests OCAMLBUILD_FLAGS_DIRS := -I src/exe -I src/lib/tiger OCAMLBUILD_FLAGS_COMP := -cflags '-w A' +OCAMLBUILD_FLAGS_YACC := -yaccflag '-v' OCAMLBUILD := \ ocamlbuild \ -classic-display \ $(OCAMLBUILD_FLAGS_COMP) \ - $(OCAMLBUILD_FLAGS_DIRS) + $(OCAMLBUILD_FLAGS_DIRS) \ + $(OCAMLBUILD_FLAGS_YACC) .PHONY: \ all \