cleanup sqlflex and sqlbison options

Change-Id: I3f01636ef861828fdbe87e4057b6dc293ca63576
This commit is contained in:
Peter Foley
2013-03-15 21:08:18 -04:00
parent 1b18d38fc2
commit b659d7c33f
3 changed files with 8 additions and 9 deletions

View File

@@ -66,8 +66,6 @@ $(eval $(call gb_Library_use_libraries,dbtools,\
)) ))
endif endif
#connectivity/source/commontools/RowFunctionParser.cxx disable optimization?
$(eval $(call gb_Library_add_noexception_objects,dbtools,\ $(eval $(call gb_Library_add_noexception_objects,dbtools,\
connectivity/source/simpledbt/refbase \ connectivity/source/simpledbt/refbase \
)) ))
@@ -76,16 +74,10 @@ $(eval $(call gb_Library_add_grammars,dbtools,\
connectivity/source/parse/sqlbison \ connectivity/source/parse/sqlbison \
)) ))
$(call gb_YaccTarget_get_target,connectivity/source/parse/sqlbison) : T_YACCFLAGS := -d -l -pSQLyy -bsql
$(eval $(call gb_Library_add_scanners,dbtools,\ $(eval $(call gb_Library_add_scanners,dbtools,\
connectivity/source/parse/sqlflex \ connectivity/source/parse/sqlflex \
)) ))
$(call gb_LexTarget_get_scanner_target,connectivity/source/parse/sqlflex) : T_LEXFLAGS := -i -8 -PSQLyy -L
$(eval $(call gb_Library_add_exception_objects,dbtools,\ $(eval $(call gb_Library_add_exception_objects,dbtools,\
connectivity/source/commontools/AutoRetrievingBase \ connectivity/source/commontools/AutoRetrievingBase \
connectivity/source/commontools/BlobHelper \ connectivity/source/commontools/BlobHelper \

View File

@@ -1,4 +1,8 @@
%token-table %token-table
%defines
%no-lines
%define api.prefix SQLyy
%file-prefix "sql"
%{ %{
/* /*
* This file is part of the LibreOffice project. * This file is part of the LibreOffice project.

View File

@@ -1,3 +1,6 @@
%option case-insensitive
%option 8bit
%option prefix="SQLyy"
%{ %{
// //