2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 06:15:55 +00:00

Always save the string containing the token

This commit is contained in:
Ted Lemon
1996-06-27 19:00:44 +00:00
parent db910847a2
commit f8141e67df
2 changed files with 0 additions and 12 deletions

View 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;
}

View 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;
}