- Fixed the lex/yacc problems.

This commit is contained in:
ccremers 2004-05-21 19:18:47 +00:00
parent 894372e9af
commit 6c69baeeb9
3 changed files with 4 additions and 6 deletions

View File

@ -21,12 +21,10 @@ AC_FUNC_REALLOC
AC_CHECK_LIB(argtable2, arg_parse,,AC_MSG_ERROR(Scyther requires the argtable2 package (LGPL). AC_CHECK_LIB(argtable2, arg_parse,,AC_MSG_ERROR(Scyther requires the argtable2 package (LGPL).
Get it from http://argtable.sourceforge.net/)) Get it from http://argtable.sourceforge.net/))
AC_PROG_YACC AC_PROG_YACC
AC_PROG_LEX AM_PROG_LEX
#AC_DECL_YYTEXT
VERSION="0.0.1" VERSION="0.0.1"
AC_SUBST(ac_aux_dir) SUBDIRS=src
SUBDIRS = src
dnl read Makefile.in and write Makefile dnl read Makefile.in and write Makefile
AC_OUTPUT(Makefile src/Makefile) AC_OUTPUT(Makefile src/Makefile)

View File

@ -36,7 +36,7 @@
#include "symbols.h" #include "symbols.h"
#include "pheading.h" #include "pheading.h"
#include "symbols.h" #include "symbols.h"
#include "parser.tab.h" #include "y.tab.h"
#include "tac.h" #include "tac.h"
#include "compiler.h" #include "compiler.h"
#include "latex.h" #include "latex.h"

View File

@ -9,7 +9,7 @@
#include "tac.h" #include "tac.h"
/* tokens for language */ /* tokens for language */
#include "tok.h" #include "y.tab.h"
void mkname(char *name); void mkname(char *name);
void mkval(void); void mkval(void);