aboutsummaryrefslogtreecommitdiffstats
path: root/hash.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-20 01:25:55 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-20 01:25:55 +0000
commitca7e4e033c334ea1b9a676413f759f0e9059fc37 (patch)
tree006f7d88aff9629cb1fae9cc244afec1fb0b1ec8 /hash.c
parent0818b7d4ad638b5d30d7d4b6ddb86ab7c942744d (diff)
downloadruby-ca7e4e033c334ea1b9a676413f759f0e9059fc37.tar.gz
refactor syntax error
* compile.c (append_compile_error): use rb_syntax_error_append. * error.c (rb_syntax_error_append): append messages into a SyntaxError exception instance. * parse.y (yycompile0): make new SyntaxError instance in main mode, otherwize error_buffer should be a SyntaxError if error has occurred. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'hash.c')
0 files changed, 0 insertions, 0 deletions