diff options
Diffstat (limited to 'test/trans.d/case/atoi1_ocaml.rl')
-rw-r--r-- | test/trans.d/case/atoi1_ocaml.rl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/trans.d/case/atoi1_ocaml.rl b/test/trans.d/case/atoi1_ocaml.rl index d84f8813..b0bc8c9f 100644 --- a/test/trans.d/case/atoi1_ocaml.rl +++ b/test/trans.d/case/atoi1_ocaml.rl @@ -16,13 +16,13 @@ value := 0; action see_neg {neg := 1; } - action add_digit {value := value .contents * 10 + ( fc - 48 ) + action add_digit {value := value .contents * 10 + ( fc - 48 ) ; } - action finish {if neg .contents != 0 then + action finish {if neg .contents != 0 then begin - value := -1 * value.contents; + value := -1 * value.contents; end ; |