Change: lexer accepts now identifiers composed of any printable character except...
authorChristian Würdig <chriswue@ipd.info.uni-karlsruhe.de>
Sat, 27 Jan 2007 15:31:34 +0000 (15:31 +0000)
committerChristian Würdig <chriswue@ipd.info.uni-karlsruhe.de>
Sat, 27 Jan 2007 15:31:34 +0000 (15:31 +0000)
[r8563]

ir/debug/debugger.c

index 04bd0a0..bcb1b1b 100644 (file)
@@ -979,7 +979,7 @@ static unsigned get_token(void) {
 
                do {
                        c = next_char();
-               } while (c == '_' || isalnum(c));
+               } while (isgraph(c));
                unput();
                lexer.len = lexer.curr_pos - lexer.s;
                return tok_identifier;