Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/usr.bin/lex Pull up revisions 1.13-1.14 (requested by s...



details:   https://anonhg.NetBSD.org/src/rev/8d70f3752575
branches:  netbsd-1-4
changeset: 470482:8d70f3752575
user:      he <he%NetBSD.org@localhost>
date:      Wed Mar 29 21:59:44 2000 +0000

description:
Pull up revisions 1.13-1.14 (requested by simonb):
  Allow C++ lexers to build.  Fixes PR#8258.

diffstat:

 usr.bin/lex/flex.skl |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 7d062c24def2 -r 8d70f3752575 usr.bin/lex/flex.skl
--- a/usr.bin/lex/flex.skl      Wed Mar 29 21:53:01 2000 +0000
+++ b/usr.bin/lex/flex.skl      Wed Mar 29 21:59:44 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.12.2.1 2000/03/29 21:59:44 he Exp $
  */
 
 #define FLEX_SCANNER
@@ -274,12 +274,13 @@
 
 %% 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 * ));
+
+%- Standard (non-C++) definition
 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