From 97177a2d99f7c38d6085ccba343a980031aec7cf Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 20 Apr 2016 01:25:55 +0000 Subject: 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 --- ChangeLog | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 344962a89a..3155dfe855 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +Wed Apr 20 10:25:53 2016 Nobuyoshi Nakada + + * 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. + Tue Apr 19 17:42:47 2016 Nobuyoshi Nakada * error.c (err_vcatf): rename, and separate appending message from -- cgit v1.2.3