Hello !  

I have a modification on the parser.y for my own purposes and it was been
parsed till the introduction of " /*A-overwrites-S*/" and it seems that
something is wrong on parser.y see bellow, after the SELECT specification the
" /*A-overwrites-S*/" is wrapped by "#if SELECTTRACE_ENABLED" that is not
enabled in my build but the " /*A-overwrites-S*/" still seem to be active,
even if I move the " /*A-overwrites-S*/" after the usage of " if(@S ==
TK_XSELECT)" I still get the same error.  

parse.y:495: Label S used after '/*A-overwrites-S*/'.  

How to get this to be parsed again ?  

Cheers !  

multiselect_op(A) ::= EXCEPT|INTERSECT(OP).? {A = @OP; /*A-overwrites-OP*/}
%endif SQLITE_OMIT_COMPOUND_SELECT
oneselect(A) ::= SELECT|XSELECT(S) distinct(D) selcollist(W) from(X)
where_opt(Y)
???????????????? groupby_opt(P) having_opt(Q) orderby_opt(Z)
limit_opt(L). {
#if SELECTTRACE_ENABLED? ///<<< this seems to intend to disable
/*A-overwrites-S*/ but it doesn't !!!!!
? Token s = S; /*A-overwrites-S*/
#endif
? A = sqlite3SelectNew(pParse,W,X,Y,P,Q,Z,D,L.pLimit,L.pOffset);
? if(@S == TK_XSELECT) A->selFlags |= SF_NOFlattening;

#if SELECTTRACE_ENABLED

Reply via email to