diff options
author | Nicolas Ojeda Bar <n.oje.bar@gmail.com> | 2017-12-02 23:53:16 +0100 |
---|---|---|
committer | Sébastien Hinderer <Sebastien.Hinderer@inria.fr> | 2017-12-05 17:18:35 +0100 |
commit | edd43c3cd5c5709d4af39ae093b8fa997fa1c377 (patch) | |
tree | 88a8b8b00a93bbd8d9577bce05d26f3d34cd0958 /ocamltest/tsl_lexer.mll | |
parent | 548ec2c72c04f64134f28d530afd98ef51498174 (diff) | |
download | ocaml-edd43c3cd5c5709d4af39ae093b8fa997fa1c377.tar.gz |
ocamltest: add syntax "+=" for appending to variables
Diffstat (limited to 'ocamltest/tsl_lexer.mll')
-rw-r--r-- | ocamltest/tsl_lexer.mll | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ocamltest/tsl_lexer.mll b/ocamltest/tsl_lexer.mll index 0bf925a8f9..338c8fa24e 100644 --- a/ocamltest/tsl_lexer.mll +++ b/ocamltest/tsl_lexer.mll @@ -39,6 +39,7 @@ rule token = parse | "*)" { TSL_END_OCAML_STYLE } | "," { COMA } | '*'+ { TEST_DEPTH (String.length (Lexing.lexeme lexbuf)) } + | "+=" { PLUSEQUAL } | "=" { EQUAL } | identchar * { let s = Lexing.lexeme lexbuf in |