[cfe-commits] r60160 - /cfe/trunk/lib/Basic/Diagnostic.cpp
Sebastian Redl
sebastian.redl at getdesigned.at
Wed Nov 26 23:28:14 PST 2008
Author: cornedbee
Date: Thu Nov 27 01:28:14 2008
New Revision: 60160
URL: http://llvm.org/viewvc/llvm-project?rev=60160&view=rev
Log:
Fix order of evaluation.
Modified:
cfe/trunk/lib/Basic/Diagnostic.cpp
Modified: cfe/trunk/lib/Basic/Diagnostic.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Diagnostic.cpp?rev=60160&r1=60159&r2=60160&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Diagnostic.cpp (original)
+++ cfe/trunk/lib/Basic/Diagnostic.cpp Thu Nov 27 01:28:14 2008
@@ -354,7 +354,7 @@
if (TestPluralRange(ValMod, Start, End))
return true;
} else {
- assert(C == '[' || (C >= '0' && C <= '9') &&
+ assert((C == '[' || (C >= '0' && C <= '9')) &&
"Bad plural expression syntax: unexpected character");
// Range expression
if (TestPluralRange(ValNo, Start, End))
More information about the cfe-commits
mailing list