From 6a60630dfbb06efb9356f52ece9083c9fc2a0418 Mon Sep 17 00:00:00 2001 From: Mike Sullivan Date: Tue, 6 Mar 2018 22:52:01 +0000 Subject: testing/ocaml-cppo allow textrels and fix asr --- testing/ocaml-cppo/ppc64le-asr.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 testing/ocaml-cppo/ppc64le-asr.patch (limited to 'testing/ocaml-cppo/ppc64le-asr.patch') 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) } -- cgit v1.2.3