Author: lattner Date: Fri Nov 23 16:19:33 2007 New Revision: 44291 URL: http://llvm.org/viewvc/llvm-project?rev=44291&view=rev Log: !< is >=, not >. Thanks to Max Hailperin for pointing this out!
Modified: llvm/trunk/docs/tutorial/LangImpl6.html Modified: llvm/trunk/docs/tutorial/LangImpl6.html URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/tutorial/LangImpl6.html?rev=44291&r1=44290&r2=44291&view=diff ============================================================================== --- llvm/trunk/docs/tutorial/LangImpl6.html (original) +++ llvm/trunk/docs/tutorial/LangImpl6.html Fri Nov 23 16:19:33 2007 @@ -97,7 +97,7 @@ # 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 @@ # 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) _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits