diff options
author | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-09-19 05:50:17 +0000 |
---|---|---|
committer | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-09-19 05:50:17 +0000 |
commit | ae860f9a569206fff8c1372ef21dc6ac88ad3215 (patch) | |
tree | 00b71ebc39d4a599a403c88eddb8d44abdcdd020 /ext/ripper/eventids2.c | |
parent | dfd45277d09d7126898d4929a81ae2f7c39dea48 (diff) | |
download | ruby-ae860f9a569206fff8c1372ef21dc6ac88ad3215.tar.gz |
* ext/ripper/eventids2.c: add prefix `t' to lambda related lexer events.
* ext/ripper/lib/ripper/core.rb: updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/ripper/eventids2.c')
-rw-r--r-- | ext/ripper/eventids2.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/ext/ripper/eventids2.c b/ext/ripper/eventids2.c index fc8e28ea68..90e677ed85 100644 --- a/ext/ripper/eventids2.c +++ b/ext/ripper/eventids2.c @@ -43,9 +43,9 @@ static ID ripper_id_words_sep; static ID ripper_id_regexp_beg; static ID ripper_id_regexp_end; static ID ripper_id_label; -static ID ripper_id_lambda; -static ID ripper_id_lambda_arg; -static ID ripper_id_lambeg; +static ID ripper_id_tlambda; +static ID ripper_id_tlambda_arg; +static ID ripper_id_tlambeg; static ID ripper_id_ignored_nl; static ID ripper_id_comment; @@ -95,9 +95,9 @@ ripper_init_eventids2() ripper_id_regexp_beg = rb_intern("on_regexp_beg"); ripper_id_regexp_end = rb_intern("on_regexp_end"); ripper_id_label = rb_intern("on_label"); - ripper_id_lambda = rb_intern("on_lambda"); - ripper_id_lambda_arg = rb_intern("on_lambda_arg"); - ripper_id_lambeg = rb_intern("on_lambeg"); + ripper_id_tlambda = rb_intern("on_tlambda"); + ripper_id_tlambda_arg = rb_intern("on_tlambda_arg"); + ripper_id_tlambeg = rb_intern("on_tlambeg"); ripper_id_ignored_nl = rb_intern("on_ignored_nl"); ripper_id_comment = rb_intern("on_comment"); @@ -243,9 +243,9 @@ static struct token_assoc { {tWORDS_BEG, &ripper_id_words_beg}, {tXSTRING_BEG, &ripper_id_backtick}, {tLABEL, &ripper_id_label}, - {tLAMBDA, &ripper_id_lambda}, - {tLAMBDA_ARG, &ripper_id_lambda_arg}, - {tLAMBEG, &ripper_id_lambeg}, + {tLAMBDA, &ripper_id_tlambda}, + {tLAMBDA_ARG, &ripper_id_tlambda_arg}, + {tLAMBEG, &ripper_id_tlambeg}, /* ripper specific tokens */ {tIGNORED_NL, &ripper_id_ignored_nl}, |