diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2011-10-30 07:02:13 +0100 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2011-10-30 12:39:36 +0100 |
commit | 2053a71686b3a3266de2ec0199896a120874396d (patch) | |
tree | 80079c919d462858eb67f1557c4041310111282c /connectivity/source/parse | |
parent | Reorganise code for more clarity; no behaviour change (diff) | |
download | core-2053a71686b3a3266de2ec0199896a120874396d.tar.gz core-2053a71686b3a3266de2ec0199896a120874396d.zip |
8.5 is not an integer, but an approxnum
Diffstat (limited to 'connectivity/source/parse')
-rwxr-xr-x | connectivity/source/parse/sqlflex.l | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/connectivity/source/parse/sqlflex.l b/connectivity/source/parse/sqlflex.l index 45485fd1f370..d5166c783ac2 100755 --- a/connectivity/source/parse/sqlflex.l +++ b/connectivity/source/parse/sqlflex.l @@ -435,10 +435,10 @@ ZONE {SQL_NEW_KEYWORD(SQL_TOKEN_ZONE); } <SQL>[A-Za-z\200-\277\300-\337\340-\357\360-\367\370-\373\374-\375][A-Za-z\200-\277\300-\337\340-\357\360-\367\370-\373\374-\375_0-9]* {return gatherName( SQLyytext);} -<SQL>([0-9]+) | -<SQL>([0-9]+"."[0-9]*) | -<SQL>("."[0-9]*) {SQL_NEW_INTNUM; } +<SQL>([0-9]+) {SQL_NEW_INTNUM; } +<SQL>("."[0-9]*) | +<SQL>([0-9]+"."[0-9]*) | <SQL>[0-9]+[eE][+-]?[0-9]+ | <SQL>[0-9]+"."[0-9]*[eE][+-]?[0-9]+ | <SQL>"."[0-9]*[eE][+-]?[0-9]+ {SQL_NEW_APPROXNUM; } |