compose/parser: one more skip_to_eol()
Signed-off-by: Ran Benita <ran234@gmail.com>master
parent
a3116f97d0
commit
8bba4b34ec
|
@ -266,9 +266,8 @@ skip_more_whitespace_and_comments:
|
|||
return TOK_RHS_KEYSYM;
|
||||
}
|
||||
|
||||
/* Skip line. */
|
||||
while (!eof(s) && !eol(s))
|
||||
next(s);
|
||||
/* Discard rest of line. */
|
||||
skip_to_eol(s);
|
||||
|
||||
scanner_err(s, "unrecognized token");
|
||||
return TOK_ERROR;
|
||||
|
|
Loading…
Reference in New Issue