diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-09-13 04:47:10 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-09-13 04:47:10 +0000 |
commit | f41c0a54e2434e5982722195bf0297ed217c94db (patch) | |
tree | c8f0ecf064331922adb355af151568cf68dc328f /parse.y | |
parent | 9019911a2f1f356ea5c40d0d39c23ac5ceb4d363 (diff) |
* parse.y (rb_id2str): fixed typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -8529,7 +8529,6 @@ rb_intern_str(VALUE str) VALUE rb_id2str(ID id) { - const char *name; st_data_t data; if (id < tLAST_TOKEN) { @@ -8560,7 +8559,7 @@ rb_id2str(ID id) id2 = (id & ~ID_SCOPE_MASK) | ID_CONST; } str = rb_str_dup(str); - rb_str_cat(buf, "=", 1); + rb_str_cat(str, "=", 1); rb_intern_str(str); if (st_lookup(global_symbols.id_str, id, &data)) return (VALUE)data; |