X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=userv.git;a=blobdiff_plain;f=parser.c;h=5157f39819a6771333ebd0bff67b768cef187273;hp=e063bf9b3a983a50d8a7a31c83bf404c02aed399;hb=93dc755251df6490871f5b719d62d7f3ddfced32;hpb=056b51087c4f7d9b9489a547fadcd51e3c944d8e diff --git a/parser.c b/parser.c index e063bf9..5157f39 100644 --- 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. * - * 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 @@ -422,7 +422,7 @@ static int skip(int allowce) { 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) {