summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorVern Paxson <vern@ee.lbl.gov>1993-07-05 21:52:29 +0000
committerVern Paxson <vern@ee.lbl.gov>1993-07-05 21:52:29 +0000
commit32ae837b83545b262703e64daee192571be3a696 (patch)
tree894f029b9dab25977f59548aff286fb1d9e745a4 /main.c
parentf9afb4c40c08f528536eb4f589f3b2059edd6095 (diff)
Spit out definition of YY_CHAR early
Diffstat (limited to 'main.c')
-rw-r--r--main.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/main.c b/main.c
index c32af32..7ff70c8 100644
--- a/main.c
+++ b/main.c
@@ -751,16 +751,16 @@ char **argv;
void readin()
{
- skelout();
-
- if ( ddebug )
- puts( "#define FLEX_DEBUG" );
-
if ( csize == 256 )
puts( "typedef unsigned char YY_CHAR;" );
else
puts( "typedef char YY_CHAR;" );
+ skelout();
+
+ if ( ddebug )
+ puts( "#define FLEX_DEBUG" );
+
line_directive_out( stdout );
if ( yyparse() )