diff options
Diffstat (limited to 'ext/ripper/ripper.rb.in')
-rw-r--r-- | ext/ripper/ripper.rb.in | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/ext/ripper/ripper.rb.in b/ext/ripper/ripper.rb.in index 5547206428..295dd1e353 100644 --- a/ext/ripper/ripper.rb.in +++ b/ext/ripper/ripper.rb.in @@ -23,7 +23,6 @@ class Ripper # This table contains name of scanner events and its arity # (arity is always 1 for all scanner events). - # on__scan is NOT a scanner event. SCANNER_EVENT_TABLE = { #include ids2 } @@ -31,7 +30,7 @@ class Ripper # This array contains name of scanner events. SCANNER_EVENTS = SCANNER_EVENT_TABLE.keys - # This table contains name of all ripper events, except on__scan. + # This table contains name of all ripper events. EVENTS = PARSER_EVENTS + SCANNER_EVENTS ### ### @@ -57,8 +56,7 @@ class Ripper # # Lexer Events # - - def on__scan(event, token) - end #include handlers2 end + +require 'ripper/tokenizer' |