You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my grammar, I try to add support of whitespace ...
combinator = '>' | '~' | plus | S;
The grammar generate a parser, but the generated parser compiles with error:
Use of undeclared identifier 'TOKEN_KIND_BUILTIN_S'; did you mean 'TOKEN_KIND_BUILTIN_EOF'?
No visible @interface for 'CSSSelectorParser' declares the selector 'matchS:'
I noticed the whitespace token is TOKEN_KIND_BUILTIN_WHITESPACE and matchWhitespace:, so I try to write grammar like this:
combinator = '>' | '~' | plus | Whitespace;
This is not a valid grammar however. Can you advice how I can properly use whitespace? Thanks a lot.
The text was updated successfully, but these errors were encountered:
siuying
added a commit
to siuying/CSSSelectorConverter
that referenced
this issue
Jan 20, 2014
In my grammar, I try to add support of whitespace ...
The grammar generate a parser, but the generated parser compiles with error:
I noticed the whitespace token is TOKEN_KIND_BUILTIN_WHITESPACE and matchWhitespace:, so I try to write grammar like this:
This is not a valid grammar however. Can you advice how I can properly use whitespace? Thanks a lot.
The text was updated successfully, but these errors were encountered: