Title: [149014] trunk/Source/_javascript_Core
Revision
149014
Author
[email protected]
Date
2013-04-23 18:23:42 -0700 (Tue, 23 Apr 2013)

Log Message

Default ParserError() initialiser doesn't initialise all fields
https://bugs.webkit.org/show_bug.cgi?id=115074

Reviewed by Joseph Pecoraro.

Only the jsc command prompt depended on this, but we'll fix it to
be on the safe side.

* parser/ParserError.h:
(JSC::ParserError::ParserError):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (149013 => 149014)


--- trunk/Source/_javascript_Core/ChangeLog	2013-04-24 01:10:51 UTC (rev 149013)
+++ trunk/Source/_javascript_Core/ChangeLog	2013-04-24 01:23:42 UTC (rev 149014)
@@ -1,3 +1,16 @@
+2013-04-23  Oliver Hunt  <[email protected]>
+
+        Default ParserError() initialiser doesn't initialise all fields
+        https://bugs.webkit.org/show_bug.cgi?id=115074
+
+        Reviewed by Joseph Pecoraro.
+
+        Only the jsc command prompt depended on this, but we'll fix it to
+        be on the safe side.
+
+        * parser/ParserError.h:
+        (JSC::ParserError::ParserError):
+
 2013-04-23  Christophe Dumez  <[email protected]>
 
         Global constructors should be configurable and not enumerable

Modified: trunk/Source/_javascript_Core/parser/ParserError.h (149013 => 149014)


--- trunk/Source/_javascript_Core/parser/ParserError.h	2013-04-24 01:10:51 UTC (rev 149013)
+++ trunk/Source/_javascript_Core/parser/ParserError.h	2013-04-24 01:23:42 UTC (rev 149014)
@@ -56,6 +56,7 @@
     int m_line;
     ParserError()
         : m_type(ErrorNone)
+        , m_syntaxErrorType(SyntaxErrorNone)
         , m_line(-1)
     {
     }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to