ajout "\ " dans les chaines
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6667 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
90ba83c066
commit
fb95331a3c
|
@ -153,6 +153,7 @@ value rec backslash s i =
|
|||
| '\\' -> ('\\', i + 1)
|
||||
| '"' -> ('"', i + 1)
|
||||
| ''' -> (''', i + 1)
|
||||
| ' ' -> (' ', i + 1)
|
||||
| '0'..'9' as c -> backslash1 (valch c) s (i + 1)
|
||||
| 'x' -> backslash1h s (i + 1)
|
||||
| _ -> raise Not_found ]
|
||||
|
|
Loading…
Reference in New Issue