Index: runtime/platform/json.cc |
=================================================================== |
--- runtime/platform/json.cc (revision 25951) |
+++ runtime/platform/json.cc (working copy) |
@@ -234,7 +234,7 @@ |
if ((*s == '\n') || (*s == '\t')) { |
OS::Print("Un-escaped character in JSON string: '%s'\n", |
ValueChars()); |
- ASSERT(!"illegal character in JSON string value"); |
+ ASSERT("illegal character in JSON string value" == NULL); |
Ivan Posva
2013/08/08 22:56:34
s/ASSERT/FATAL/ and remove the == NULL
|
} |
s++; |
remaining--; |
@@ -251,7 +251,7 @@ |
default: |
OS::Print("Malformed JSON: expected a value but got '%s'\n", |
scanner_.TokenChars()); |
- ASSERT(!"illegal JSON value found"); |
+ ASSERT("illegal JSON value found" == NULL); |
Ivan Posva
2013/08/08 22:56:34
ditto
|
} |
} |