mirror of
https://github.com/kataras/iris.git
synced 2025-01-23 02:31:04 +01:00
parent
67f6df37be
commit
b40b4267ab
|
@ -129,7 +129,7 @@ func (l *Lexer) NextDynamicToken() (t token.Token) {
|
|||
// used to skip any illegal token if inside parenthesis, used to be able to set custom regexp inside a func.
|
||||
func (l *Lexer) readIdentifierFuncArgument() string {
|
||||
pos := l.pos
|
||||
for resolveTokenType(l.ch) != token.RPAREN {
|
||||
for resolveTokenType(l.ch) != token.RPAREN && l.ch != 0 {
|
||||
l.readChar()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user