1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-20 11:27:06 +00:00
This commit is contained in:
fubuki8087
2023-10-01 05:31:05 +08:00
committed by GitHub
parent 67f6df37be
commit b40b4267ab

View File

@@ -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. // 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 { func (l *Lexer) readIdentifierFuncArgument() string {
pos := l.pos pos := l.pos
for resolveTokenType(l.ch) != token.RPAREN { for resolveTokenType(l.ch) != token.RPAREN && l.ch != 0 {
l.readChar() l.readChar()
} }