diff options
Diffstat (limited to 'cparser')
-rw-r--r-- | cparser/Lexer.mll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cparser/Lexer.mll b/cparser/Lexer.mll index 276aead2..53a27d81 100644 --- a/cparser/Lexer.mll +++ b/cparser/Lexer.mll @@ -356,7 +356,7 @@ and char = parse | simple_escape_sequence { convert_escape c } | '\\' (_ as c) - { warning lexbuf "incorrect escape sequence '\\%c', treating as '%c'" c c; + { error lexbuf "incorrect escape sequence '\\%c'" c; Int64.of_int (Char.code c) } | _ as c { Int64.of_int (Char.code c) } |