chiark
/
gitweb
/
~ian
/
userv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changelog WIP
[userv.git]
/
parser.c
diff --git
a/parser.c
b/parser.c
index e063bf9b3a983a50d8a7a31c83bf404c02aed399..5157f39819a6771333ebd0bff67b768cef187273 100644
(file)
--- a/
parser.c
+++ b/
parser.c
@@
-6,7
+6,7
@@
* about m4 quoting &c., but we have to #include it so that the C
* objects from the lexer are available.
*
* about m4 quoting &c., but we have to #include it so that the C
* objects from the lexer are available.
*
- * Copyright (C)1996-1999,2001 Ian Jackson
+ * Copyright (C)1996-1999,2001
,2006,2012
Ian Jackson
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by
@@
-422,7
+422,7
@@
static int skip(int allowce) {
for (;;) { /* loop over lines */
cstate->reportlineno= cstate->lineno;
for (;;) { /* loop over lines */
cstate->reportlineno= cstate->lineno;
- do { token= yylex(); } while (token == tokv_lwsp);
+ do { token= yylex(); } while (token == tokv_lwsp
|| token == tokv_newline
);
if (token & tokt_exception) {
return token;
} else if (token & tokt_controlend) {
if (token & tokt_exception) {
return token;
} else if (token & tokt_controlend) {