summaryrefslogtreecommitdiff
path: root/gen.c
diff options
context:
space:
mode:
authorVern Paxson <vern@ee.lbl.gov>1993-12-02 21:52:00 +0000
committerVern Paxson <vern@ee.lbl.gov>1993-12-02 21:52:00 +0000
commit894a71a5ff92683be4fd9a66996ad9d8e0615e6a (patch)
tree738a988c4b9e35749048f600e95686fd1235653e /gen.c
parent05262755f074b2ae76aba024bcbdf0690aa5b837 (diff)
Use yy_strXXX() routines instead of <string.h>
Diffstat (limited to 'gen.c')
-rw-r--r--gen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gen.c b/gen.c
index 6b766d2..58ff297 100644
--- a/gen.c
+++ b/gen.c
@@ -594,7 +594,7 @@ int worry_about_NULs;
}
else
- (void) strcpy( char_map,
+ yy_strcpy( char_map,
useecs ? "yy_ec[(unsigned int) *yy_cp]" : "*yy_cp" );
if ( worry_about_NULs && nultrans )
@@ -1052,7 +1052,7 @@ void make_tables()
indent_puts(
"YY_FATAL_ERROR( \"token too large, exceeds YYLMAX\" ); \\" );
indent_down();
- indent_puts( "strcpy( yytext, yytext_ptr ); \\" );
+ indent_puts( "yy_strcpy( yytext, yytext_ptr ); \\" );
}
set_indent( 0 );