changeset 16645:450c03932d6c classdef

don't push superclass and metaclass tokens twice * lex.ll (metaclass and superclass patterns): Use count_token_internal, not count_token.
author John W. Eaton <jwe@octave.org>
date Sun, 12 May 2013 21:47:57 -0400
parents 856cb7cba231
children 7368654f302f
files libinterp/parse-tree/lex.ll
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/parse-tree/lex.ll	Sun May 12 21:45:57 2013 -0400
+++ b/libinterp/parse-tree/lex.ll	Sun May 12 21:47:57 2013 -0400
@@ -743,7 +743,7 @@
       {
         curr_lexer->looking_for_object_index = true;
 
-        return curr_lexer->count_token (id_tok);
+        return curr_lexer->count_token_internal (id_tok);
       }
   }
 
@@ -761,7 +761,7 @@
       {
         curr_lexer->looking_for_object_index = true;
 
-        return curr_lexer->count_token (id_tok);
+        return curr_lexer->count_token_internal (id_tok);
       }
   }