Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Duncan White
C-datadec
Commits
88a01743
Commit
88a01743
authored
Apr 06, 1992
by
dcw
Browse files
whoops; DEBUG -> DEBUGGING
parent
aa4d81c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
lexer.c
View file @
88a01743
...
...
@@ -20,7 +20,7 @@
#include
"lexer.h"
#ifdef DEBUG
#ifdef DEBUG
GING
static
char
*
tokenname
[]
=
{
"tERROR"
,
"tEOF"
,
"tSEMI"
,
"tID"
,
"tEQ"
,
"tOR"
,
"tOPENBR"
,
"tCOMMA"
,
"tCLOSEBR"
,
"tSTR"
,
"tNUM"
...
...
@@ -68,7 +68,7 @@ void ungettok()
{
ASSERT
(
!
havepushedtok
,
(
"ungettok: can't push 2 tokens
\n
"
)
);
havepushedtok
=
TRUE
;
#ifdef DEBUG
#ifdef DEBUG
GING
printf
(
"lexer: ungot token %s
\n
"
,
tokenname
[
curtok
]
);
#endif
}
...
...
@@ -142,7 +142,7 @@ TOKEN nexttok()
}
}
}
#ifdef DEBUG
#ifdef DEBUG
GING
printf
(
"returning token %s
\n
"
,
tokenname
[
curtok
]
);
#endif
return
curtok
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment