From: Ted Lemon Date: Thu, 27 Jun 1996 19:00:44 +0000 (+0000) Subject: Always save the string containing the token X-Git-Tag: BETA_4_6~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8141e67dfa1835abbe4438d1c834ae8ea1406b2;p=thirdparty%2Fdhcp.git Always save the string containing the token --- diff --git a/common/conflex.c b/common/conflex.c index ff80a4baa..f7a93fa83 100644 --- a/common/conflex.c +++ b/common/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; } diff --git a/conflex.c b/conflex.c index ff80a4baa..f7a93fa83 100644 --- 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; }