summaryrefslogtreecommitdiff
path: root/bcc/scan.c
diff options
context:
space:
mode:
Diffstat (limited to 'bcc/scan.c')
-rw-r--r--bcc/scan.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bcc/scan.c b/bcc/scan.c
index 36271e4..7db7629 100644
--- a/bcc/scan.c
+++ b/bcc/scan.c
@@ -315,6 +315,7 @@ more:
while (symofchar[c] <= MAXIDSYM && --length != 0);
ch = c;
*idptr = 0;
+ debug(7, "Got ident %s", gsname);
lineptr = reglineptr;
if (symofchar[c] == SPECIALCHAR)
{
@@ -471,6 +472,7 @@ PUBLIC void nextsym()
if (SYMOFCHAR(ch = *(lineptr = reglineptr + 1)) == SPECIALCHAR
&& sym != SPECIALCHAR)
specialchar();
+ debug(7, "In nextsym, got %d \"%C\"", sym, lastch);
switch (sym)
{
case CHARCONST: