diff options
author | Chris Lattner <sabre@nondot.org> | 2007-11-23 22:19:33 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-11-23 22:19:33 +0000 |
commit | 752b05fe94fb564d65d366a75be07acfcfb2d171 (patch) | |
tree | 4774aa5996e8f02ae47639e0d8d57b2a44b783bb /llvm/docs/tutorial | |
parent | 136449a6d77bf32c794c7d0014952bd4c31a4dbc (diff) | |
download | bcm5719-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.html | 4 |
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 > with the same precedence as <. def binary> 10 (LHS RHS) - !(LHS < RHS); # alternatively, could just use "RHS < LHS" + RHS < LHS; # Binary "logical or", (note that it does not "short circuit") def binary| 5 (LHS RHS) @@ -532,7 +532,7 @@ def unary-(v) # Define > with the same precedence as >. def binary> 10 (LHS RHS) - !(LHS < RHS); + RHS < LHS; # Binary logical or, which does not short circuit. def binary| 5 (LHS RHS) |