mirror of
https://github.com/kataras/iris.git
synced 2025-12-20 03:17:04 +00:00
@@ -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()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user