harmonisation des backslash
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4521 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
bae1b84692
commit
e99d7ad000
|
@ -167,7 +167,7 @@ and string = parse
|
|||
{ line_start_pos := Lexing.lexeme_end lexbuf;
|
||||
incr line_num;
|
||||
string lexbuf }
|
||||
| '\\' ['\\' '"' 'n' 't' 'b' 'r']
|
||||
| '\\' ['\\' '"' '\'' 'n' 't' 'b' 'r']
|
||||
{ store_string_char(char_for_backslash(Lexing.lexeme_char lexbuf 1));
|
||||
string lexbuf }
|
||||
| '\\' ['0'-'9'] ['0'-'9'] ['0'-'9']
|
||||
|
|
Loading…
Reference in New Issue