summaryrefslogtreecommitdiff
path: root/ext/ripper
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-23 07:19:17 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-23 07:19:17 +0000
commit0867b94cb9ec890d608beaa4d100a33508867727 (patch)
treeb65d557d24d775ed846318c6ab2efb4afa654f7c /ext/ripper
parent28f9e462fd71b274ec2a072ef673766739d3f277 (diff)
* ext/ripper/eventids2.c (token_to_eventid): supper __ENCODING__
keyword. [ruby-dev:36478] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/ripper')
-rw-r--r--ext/ripper/eventids2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/ripper/eventids2.c b/ext/ripper/eventids2.c
index 74ec1ce..a557a41 100644
--- a/ext/ripper/eventids2.c
+++ b/ext/ripper/eventids2.c
@@ -182,6 +182,7 @@ static const struct token_assoc {
{keyword_yield, &ripper_id_kw},
{keyword__FILE__, &ripper_id_kw},
{keyword__LINE__, &ripper_id_kw},
+ {keyword__ENCODING__, &ripper_id_kw},
{keyword_BEGIN, &ripper_id_kw},
{keyword_END, &ripper_id_kw},
{tAMPER, &ripper_id_op},