summaryrefslogtreecommitdiff
path: root/ocamltest/tsl_lexer.mll
diff options
context:
space:
mode:
authorSébastien Hinderer <Sebastien.Hinderer@inria.fr>2018-03-18 09:05:14 +0100
committerSébastien Hinderer <Sebastien.Hinderer@inria.fr>2018-03-21 17:23:29 +0100
commitf2e0ae8a17ef0d39281cdae29bd7efe14813418b (patch)
tree456d77c6d6f528b70548fa38b067b32ad8124154 /ocamltest/tsl_lexer.mll
parent79d3f774330d50a5917dbb4c809b5064507e4eab (diff)
downloadocaml-f2e0ae8a17ef0d39281cdae29bd7efe14813418b.tar.gz
ocamltest: make it possible to declare variables in the DSL
Diffstat (limited to 'ocamltest/tsl_lexer.mll')
-rw-r--r--ocamltest/tsl_lexer.mll1
1 files changed, 1 insertions, 0 deletions
diff --git a/ocamltest/tsl_lexer.mll b/ocamltest/tsl_lexer.mll
index 338c8fa24e..966483a3ee 100644
--- a/ocamltest/tsl_lexer.mll
+++ b/ocamltest/tsl_lexer.mll
@@ -45,6 +45,7 @@ rule token = parse
{ let s = Lexing.lexeme lexbuf in
match s with
| "include" -> INCLUDE
+ | "set" -> SET
| "with" -> WITH
| _ -> IDENTIFIER s
}