diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-21 07:38:07 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-21 07:38:07 +0000 |
commit | 2edcf87c1c30c29562fc52075896935ebf398367 (patch) | |
tree | ebe3d9efe134d0da8799fa2bc46b304879684526 /template/id.h.tmpl | |
parent | 298694a2fdf4451163299d61a49a15fe49ab598a (diff) |
id.def: check duplication
* defs/id.def (KeywordError): check duplication.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'template/id.h.tmpl')
-rw-r--r-- | template/id.h.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/template/id.h.tmpl b/template/id.h.tmpl index 8df17b398b..1573247c86 100644 --- a/template/id.h.tmpl +++ b/template/id.h.tmpl @@ -21,7 +21,7 @@ token_op_ids = %w[ tCOLON2 tCOLON3 ] -defs = File.join(File.dirname(erb.filename), "../defs/id.def") +defs = File.join(File.dirname(File.dirname(erb.filename)), "defs/id.def") ids = eval(File.read(defs), binding, defs) types = ids.keys.grep(/^[A-Z]/) %> |