summaryrefslogtreecommitdiff
path: root/Examples/ocaml
diff options
context:
space:
mode:
authorArt Yerkes <ayerkes@speakeasy.net>2003-12-04 06:59:49 +0000
committerArt Yerkes <ayerkes@speakeasy.net>2003-12-04 06:59:49 +0000
commitb2fa1eab8baa3c4b6b9eaf605d5618e62af33008 (patch)
treeaa4ef4cb76c0dbc3d4f5ea3ff6fe09ccf19fb729 /Examples/ocaml
parent35e21e1c686dc8c7c964e123c7c2777902342dce (diff)
downloadswig-b2fa1eab8baa3c4b6b9eaf605d5618e62af33008.tar.gz
Added checklist entry and corrected warning.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5479 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Examples/ocaml')
-rw-r--r--Examples/ocaml/check.list1
-rw-r--r--Examples/ocaml/scoped_enum/example_prog.ml2
2 files changed, 2 insertions, 1 deletions
diff --git a/Examples/ocaml/check.list b/Examples/ocaml/check.list
index f95740043..78d98e3a4 100644
--- a/Examples/ocaml/check.list
+++ b/Examples/ocaml/check.list
@@ -6,3 +6,4 @@ stl
argout_ref
shapes
contract
+scoped_enum
diff --git a/Examples/ocaml/scoped_enum/example_prog.ml b/Examples/ocaml/scoped_enum/example_prog.ml
index 7df03cbd5..e19bb3454 100644
--- a/Examples/ocaml/scoped_enum/example_prog.ml
+++ b/Examples/ocaml/scoped_enum/example_prog.ml
@@ -1,4 +1,4 @@
open Swig
open Example
-let _ = _f (match Sys.argv.(1) with "Tag1" -> ``Tag1 | "Tag2" -> ``Tag2)
+let _ = _f (match Sys.argv.(1) with "Tag1" -> ``Tag1 | _ -> ``Tag2)