-
Notifications
You must be signed in to change notification settings - Fork 743
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix escaping/interpolating in string and charlist literals in Elixir …
…lexer (#1308) The Elixir lexer does not properly handle escaping and interpolating in string (`"foo"`) and charlist (`'foo'`) literals. This PR adds general escaping rules for use in strings as well as adding support for escaping and interpolating to charlist literals. It also rationalises the states used for string literals. Examples to confirm correct behaviour have been added to the visual sample.
- Loading branch information
Showing
2 changed files
with
34 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters