From 2053a71686b3a3266de2ec0199896a120874396d Mon Sep 17 00:00:00 2001 From: Lionel Elie Mamane Date: Sun, 30 Oct 2011 07:02:13 +0100 Subject: 8.5 is not an integer, but an approxnum --- connectivity/source/parse/sqlflex.l | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'connectivity') 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); } [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);} -([0-9]+) | -([0-9]+"."[0-9]*) | -("."[0-9]*) {SQL_NEW_INTNUM; } +([0-9]+) {SQL_NEW_INTNUM; } +("."[0-9]*) | +([0-9]+"."[0-9]*) | [0-9]+[eE][+-]?[0-9]+ | [0-9]+"."[0-9]*[eE][+-]?[0-9]+ | "."[0-9]*[eE][+-]?[0-9]+ {SQL_NEW_APPROXNUM; } -- cgit