-
-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow the '-' in the expression key parser #999
Conversation
Should |
@mavam I changed the code so '-' is not allowed as the first character any longer. The last commit moves the entire implementation of the parser to the |
auto operand | ||
= parsers::data ->* to_data_operand | ||
= (parsers::data >> !key_char) ->* to_data_operand |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is end-of-input (eoi
) also "not a key char"?
That is, does it work when the operand is either LHS or RHS?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
eoi
is not a char. If data
consumed the last character, key_char
will fail no matter what it is composed of.
7778e6c
to
2becb72
Compare
No description provided.