]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Always save the string containing the token
authorTed Lemon <source@isc.org>
Thu, 27 Jun 1996 19:00:44 +0000 (19:00 +0000)
committerTed Lemon <source@isc.org>
Thu, 27 Jun 1996 19:00:44 +0000 (19:00 +0000)
common/conflex.c
conflex.c

index ff80a4baadfdb079aa2551494047419dbd9ae6f6..f7a93fa83c260f6af2f40c61112f4062ebd1e1c8 100644 (file)
@@ -88,9 +88,7 @@ static int get_token (cfile)
 {
        int c;
        int ttok;
-#ifdef DEBUG_TOKENS
        static char tb [2];
-#endif
 
        do {
                c = get_char (cfile);
@@ -113,13 +111,9 @@ static int get_token (cfile)
                        ttok = read_num_or_atom (c, cfile);
                        break;
                } else {
-#ifdef DEBUG_TOKENS
                        tb [0] = c;
                        tb [1] = 0;
                        tval = tb;
-#else
-                       tval = 0;
-#endif
                        ttok = c;
                        break;
                }
index ff80a4baadfdb079aa2551494047419dbd9ae6f6..f7a93fa83c260f6af2f40c61112f4062ebd1e1c8 100644 (file)
--- a/conflex.c
+++ b/conflex.c
@@ -88,9 +88,7 @@ static int get_token (cfile)
 {
        int c;
        int ttok;
-#ifdef DEBUG_TOKENS
        static char tb [2];
-#endif
 
        do {
                c = get_char (cfile);
@@ -113,13 +111,9 @@ static int get_token (cfile)
                        ttok = read_num_or_atom (c, cfile);
                        break;
                } else {
-#ifdef DEBUG_TOKENS
                        tb [0] = c;
                        tb [1] = 0;
                        tval = tb;
-#else
-                       tval = 0;
-#endif
                        ttok = c;
                        break;
                }