From 53952765f6dbd9073490d7f2a502a5aa161ec8ef Mon Sep 17 00:00:00 2001 From: "rogerl%netscape.com" Date: Mon, 20 Sep 1999 22:21:24 +0000 Subject: [PATCH] (Bug #13416) Turned off 'super' keyword - was letting through some cut'n'pasted java code quietly and blowing big chunks out of the codegen/interpreter later. Anybody know why 'super' had an interesting value here? - there was no support for it on any path that I could see. --- js/rhino/org/mozilla/javascript/TokenStream.java | 2 +- js/rhino/src/org/mozilla/javascript/TokenStream.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/rhino/org/mozilla/javascript/TokenStream.java b/js/rhino/org/mozilla/javascript/TokenStream.java index e31a567e4c2..a0ce414c566 100644 --- a/js/rhino/org/mozilla/javascript/TokenStream.java +++ b/js/rhino/org/mozilla/javascript/TokenStream.java @@ -549,7 +549,7 @@ public class TokenStream { RESERVED, // public RESERVED, // short RESERVED, // static - PRIMARY | (NOP << 8), // super + RESERVED, // super RESERVED, // synchronized THROW, // throw RESERVED, // throws diff --git a/js/rhino/src/org/mozilla/javascript/TokenStream.java b/js/rhino/src/org/mozilla/javascript/TokenStream.java index e31a567e4c2..a0ce414c566 100644 --- a/js/rhino/src/org/mozilla/javascript/TokenStream.java +++ b/js/rhino/src/org/mozilla/javascript/TokenStream.java @@ -549,7 +549,7 @@ public class TokenStream { RESERVED, // public RESERVED, // short RESERVED, // static - PRIMARY | (NOP << 8), // super + RESERVED, // super RESERVED, // synchronized THROW, // throw RESERVED, // throws