diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-02-19 15:49:16 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-02-19 15:49:16 -0500 |
commit | 09a28f318ab5428345367aa8317960e41c822902 (patch) | |
tree | ea4cd8224fb0429fa8fd3fe73925a05ce065aa19 /dimension | |
parent | dde4910e5f25d54add887ae4d482fb52dfd0739d (diff) | |
download | dimension-09a28f318ab5428345367aa8317960e41c822902.tar.xz |
Fix unrecognised character lexing error.
Diffstat (limited to 'dimension')
-rw-r--r-- | dimension/lexer.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dimension/lexer.l b/dimension/lexer.l index 3c23d78..77320c5 100644 --- a/dimension/lexer.l +++ b/dimension/lexer.l @@ -287,7 +287,7 @@ unsigned long wchar; . { dmnsn_diagnostic(filename, yylineno, yycolumn, "Unrecognized character '%c' (0x%X)", - (int)*yytext, (unsigned int)*yytext); + (int)*yytext, (unsigned int)(unsigned char)*yytext); RETURN_TOKEN(DMNSN_T_LEX_ERROR); } |