浏览代码

Fix default lex/yacc flags

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@33087 15284696-431f-4ddb-bdfa-cd5b030d7da7
Glynn Clements 17 年之前
父节点
当前提交
12b799eade
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 1 1
      include/Make/Compile.make
  2. 2 2
      include/Make/Grass.make

+ 1 - 1
include/Make/Compile.make

@@ -44,7 +44,7 @@ endif
 
 # default parser generation rules, include prefix for files/vars
 %.yy.c: %.l
-	$(LEX) $(LFLAGS) $< > $@
+	$(LEX) $(LFLAGS) -t $< > $@
 
 %.output %.tab.h %.tab.c: %.y
 	$(YACC) -b$* $(YFLAGS) $<

+ 2 - 2
include/Make/Grass.make

@@ -74,10 +74,10 @@ ifdef MINGW
 endif
 
 # lexical analyzer and default options
-LFLAGS      = -d -i -s -t
+LFLAGS      = -s
 
 # parser generator and default options
-YFLAGS      = -d -v -t
+YFLAGS      = -d -v
 
 ##################### library names #####################################