Skip to content

Conversation

@wconrad
Copy link
Contributor

@wconrad wconrad commented Jun 27, 2014

This patch adds to the documentation a warning about the unintended consequences of "whitespace recursion."

@jarhart
Copy link
Owner

jarhart commented Jul 29, 2014

Heh, I never even considered that. Good catch.

I would recommend defining whitespace rules as fragments or after the close of a %whitespace block, rather than before the %whitespace directive. My thinking is that whitespace is usually the least interesting part of a language and therefore should be at the bottom of the grammar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants