summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2011-10-30 07:02:13 +0100
committerLionel Elie Mamane <lionel@mamane.lu>2011-10-30 12:39:36 +0100
commit2053a71686b3a3266de2ec0199896a120874396d (patch)
tree80079c919d462858eb67f1557c4041310111282c /connectivity
parentfbf27dc44ceb4dbeb7a5b320e8d2f65cd72dd985 (diff)
8.5 is not an integer, but an approxnum
Diffstat (limited to 'connectivity')
-rwxr-xr-xconnectivity/source/parse/sqlflex.l6
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; }