summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzverok <[email protected]>2022-12-21 21:22:38 +0200
committerVictor Shepelev <[email protected]>2022-12-23 18:09:49 +0200
commit91076b2c595a83fd55b49f907b2f9d84d264e5a2 ()
tree24752e253e9107c7ded8229998fbe9cbc1bd4902
parent65920cfc40b47e9e037e0536b2b7de8f0cf30fc3 (diff)
Docs: Fix rendering of SyntaxError#path
Notes: Merged: https://.com/ruby/ruby/pull/6985
-rw-r--r--error.c8
1 files changed, 6 insertions, 2 deletions
@@ -3028,12 +3028,16 @@ Init_Exception(void)
rb_eSyntaxError = rb_define_class("SyntaxError", rb_eScriptError);
rb_define_method(rb_eSyntaxError, "initialize", syntax_error_initialize, -1);
/* the path failed to parse */
- rb_attr(rb_eSyntaxError, idPath, TRUE, FALSE, FALSE);
rb_eLoadError = rb_define_class("LoadError", rb_eScriptError);
/* the path failed to load */
- rb_attr(rb_eLoadError, idPath, TRUE, FALSE, FALSE);
rb_eNotImpError = rb_define_class("NotImplementedError", rb_eScriptError);