From abd8ad3998a28608095bf5b8488b1700d182481a Mon Sep 17 00:00:00 2001 From: ccremers Date: Fri, 21 May 2004 19:31:42 +0000 Subject: [PATCH] - Still two flags missing for complete scanner/parser support. BUILT_SOURCES was necessary to have the dependencies right. --- src/Makefile.am | 2 ++ src/main.c | 2 +- src/scanner.l | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 4493628..6b5dece 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,6 +1,8 @@ CC = @CC@ VERSION = @VERSION@ AM_CFLAGS = @CFLAGS@ +YFLAGS = -d +BUILT_SOURCES = parser.h bin_PROGRAMS = scyther scyther_SOURCES = main.c \ diff --git a/src/main.c b/src/main.c index dd344a7..d514176 100644 --- a/src/main.c +++ b/src/main.c @@ -36,7 +36,7 @@ #include "symbols.h" #include "pheading.h" #include "symbols.h" -#include "y.tab.h" +#include "parser.h" #include "tac.h" #include "compiler.h" #include "latex.h" diff --git a/src/scanner.l b/src/scanner.l index e50f081..7770c52 100644 --- a/src/scanner.l +++ b/src/scanner.l @@ -9,7 +9,7 @@ #include "tac.h" /* tokens for language */ -#include "y.tab.h" +#include "parser.h" void mkname(char *name); void mkval(void);