summaryrefslogtreecommitdiffstats
path: root/docs
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
commit61ad449be85ad31c46206caedc4a914d82695ceb (patch)
tree8e782a7a68e2988f06b9795b2bf87c5da1766407 /docs
parente4dc717585d5b891d187248352cbbc8d2438da96 (diff)
downloadexternal_llvm-61ad449be85ad31c46206caedc4a914d82695ceb.zip
external_llvm-61ad449be85ad31c46206caedc4a914d82695ceb.tar.gz
external_llvm-61ad449be85ad31c46206caedc4a914d82695ceb.tar.bz2
!< is >=, not >. Thanks to Max Hailperin for pointing this out!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44291 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/tutorial/LangImpl6.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/tutorial/LangImpl6.html b/docs/tutorial/LangImpl6.html
index 40334b0..33f4adb 100644
--- a/docs/tutorial/LangImpl6.html
+++ b/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)