diff options
author | Nadrieril | 2019-04-04 22:32:04 +0200 |
---|---|---|
committer | Nadrieril | 2019-04-04 22:32:04 +0200 |
commit | af968c9e72ef5c2ea1ee965776879d9c903bd1aa (patch) | |
tree | 5d10318c5e1df7e90011f3e2acfcdf0ac5bc6755 /dhall_core/src | |
parent | e7a58d09748bd333f755a06090f378e31dc6617a (diff) |
Revert end_of_line handling to upstream
Diffstat (limited to 'dhall_core/src')
-rw-r--r-- | dhall_core/src/parser.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/dhall_core/src/parser.rs b/dhall_core/src/parser.rs index c569918..b0d80c0 100644 --- a/dhall_core/src/parser.rs +++ b/dhall_core/src/parser.rs @@ -331,10 +331,8 @@ make_parser! { captured_str!(s) => s ); - token_rule!(end_of_line<()>); - rule!(single_quote_literal<ParsedText>; children!( - [end_of_line(eol), single_quote_continue(lines)] => { + [single_quote_continue(lines)] => { let space = InterpolatedTextContents::Text(" ".to_owned()); let newline = InterpolatedTextContents::Text("\n".to_owned()); let min_indent = lines |