diff options
author | Mike Sullivan <mksully22@gmail.com> | 2018-03-06 22:52:01 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-03-07 10:21:52 +0000 |
commit | 6a60630dfbb06efb9356f52ece9083c9fc2a0418 (patch) | |
tree | 466debe6c1cea5fefe57aea476f5450a0ba001a4 /testing/ocaml-cppo/ppc64le-asr.patch | |
parent | 2fd76197ae6e35e29552e7466bffeb513deba924 (diff) | |
download | aports-6a60630dfbb06efb9356f52ece9083c9fc2a0418.tar.bz2 aports-6a60630dfbb06efb9356f52ece9083c9fc2a0418.tar.xz |
testing/ocaml-cppo allow textrels and fix asr
Diffstat (limited to 'testing/ocaml-cppo/ppc64le-asr.patch')
-rw-r--r-- | testing/ocaml-cppo/ppc64le-asr.patch | 11 |
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) } |