mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-11-24 08:46:41 +08:00
Handle sql queries where a double constant value has a trailing .
with no extra digits, e.g. "my_double_col" = 123.
This commit is contained in:
committed by
Evan Miller
parent
036f9b95c6
commit
4c61f2d49b
@@ -113,7 +113,7 @@ strptime\( { return STRPTIME; }
|
||||
return STRING;
|
||||
}
|
||||
|
||||
(-?[0-9]+|(-?[0-9]*\.[0-9]+)(e[-+]?[0-9]+)?) {
|
||||
(-?[0-9]+|(-?[0-9]*\.[0-9]*)(e[-+]?[0-9]+)?) {
|
||||
yylval->name = g_strdup(yytext); return NUMBER;
|
||||
}
|
||||
~?(\/?[a-z0-9\.\-\_\!\~\'\(\)\%\xa0-\xff]+)+ {
|
||||
|
||||
Reference in New Issue
Block a user