summaryrefslogtreecommitdiffstats
path: root/boost/boost_1_44_0-logical-op-parentheses.patch
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-04-03 23:08:46 +0300
committerTor Lillqvist <tml@iki.fi>2012-04-04 01:05:45 +0300
commitb91061f8e90a5da5db424f010d00cdf5cc60922b (patch)
tree3ad696c8d0ae212bf881234ec18a43ad196344b8 /boost/boost_1_44_0-logical-op-parentheses.patch
parentWaE fixes to the mostly dummy iOS code (diff)
downloadcore-b91061f8e90a5da5db424f010d00cdf5cc60922b.tar.gz
core-b91061f8e90a5da5db424f010d00cdf5cc60922b.zip
WaE: '&&' within '||'
Diffstat (limited to 'boost/boost_1_44_0-logical-op-parentheses.patch')
-rw-r--r--boost/boost_1_44_0-logical-op-parentheses.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/boost/boost_1_44_0-logical-op-parentheses.patch b/boost/boost_1_44_0-logical-op-parentheses.patch
new file mode 100644
index 000000000000..33a8ea083809
--- /dev/null
+++ b/boost/boost_1_44_0-logical-op-parentheses.patch
@@ -0,0 +1,12 @@
+--- misc/boost_1_44_0/boost/spirit/home/classic/core/composite/directives.hpp
++++ misc/build/boost_1_44_0/boost/spirit/home/classic/core/composite/directives.hpp
+@@ -364,7 +364,7 @@
+
+ if (l || r)
+ {
+- if (l.length() < r.length() && l || !r)
++ if ((l.length() < r.length() && l) || !r)
+ {
+ scan.first = save;
+ return l;
+