diff options
author | drh <drh@noemail.net> | 2009-05-11 18:22:30 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2009-05-11 18:22:30 +0000 |
commit | aaac8b4e1bcd9d7e61d30ceb2ff0169c9e11a951 (patch) | |
tree | b54e1aae567d0e7d076ccc3718d472c39c1eaa45 /src | |
parent | 782b873bf5abe22b9fa2ebc39219bac515021e1a (diff) | |
download | sqlite-aaac8b4e1bcd9d7e61d30ceb2ff0169c9e11a951.tar.gz sqlite-aaac8b4e1bcd9d7e61d30ceb2ff0169c9e11a951.zip |
Enhance the parser to allow nested parentheses in the module argument of
a CREATE VIRTUAL TABLE statement. (CVS 6625)
FossilOrigin-Name: 93772bd7f56a5158eb46a992ba932f4695cb219f
Diffstat (limited to 'src')
-rw-r--r-- | src/parse.y | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/parse.y b/src/parse.y index 26017bdcb..43124abb4 100644 --- a/src/parse.y +++ b/src/parse.y @@ -14,7 +14,7 @@ ** the parser. Lemon will also generate a header file containing ** numeric codes for all of the tokens. ** -** @(#) $Id: parse.y,v 1.275 2009/05/01 21:13:37 drh Exp $ +** @(#) $Id: parse.y,v 1.276 2009/05/11 18:22:31 drh Exp $ */ // All token codes are small integers with #defines that begin with "TK_" @@ -1201,5 +1201,6 @@ vtabargtoken ::= ANY(X). {sqlite3VtabArgExtend(pParse,&X);} vtabargtoken ::= lp anylist RP(X). {sqlite3VtabArgExtend(pParse,&X);} lp ::= LP(X). {sqlite3VtabArgExtend(pParse,&X);} anylist ::= . -anylist ::= anylist ANY(X). {sqlite3VtabArgExtend(pParse,&X);} +anylist ::= anylist LP anylist RP. +anylist ::= anylist ANY. %endif SQLITE_OMIT_VIRTUALTABLE |