Skip to content
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

Adds space around operators in ternary expressions #14

Merged
merged 1 commit into from
Sep 17, 2015

Conversation

dobbymoodge
Copy link

Some syntax-highlighting parsers (emacs ruby-mode, github, pry, etc.)
don't handle this construct well: ((expr)?'a':'b') and barf up the
rest of the file highlighting as a result.

Some syntax-highlighting parsers (emacs ruby-mode, github, pry, etc.)
don't handle this construct well: `((expr)?'a':'b')` and barf up the
rest of the file highlighting as a result.
dobbymoodge added a commit that referenced this pull request Sep 17, 2015
…nistic_parsers

Adds space around operators in ternary expressions
@dobbymoodge dobbymoodge merged commit a8060be into master Sep 17, 2015
@roidelapluie
Copy link
Member

👍

@dobbymoodge dobbymoodge deleted the accomodate_crappy_non-deterministic_parsers branch February 7, 2017 20:03
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