Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/lex Fix pasto: don't call the wrong function from th...



details:   https://anonhg.NetBSD.org/src/rev/78dd095299d7
branches:  trunk
changeset: 583474:78dd095299d7
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Aug 08 01:28:08 2005 +0000

description:
Fix pasto: don't call the wrong function from the wrapper. Reported by perry.

diffstat:

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

diffs (21 lines):

diff -r 8d7308d05b02 -r 78dd095299d7 usr.bin/lex/flex.skl
--- a/usr.bin/lex/flex.skl      Mon Aug 08 00:20:46 2005 +0000
+++ b/usr.bin/lex/flex.skl      Mon Aug 08 01:28:08 2005 +0000
@@ -1,7 +1,7 @@
 /* A lexical scanner generated by flex */
 
 /* Scanner skeleton version:
- * $NetBSD: flex.skl,v 1.21 2005/07/28 04:14:30 christos Exp $
+ * $NetBSD: flex.skl,v 1.22 2005/08/08 01:28:08 christos Exp $
  */
 
 #define FLEX_SCANNER
@@ -1373,7 +1373,7 @@
 #ifdef __cplusplus
 YY_BUFFER_STATE yy_scan_bytes( yyconst char *base, int size )
        {
-       return yy_scan_buffer(base, (yy_size_t) size);
+       return yy_scan_bytes(base, (yy_size_t) size);
        }
 #endif
 %*



Home | Main Index | Thread Index | Old Index