From: Christian Würdig Date: Sat, 27 Jan 2007 15:31:34 +0000 (+0000) Subject: Change: lexer accepts now identifiers composed of any printable character except... X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=db2d5cd67c158fdd9633e19222c598c21311c736;p=libfirm Change: lexer accepts now identifiers composed of any printable character except space [r8563] --- diff --git a/ir/debug/debugger.c b/ir/debug/debugger.c index 04bd0a041..bcb1b1bfd 100644 --- a/ir/debug/debugger.c +++ b/ir/debug/debugger.c @@ -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;