]> granicus.if.org Git - flex/commitdiff
start condition #define's go to action file
authorVern Paxson <vern@ee.lbl.gov>
Mon, 27 Dec 1993 14:40:19 +0000 (14:40 +0000)
committerVern Paxson <vern@ee.lbl.gov>
Mon, 27 Dec 1993 14:40:19 +0000 (14:40 +0000)
sym.c

diff --git a/sym.c b/sym.c
index a404f2aee2c69e3edd25f5363323f73c4ae49a88..bea92637edb90e8f6e98f6a27efd409084b61e32 100644 (file)
--- a/sym.c
+++ b/sym.c
@@ -230,7 +230,7 @@ int xcluflg;
        char *copy_string();
 
        /* Generate start condition definition, for use in BEGIN et al. */
-       out_str_dec( "#define %s %d\n", str, lastsc );
+       action_define( str, lastsc );
 
        if ( ++lastsc >= current_max_scs )
                scextend();