diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-19 08:42:50 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-19 08:42:50 +0000 |
commit | 0818b7d4ad638b5d30d7d4b6ddb86ab7c942744d (patch) | |
tree | a4df94058a4eb2ffee9c16426b4921b3870c26bd /compile.c | |
parent | de64e17f662930452708c4ab104491cf097f6b09 (diff) | |
download | ruby-0818b7d4ad638b5d30d7d4b6ddb86ab7c942744d.tar.gz |
refactor parser error
* error.c (err_vcatf): rename, and separate appending message from
creating a string buffer.
* error.c (rb_syntax_error_append): merge rb_error_vsprintf and
rb_compile_err_append.
* parse.y (parser_compile_error): use rb_syntax_error_append.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'compile.c')
0 files changed, 0 insertions, 0 deletions