no-context / moo

Optimised tokenizer/lexer generator! 🐄 Uses /y for performance. Moo.
BSD 3-Clause "New" or "Revised" License
814 stars 65 forks source link

Correct states example to use `pop: 1` #140

Closed evanpurkhiser closed 4 years ago

evanpurkhiser commented 4 years ago

The documentation description just before the example states:

  • pop: 1 removes one state from the top of the stack, and moves to that state. (Only 1 is supported.)

Also the typescript types agree it should be 1 not true.

tjvr commented 4 years ago

Thanks!

Sent with GitHawk