Skip to content

Commit 1e4cebe

Browse files
committed
make sure tests are passing
1 parent efd1597 commit 1e4cebe

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

engine/parser/lexer.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -205,13 +205,12 @@ func (l *lexer) lex(instruction []byte) ([]Token, error) {
205205
for l.pos < l.instructionLen {
206206
r = false
207207
for _, m := range matchers {
208-
// fmt.Println("here!", string(l.instruction[l.pos:]))
209208
if r = m(); r {
210209
securityPos = l.pos
211210
break
212211
}
213212
}
214-
fmt.Println("l.tokens", l.tokens)
213+
215214
if r {
216215
continue
217216
}
@@ -333,9 +332,8 @@ func (l *lexer) MatchBooleanToken() bool {
333332
i := l.pos
334333
for i < l.instructionLen &&
335334
(unicode.IsLetter(rune(l.instruction[i])) ||
336-
unicode.IsDigit(rune(l.instruction[i])) ||
337335
l.instruction[i] == '_' ||
338-
l.instruction[i] == '@' /* || l.instruction[i] == '.'*/) {
336+
l.instruction[i] == '@') {
339337
i++
340338
}
341339

0 commit comments

Comments
 (0)