diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-12-12 21:29:53 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-12-12 21:29:53 +0000 |
commit | 0f9662f3660bd98a0a31196b4bef82aa78b0529c (patch) | |
tree | c8840d99a54e978ccda1f75c1d46ef82b8ca533d /parse.y | |
parent | a3eaaf89679b2e0c5c834d00fdaf7b6fabc271e4 (diff) | |
download | ruby-0f9662f3660bd98a0a31196b4bef82aa78b0529c.tar.gz |
* parse.y (parser_magic_comment): should pass the proper value.
[ruby-dev:44984][Bug #5753]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -6550,6 +6550,7 @@ parser_magic_comment(struct parser_params *parser, const char *str, long len) } } while (++p < magic_comments + numberof(magic_comments)); #else + str_copy(val, vbeg, vend - vbeg); dispatch2(magic_comment, name, val); #endif } |