summaryrefslogtreecommitdiffstats
path: root/llvm/docs/tutorial
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-11-23 22:19:33 +0000
committerChris Lattner <sabre@nondot.org>2007-11-23 22:19:33 +0000
commit752b05fe94fb564d65d366a75be07acfcfb2d171 (patch)
tree4774aa5996e8f02ae47639e0d8d57b2a44b783bb /llvm/docs/tutorial
parent136449a6d77bf32c794c7d0014952bd4c31a4dbc (diff)
downloadbcm5719-llvm-752b05fe94fb564d65d366a75be07acfcfb2d171.tar.gz
bcm5719-llvm-752b05fe94fb564d65d366a75be07acfcfb2d171.zip
!< is >=, not >. Thanks to Max Hailperin for pointing this out!
llvm-svn: 44291
Diffstat (limited to 'llvm/docs/tutorial')
-rw-r--r--llvm/docs/tutorial/LangImpl6.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/docs/tutorial/LangImpl6.html b/llvm/docs/tutorial/LangImpl6.html
index 40334b031a5..33f4adbdebb 100644
--- a/llvm/docs/tutorial/LangImpl6.html
+++ b/llvm/docs/tutorial/LangImpl6.html
@@ -97,7 +97,7 @@ def unary!(v)
# Define &gt; with the same precedence as &lt;.
def binary&gt; 10 (LHS RHS)
- !(LHS &lt; RHS); # alternatively, could just use "RHS &lt; LHS"
+ RHS &lt; LHS;
# Binary "logical or", (note that it does not "short circuit")
def binary| 5 (LHS RHS)
@@ -532,7 +532,7 @@ def unary-(v)
# Define &gt; with the same precedence as &gt;.
def binary&gt; 10 (LHS RHS)
- !(LHS &lt; RHS);
+ RHS &lt; LHS;
# Binary logical or, which does not short circuit.
def binary| 5 (LHS RHS)
OpenPOWER on IntegriCloud