Skip to content

Commit dfcc115

Browse files
committed
Consistently quoting quote and doublequote into string and character litterals.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16436 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1 parent 571b7e4 commit dfcc115

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

testsuite/tests/basic-more/morematch.ml

+2-2
Original file line numberDiff line numberDiff line change
@@ -751,11 +751,11 @@ test "eber" eber {x=1 ; y=0 ; z=false} 0 ; ()
751751
(* Enchainement des test d'intervalle *)
752752

753753
let escaped = function
754-
| '"' | '\\' | '\n' | '\t' -> 2
754+
| '\"' | '\\' | '\n' | '\t' -> 2
755755
| c -> 1
756756
;;
757757

758-
test "escaped" escaped '"' 2 ;
758+
test "escaped" escaped '\"' 2 ;
759759
test "escaped" escaped '\\' 2 ;
760760
test "escaped" escaped '\n' 2 ;
761761
test "escaped" escaped '\t' 2 ;

0 commit comments

Comments
 (0)