Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/lex Conditionalize the yyinput/input() function defi...
details: https://anonhg.NetBSD.org/src/rev/b1d1d94efe03
branches: trunk
changeset: 750089:b1d1d94efe03
user: hubertf <hubertf%NetBSD.org@localhost>
date: Tue Dec 15 22:46:04 2009 +0000
description:
Conditionalize the yyinput/input() function definition the same way
as it's always been done in the prototype.
OK christos@
diffstat:
usr.bin/lex/flex.skl | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (24 lines):
diff -r ecb31a18ed5d -r b1d1d94efe03 usr.bin/lex/flex.skl
--- a/usr.bin/lex/flex.skl Tue Dec 15 22:44:25 2009 +0000
+++ b/usr.bin/lex/flex.skl Tue Dec 15 22:46:04 2009 +0000
@@ -1,7 +1,7 @@
/* A lexical scanner generated by flex */
/* Scanner skeleton version:
- * $NetBSD: flex.skl,v 1.24 2009/07/20 21:13:28 christos Exp $
+ * $NetBSD: flex.skl,v 1.25 2009/12/15 22:46:04 hubertf Exp $
*/
#define FLEX_SCANNER
@@ -989,9 +989,9 @@
%-
#ifndef YY_NO_INPUT
#ifdef __cplusplus
-static int yyinput(void)
+static int yyinput YY_PROTO(( void ))
#else
-static int input(void)
+static int input YY_PROTO(( void ))
#endif
%+
int yyFlexLexer::yyinput(void)
Home |
Main Index |
Thread Index |
Old Index