Skip to content
This repository has been archived by the owner on May 13, 2019. It is now read-only.

Lexer: avoid writing 4 rules for the same action because closing tag is different. #19

Open
sagotch opened this issue Jun 4, 2014 · 0 comments

Comments

@sagotch
Copy link
Owner

sagotch commented Jun 4, 2014

From menhir list:

rule param closing_keyword = parse
| keyword as kw ->
  { if kw = closing_keyword then DONE else main closing_keyword lexbuf }
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant