summaryrefslogtreecommitdiff
path: root/gen.c
diff options
context:
space:
mode:
authorVern Paxson <vern@ee.lbl.gov>1993-12-11 17:06:24 +0000
committerVern Paxson <vern@ee.lbl.gov>1993-12-11 17:06:24 +0000
commit3b1159f9651f6cce1d6383ef8f3bdb12274476f3 (patch)
tree4f319a6460f801c558a48d965e3f9f4facf33584 /gen.c
parent9e6aac8df85a6e0e0bba6d269756847f1d720eb8 (diff)
yy_str*() -> str*()
Diffstat (limited to 'gen.c')
-rw-r--r--gen.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/gen.c b/gen.c
index 846e76f..09c579d 100644
--- a/gen.c
+++ b/gen.c
@@ -596,9 +596,8 @@ int worry_about_NULs;
}
else
- yy_strcpy( char_map, useecs ?
- "yy_ec[YY_SC_TO_UI(*yy_cp)]" :
- "YY_SC_TO_UI(*yy_cp)" );
+ strcpy( char_map, useecs ?
+ "yy_ec[YY_SC_TO_UI(*yy_cp)]" : "YY_SC_TO_UI(*yy_cp)" );
if ( worry_about_NULs && nultrans )
{
@@ -1049,7 +1048,7 @@ void make_tables()
indent_puts(
"YY_FATAL_ERROR( \"token too large, exceeds YYLMAX\" ); \\" );
indent_down();
- indent_puts( "yy_strcpy( yytext, yytext_ptr ); \\" );
+ indent_puts( "yy_flex_strcpy( yytext, yytext_ptr ); \\" );
}
set_indent( 0 );