Commit 1db63da8cfa049b7a1d06d5c7f45c423872ba18a
1 parent
e1521486
Exists in
master
Prolog operator is now ">" instead of "->"
Showing
1 changed file
with
4 additions
and
4 deletions
Show diff stats
fzn-parser/flatzinc.y
... | ... | @@ -21,19 +21,19 @@ |
21 | 21 | |
22 | 22 | #define AST(pop, push) \ |
23 | 23 | { \ |
24 | - printf ("[%s|_T] -> [", pop); \ | |
24 | + printf ("[%s|_T] > [", pop); \ | |
25 | 25 | printf push; \ |
26 | 26 | printf ("|_T].\n"); \ |
27 | 27 | } |
28 | 28 | |
29 | 29 | #define INIT(x) \ |
30 | 30 | { \ |
31 | - printf ("_ -> %s.\n", x); \ | |
31 | + printf ("_ > %s.\n", x); \ | |
32 | 32 | } |
33 | 33 | |
34 | 34 | #define PRE() \ |
35 | 35 | { \ |
36 | - printf ("_T -> ["); \ | |
36 | + printf ("_T > ["); \ | |
37 | 37 | } |
38 | 38 | |
39 | 39 | #define POST() \ |
... | ... | @@ -43,7 +43,7 @@ |
43 | 43 | |
44 | 44 | #define PUSH(x) \ |
45 | 45 | { \ |
46 | - printf ("_T -> ["); \ | |
46 | + printf ("_T > ["); \ | |
47 | 47 | printf x; \ |
48 | 48 | printf ("|_T].\n"); \ |
49 | 49 | } | ... | ... |