aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ocaml-cppo/ppc64le-asr.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/ocaml-cppo/ppc64le-asr.patch')
-rw-r--r--testing/ocaml-cppo/ppc64le-asr.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/ocaml-cppo/ppc64le-asr.patch b/testing/ocaml-cppo/ppc64le-asr.patch
new file mode 100644
index 0000000000..480a865dd5
--- /dev/null
+++ b/testing/ocaml-cppo/ppc64le-asr.patch
@@ -0,0 +1,11 @@
+--- a/src/cppo_parser.mly
++++ b/src/cppo_parser.mly
+@@ -252,7 +252,7 @@
+ | aexpr MOD aexpr { `Mod ($2, $1, $3) }
+ | aexpr LSL aexpr { `Lsl ($1, $3) }
+ | aexpr LSR aexpr { `Lsr ($1, $3) }
+- | aexpr ASR aexpr { `Lsr ($1, $3) }
++ | aexpr ASR aexpr { `Asr ($1, $3) }
+ | aexpr LAND aexpr { `Land ($1, $3) }
+ | aexpr LOR aexpr { `Lor ($1, $3) }
+ | aexpr LXOR aexpr { `Lxor ($1, $3) }