Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/lex Redo rev 1.10 so that the changed lines are back...
details: https://anonhg.NetBSD.org/src/rev/829ff09233bb
branches: trunk
changeset: 483688:829ff09233bb
user: simonb <simonb%NetBSD.org@localhost>
date: Wed Mar 15 22:52:14 2000 +0000
description:
Redo rev 1.10 so that the changed lines are back in their original
position in the file. This allows c++ lexers to build.
Fixes PR 8258 from Nick Hudson (uses a slightly different fix than
the one Nick supplies) and problems with c++ lexers described on
tech-pkg by Berndt Josef Wulf.
diffstat:
usr.bin/lex/flex.skl | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
diffs (37 lines):
diff -r 825caeb7ac72 -r 829ff09233bb usr.bin/lex/flex.skl
--- a/usr.bin/lex/flex.skl Wed Mar 15 22:41:29 2000 +0000
+++ b/usr.bin/lex/flex.skl Wed Mar 15 22:52:14 2000 +0000
@@ -1,7 +1,7 @@
/* A lexical scanner generated by flex */
/* Scanner skeleton version:
- * $NetBSD: flex.skl,v 1.12 1999/01/18 22:18:17 christos Exp $
+ * $NetBSD: flex.skl,v 1.13 2000/03/15 22:52:14 simonb Exp $
*/
#define FLEX_SCANNER
@@ -254,6 +254,12 @@
YY_BUFFER_STATE yy_scan_bytes YY_PROTO(( yyconst char *bytes, yy_size_t len ));
%*
+static void *yy_flex_alloc YY_PROTO(( yy_size_t ));
+#ifndef YY_USES_REJECT
+static void *yy_flex_realloc YY_PROTO(( void *, yy_size_t ));
+#endif
+static void yy_flex_free YY_PROTO(( void * ));
+
#define yy_new_buffer yy_create_buffer
#define yy_set_interactive(is_interactive) \
@@ -275,11 +281,6 @@
%% yytext/yyin/yyout/yy_state_type/yylineno etc. def's & init go here
%- Standard (non-C++) definition
-static void *yy_flex_alloc YY_PROTO(( yy_size_t ));
-#ifndef YY_USES_REJECT
-static void *yy_flex_realloc YY_PROTO(( void *, yy_size_t ));
-#endif
-static void yy_flex_free YY_PROTO(( void * ));
static yy_state_type yy_get_previous_state YY_PROTO(( void ));
static yy_state_type yy_try_NUL_trans YY_PROTO(( yy_state_type current_state ));
static int yy_get_next_buffer YY_PROTO(( void ));
Home |
Main Index |
Thread Index |
Old Index