Skip to content
Discussion options

You must be logged in to vote

Hi Divye,

thanks for writing in such a clear way that I don't have to guess what you are trying to achieve and what the issues are.

Now regarding the issue, the short answer is: It's possible, but requires the implementation of custom parsing rules:

  • Add the vector of delimiters to the states, the additional arguments to a parsing run that are passed around to all parsing rules and actions; works either as an additional argument or as an additional data member of an existing one (or for initial testing a global variable).
  • Write a custom parsing rule that uses the vector of delimiters from the states to determine which characters it matches; grep for static bool match in the examples direc…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by d-frey
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #12 on December 09, 2020 11:04.