Skip to content

Commit

Permalink
com
Browse files Browse the repository at this point in the history
  • Loading branch information
remyzorg committed Oct 6, 2017
1 parent 5b3861c commit 891e664
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/preproc/grc.ml
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ module Of_ast = struct

| Seq (q,r) ->
let surf_r = (surface env r pause @@ exit_node env p endp) in
enter_node env p @@ surface env q pause@@ surf_r
enter_node env p @@ surface env q pause @@ surf_r

| Loop q ->
enter_node env p
Expand Down
4 changes: 4 additions & 0 deletions tests/ppx/test2_ppx.ml
Original file line number Diff line number Diff line change
Expand Up @@ -424,3 +424,7 @@ let%sync paremit ~print:pdf s1 s2 =
(pause; emit s1) || (emit s2; pause)


let%sync par2 ~print:pdf s1 s2 s3 =
(present s1 pause (emit s2); pause)
||
present s2 (emit s3) pause

0 comments on commit 891e664

Please sign in to comment.