diff options
author | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2012-06-13 16:09:25 +0200 |
---|---|---|
committer | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2012-06-13 16:09:25 +0200 |
commit | 874926b2e2b92e5b46e1ece110cac9e40c131baa (patch) | |
tree | 10986a024aeca767198269faf7c1de31de50cf88 /connectivity | |
parent | 5c47001d38af7b61db2089f5b3b8dc97e9f8d891 (diff) |
use commandline parameters instead of bison directives (XCode 2.5)
XCode 2.5 only has ancient bison that doesn't support the %file-prefix,
%name-prefix,... directives. So use the more compatible commandline
arguments (just like before gbuildification of the module)
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/Library_dbtools.mk | 2 | ||||
-rwxr-xr-x | connectivity/source/parse/sqlbison.y | 5 |
2 files changed, 2 insertions, 5 deletions
diff --git a/connectivity/Library_dbtools.mk b/connectivity/Library_dbtools.mk index 55d74c0c0b8c..93539deb6f33 100644 --- a/connectivity/Library_dbtools.mk +++ b/connectivity/Library_dbtools.mk @@ -82,6 +82,8 @@ $(eval $(call gb_Library_add_grammars,dbtools,\ 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,\ connectivity/source/parse/sqlflex \ )) diff --git a/connectivity/source/parse/sqlbison.y b/connectivity/source/parse/sqlbison.y index 87b3f89046c8..2c144e0c2574 100755 --- a/connectivity/source/parse/sqlbison.y +++ b/connectivity/source/parse/sqlbison.y @@ -1,8 +1,3 @@ -%file-prefix="sql" -%name-prefix="SQLyy" -%no-lines -%defines - %{ //-------------------------------------------------------------------------- // |