Index: src/preparser.h |
diff --git a/src/preparser.h b/src/preparser.h |
index 13261f7a5b945f6b278a5ac9d450557bdce3e168..ad52d74bbd8082cb3f4c4a4e390f6fc7aa0ee7ab 100644 |
--- a/src/preparser.h |
+++ b/src/preparser.h |
@@ -150,11 +150,11 @@ class PreParser { |
// Parses a single function literal, from the opening parentheses before |
// parameters to the closing brace after the body. |
- // Returns a FunctionEntry describing the body of the funciton in enough |
+ // Returns a FunctionEntry describing the body of the function in enough |
// detail that it can be lazily compiled. |
// The scanner is expected to have matched the "function" keyword and |
// parameters, and have consumed the initial '{'. |
- // At return, unless an error occured, the scanner is positioned before the |
+ // At return, unless an error occurred, the scanner is positioned before the |
// the final '}'. |
PreParseResult PreParseLazyFunction(i::LanguageMode mode, |
i::ParserRecorder* log); |