-/* $OpenBSD: parse.y,v 1.10 2010/07/22 17:16:45 jsg Exp $ */
+/* $OpenBSD: parse.y,v 1.11 2010/08/03 18:42:40 henning Exp $ */
/* $vantronix: parse.y,v 1.22 2010/06/03 11:08:34 reyk Exp $ */
/*
return (0);
if (next == quotec || c == ' ' || c == '\t')
c = next;
- else if (next == '\n')
+ else if (next == '\n') {
+ file->lineno++;
continue;
- else
+ } else
lungetc(next);
} else if (c == quotec) {
*p = '\0';
-/* $OpenBSD: parse.y,v 1.147 2010/05/10 02:00:50 krw Exp $ */
+/* $OpenBSD: parse.y,v 1.148 2010/08/03 18:42:40 henning Exp $ */
/*
* Copyright (c) 2002, 2003, 2004 Henning Brauer <henning@openbsd.org>
return (0);
if (next == quotec || c == ' ' || c == '\t')
c = next;
- else if (next == '\n')
+ else if (next == '\n') {
+ file->lineno++;
continue;
- else
+ } else
lungetc(next);
} else if (c == quotec) {
*p = '\0';
-/* $OpenBSD: parse.y,v 1.590 2010/07/03 02:28:57 mcbride Exp $ */
+/* $OpenBSD: parse.y,v 1.591 2010/08/03 18:42:40 henning Exp $ */
/*
* Copyright (c) 2001 Markus Friedl. All rights reserved.
return (0);
if (next == quotec || c == ' ' || c == '\t')
c = next;
- else if (next == '\n')
+ else if (next == '\n') {
+ file->lineno++;
continue;
- else
+ } else
lungetc(next);
} else if (c == quotec) {
*p = '\0';
-/* $OpenBSD: parse.y,v 1.256 2010/06/27 19:53:34 claudio Exp $ */
+/* $OpenBSD: parse.y,v 1.257 2010/08/03 18:42:40 henning Exp $ */
/*
* Copyright (c) 2002, 2003, 2004 Henning Brauer <henning@openbsd.org>
return (0);
if (next == quotec || c == ' ' || c == '\t')
c = next;
- else if (next == '\n')
+ else if (next == '\n') {
+ file->lineno++;
continue;
- else
+ } else
lungetc(next);
} else if (c == quotec) {
*p = '\0';
-/* $OpenBSD: parse.y,v 1.6 2009/03/31 21:03:48 tobias Exp $ */
+/* $OpenBSD: parse.y,v 1.7 2010/08/03 18:42:40 henning Exp $ */
/*
* Copyright (c) 2008 Uwe Stuehler <uwe@openbsd.org>
return (0);
if (next == quotec || c == ' ' || c == '\t')
c = next;
- else if (next == '\n')
+ else if (next == '\n') {
+ file->lineno++;
continue;
- else
+ } else
lungetc(next);
} else if (c == quotec) {
*p = '\0';
-/* $OpenBSD: parse.y,v 1.2 2008/11/25 17:13:53 uwe Exp $ */
+/* $OpenBSD: parse.y,v 1.3 2010/08/03 18:42:40 henning Exp $ */
/*
* Copyright (c) 2008 Uwe Stuehler <uwe@openbsd.org>
return (0);
if (next == quotec || c == ' ' || c == '\t')
c = next;
- else if (next == '\n')
+ else if (next == '\n') {
+ file->lineno++;
continue;
- else
+ } else
lungetc(next);
} else if (c == quotec) {
*p = '\0';
-/* $OpenBSD: parse.y,v 1.20 2009/09/04 13:11:45 claudio Exp $ */
+/* $OpenBSD: parse.y,v 1.21 2010/08/03 18:42:40 henning Exp $ */
/*
* Copyright (c) 2004, 2005, 2006 Esben Norby <norby@openbsd.org>
return (0);
if (next == quotec || c == ' ' || c == '\t')
c = next;
- else if (next == '\n')
+ else if (next == '\n') {
+ file->lineno++;
continue;
- else
+ } else
lungetc(next);
} else if (c == quotec) {
*p = '\0';
-/* $OpenBSD: parse.y,v 1.42 2010/01/11 03:55:21 deraadt Exp $ */
+/* $OpenBSD: parse.y,v 1.43 2010/08/03 18:42:40 henning Exp $ */
/*
* Copyright (c) 2004, 2005, 2006 Reyk Floeter <reyk@openbsd.org>
return (0);
if (next == quotec || c == ' ' || c == '\t')
c = next;
- else if (next == '\n')
+ else if (next == '\n') {
+ file->lineno++;
continue;
- else
+ } else
lungetc(next);
} else if (c == quotec) {
*p = '\0';
-/* $OpenBSD: parse.y,v 1.29 2009/03/31 21:03:48 tobias Exp $ */
+/* $OpenBSD: parse.y,v 1.30 2010/08/03 18:42:40 henning Exp $ */
/*
* Copyright (c) 2004 Ryan McBride <mcbride@openbsd.org>
return (0);
if (next == quotec || c == ' ' || c == '\t')
c = next;
- else if (next == '\n')
+ else if (next == '\n') {
+ file->lineno++;
continue;
- else
+ } else
lungetc(next);
} else if (c == quotec) {
*p = '\0';
-/* $OpenBSD: parse.y,v 1.8 2010/06/30 22:16:53 martinh Exp $ */
+/* $OpenBSD: parse.y,v 1.9 2010/08/03 18:42:40 henning Exp $ */
/*
* Copyright (c) 2009, 2010 Martin Hedenfalk <martinh@openbsd.org>
return (0);
if (next == quotec || c == ' ' || c == '\t')
c = next;
- else if (next == '\n')
+ else if (next == '\n') {
+ file->lineno++;
continue;
- else
+ } else
lungetc(next);
} else if (c == quotec) {
*p = '\0';
-/* $OpenBSD: parse.y,v 1.5 2010/06/21 19:41:44 claudio Exp $ */
+/* $OpenBSD: parse.y,v 1.6 2010/08/03 18:42:40 henning Exp $ */
/*
* Copyright (c) 2004, 2005, 2008 Esben Norby <norby@openbsd.org>
return (0);
if (next == quotec || c == ' ' || c == '\t')
c = next;
- else if (next == '\n')
+ else if (next == '\n') {
+ file->lineno++;
continue;
- else
+ } else
lungetc(next);
} else if (c == quotec) {
*p = '\0';
-/* $OpenBSD: parse.y,v 1.46 2009/03/31 21:03:48 tobias Exp $ */
+/* $OpenBSD: parse.y,v 1.47 2010/08/03 18:42:40 henning Exp $ */
/*
* Copyright (c) 2002, 2003, 2004 Henning Brauer <henning@openbsd.org>
return (0);
if (next == quotec || c == ' ' || c == '\t')
c = next;
- else if (next == '\n')
+ else if (next == '\n') {
+ file->lineno++;
continue;
- else
+ } else
lungetc(next);
} else if (c == quotec) {
*p = '\0';
-/* $OpenBSD: parse.y,v 1.17 2010/07/01 19:47:04 bluhm Exp $ */
+/* $OpenBSD: parse.y,v 1.18 2010/08/03 18:42:41 henning Exp $ */
/*
* Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org>
return (0);
if (next == quotec || c == ' ' || c == '\t')
c = next;
- else if (next == '\n')
+ else if (next == '\n') {
+ file->lineno++;
continue;
- else
+ } else
lungetc(next);
} else if (c == quotec) {
*p = '\0';
-/* $OpenBSD: parse.y,v 1.71 2010/03/24 07:18:39 gollo Exp $ */
+/* $OpenBSD: parse.y,v 1.72 2010/08/03 18:42:41 henning Exp $ */
/*
* Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org>
return (0);
if (next == quotec || c == ' ' || c == '\t')
c = next;
- else if (next == '\n')
+ else if (next == '\n') {
+ file->lineno++;
continue;
- else
+ } else
lungetc(next);
} else if (c == quotec) {
*p = '\0';
-/* $OpenBSD: parse.y,v 1.144 2010/08/01 22:18:35 sthen Exp $ */
+/* $OpenBSD: parse.y,v 1.145 2010/08/03 18:42:41 henning Exp $ */
/*
* Copyright (c) 2007, 2008 Reyk Floeter <reyk@openbsd.org>
return (0);
if (next == quotec || c == ' ' || c == '\t')
c = next;
- else if (next == '\n')
+ else if (next == '\n') {
+ file->lineno++;
continue;
- else
+ } else
lungetc(next);
} else if (c == quotec) {
*p = '\0';
-/* $OpenBSD: parse.y,v 1.27 2009/09/26 18:24:58 michele Exp $ */
+/* $OpenBSD: parse.y,v 1.28 2010/08/03 18:42:41 henning Exp $ */
/*
* Copyright (c) 2006 Michele Marchetto <mydecay@openbeer.it>
return (0);
if (next == quotec || c == ' ' || c == '\t')
c = next;
- else if (next == '\n')
+ else if (next == '\n') {
+ file->lineno++;
continue;
- else
+ } else
lungetc(next);
} else if (c == quotec) {
*p = '\0';
-/* $OpenBSD: parse.y,v 1.63 2010/06/10 19:34:51 chl Exp $ */
+/* $OpenBSD: parse.y,v 1.64 2010/08/03 18:42:41 henning Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
return (0);
if (next == quotec || c == ' ' || c == '\t')
c = next;
- else if (next == '\n')
+ else if (next == '\n') {
+ file->lineno++;
continue;
- else
+ } else
lungetc(next);
} else if (c == quotec) {
*p = '\0';
-/* $OpenBSD: parse.y,v 1.17 2009/03/31 21:03:49 tobias Exp $ */
+/* $OpenBSD: parse.y,v 1.18 2010/08/03 18:42:41 henning Exp $ */
/*
* Copyright (c) 2007, 2008 Reyk Floeter <reyk@vantronix.net>
return (0);
if (next == quotec || c == ' ' || c == '\t')
c = next;
- else if (next == '\n')
+ else if (next == '\n') {
+ file->lineno++;
continue;
- else
+ } else
lungetc(next);
} else if (c == quotec) {
*p = '\0';
-/* $OpenBSD: parse.y,v 1.8 2009/03/31 21:03:49 tobias Exp $ */
+/* $OpenBSD: parse.y,v 1.9 2010/08/03 18:42:41 henning Exp $ */
/*
* Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org>
return (0);
if (next == quotec || c == ' ' || c == '\t')
c = next;
- else if (next == '\n')
+ else if (next == '\n') {
+ file->lineno++;
continue;
- else
+ } else
lungetc(next);
} else if (c == quotec) {
*p = '\0';