summaryrefslogtreecommitdiff
path: root/src/sys/np/core/np_lex.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/np/core/np_lex.c')
-rw-r--r--src/sys/np/core/np_lex.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sys/np/core/np_lex.c b/src/sys/np/core/np_lex.c
index ca1d065..5ddb442 100644
--- a/src/sys/np/core/np_lex.c
+++ b/src/sys/np/core/np_lex.c
@@ -179,11 +179,10 @@ lex_nom(struct np_work *work, struct lex_token *res)
}
error = lex_matchstr(work, c, res);
- if (error == 0 || error < 0) {
+ if (error == 0) {
break;
}
- pr_error("got bad token '%c'\n", c);
error = -1;
break;
}