1
1
mirror of https://github.com/tweag/nickel.git synced 2024-11-10 10:46:49 +03:00

Fix lone # error in multline strings

This commit is contained in:
Yann Hamdaoui 2020-12-01 11:02:27 +01:00
parent 77a3188e50
commit cfc958cb36

View File

@ -278,7 +278,7 @@ pub enum MultiStringToken<'input> {
#[regex("\"#+m")]
CandidateEnd(&'input str),
// Same as `FalseEnd` and `CandidateEnd` but for an interpolation sequence.
#[token("#+")]
#[regex("#+")]
FalseInterpolation(&'input str),
#[regex("#+\\{")]
CandidateInterpolation(&'input str),