Skip to content

Commit 6a878c6

Browse files
authored
allow periods in filenames with SQL INCLUDE
1 parent 5d7d89c commit 6a878c6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ocesql/scanner.l

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ yyinput (char *buf, int max_size);
7575
JPNWORD [\xA0-\xDF]|([\x81-\x9F\xE0-\xFC][\x40-\x7E\x80-\xFC])
7676
DIGIT [0-9]
7777
WORD ([A-Za-z\+\-0-9_]|[(]|[)]|[\'])
78-
INCFILE [A-Za-z0-9_\+\-]+
7978
FILENAME [A-Za-z0-9_\+\-\.]+
8079
STRVALUE ("\""[^\"]*"\""|"\'"[^\']*"\'")
8180
HEXVALUE "X"("\""[^\"]+"\""|"\'"[^\']+"\'")
@@ -513,7 +512,7 @@ INT_CONSTANT {digit}+
513512
yy_pop_state();
514513
return END_EXEC;
515514
}
516-
{INCFILE} {
515+
{FILENAME} {
517516
memset(commandname,0,sizeof(commandname));
518517
com_strcpy(commandname,sizeof(commandname),"INCFILE");
519518
yylval.s = com_strdup (yytext);

0 commit comments

Comments
 (0)