From 7d56fef504bc19b790b3316448d5de18d29aa79a Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Wed, 4 Jun 2008 20:47:55 +0000 Subject: [PATCH] Reflect changes in token codes --- src/scanner.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scanner.c b/src/scanner.c index b126f1f..fdfa59f 100644 --- a/src/scanner.c +++ b/src/scanner.c @@ -37,7 +37,7 @@ static char * _tokens[C99_CODE_COUNT] = "[", "<=", "<", "(", "-=", "->", "-", "%=", "%", "!=", "!", "+=", "+", "?", "}", "]", ")", ";", "*=", "~", "*", "^=", "^", /* more codes */ - "'", "whitespace", "newline", "comment", "word", "constant", + "'", "whitespace", "newline", "comment", "word", "unknown", "constant", "identifier", /* keywords */ "auto", "break", "case", "char", "const", "continue", "default", "do", @@ -45,7 +45,7 @@ static char * _tokens[C99_CODE_COUNT] = "inline", "int", "long", "register", "restrict", "return", "short", "signed", "sizeof", "static", "struct", "switch", "typedef", "union", "unsigned", "void", "volatile", "while", "_Bool", "_Complex", - "_Imaginary" + "_Imaginary", "name" };