# HG changeset patch # User John W. Eaton # Date 1368409677 14400 # Node ID 450c03932d6c5d9c65bfe268f80a3df7443e41d8 # Parent 856cb7cba231f397f401c8ec4005507d341b5e93 don't push superclass and metaclass tokens twice * lex.ll (metaclass and superclass patterns): Use count_token_internal, not count_token. diff -r 856cb7cba231 -r 450c03932d6c libinterp/parse-tree/lex.ll --- 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); } }