summaryrefslogtreecommitdiff
path: root/deps/v8/src/json-parser.h
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2012-01-23 16:16:42 -0800
committerisaacs <i@izs.me>2012-01-23 17:16:27 -0800
commit40879f33cd083ad8e16860a19cce03a0126e12a5 (patch)
tree010f16d83e398481e074f35a1900ee6c9e011e16 /deps/v8/src/json-parser.h
parentb1b16d117e6fe2ca889d10e7e0b62a5a60997d57 (diff)
downloadnode-new-40879f33cd083ad8e16860a19cce03a0126e12a5.tar.gz
Upgrade V8 to 3.8.8
Diffstat (limited to 'deps/v8/src/json-parser.h')
-rw-r--r--deps/v8/src/json-parser.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/src/json-parser.h b/deps/v8/src/json-parser.h
index 2b7077e194..d22cd0da3a 100644
--- a/deps/v8/src/json-parser.h
+++ b/deps/v8/src/json-parser.h
@@ -130,7 +130,7 @@ class JsonParser BASE_EMBEDDED {
// An object literal is a squiggly-braced and comma separated sequence
// (possibly empty) of key/value pairs, where the key is a JSON string
// literal, the value is a JSON value, and the two are separated by a colon.
- // A JSON array dosn't allow numbers and identifiers as keys, like a
+ // A JSON array doesn't allow numbers and identifiers as keys, like a
// JavaScript array.
Handle<Object> ParseJsonObject();
@@ -177,7 +177,7 @@ Handle<Object> JsonParser<seq_ascii>::ParseJson(Handle<String> source) {
// Set initial position right before the string.
position_ = -1;
- // Advance to the first character (posibly EOS)
+ // Advance to the first character (possibly EOS)
AdvanceSkipWhitespace();
Handle<Object> result = ParseJsonValue();
if (result.is_null() || c0_ != kEndOfString) {