We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93c7ddf commit 20265a0Copy full SHA for 20265a0
1 file changed
parse/lex.go
@@ -246,10 +246,6 @@ func lexSubstitution(l *lexer) stateFn {
246
l.subsDepth--
247
l.emit(itemRightDelim)
248
return lexText
249
- case r == eof || isEndOfLine(r):
250
- return l.errorf("closing brace expected")
251
- case isAlphaNumeric(r) && strings.HasPrefix(l.input[l.lastPos:], "${"):
252
- fallthrough
253
case r == '$':
254
return lexVariable
255
default:
0 commit comments