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

Import: Slim Lexer: Fix multiline ruby code #7

Merged
merged 1 commit into from
May 11, 2019
Merged

Import: Slim Lexer: Fix multiline ruby code #7

merged 1 commit into from
May 11, 2019

Conversation

pyrmont
Copy link
Owner

@pyrmont pyrmont commented May 11, 2019

This imports jneen#1094.

This change fixes lexing of multiline string using `\` at the end of the line.

Example:

```
= render( \
    partial: 'foo',
    locals: { \
      foo: :bar,
    },
  )
```
@pyrmont pyrmont merged commit eef4a24 into pyrmont:moulin May 11, 2019
@pyrmont pyrmont changed the title Import: Slim Lexer: Fix multiline ruby code #1094 Import: Slim Lexer: Fix multiline ruby code May 12, 2019
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