# HG changeset patch # User John W. Eaton # Date 1706768714 18000 # Node ID 9144c66acf459a83dcad871bd45ecfd99ed7ca30 # Parent dc3ff08bfd3ff162547b9dd4d375e01924c20b04# Parent 212bb363f1fa798d094f929e01935ff39d381270 maint: merge default to bytecode-interpreter diff -r dc3ff08bfd3f -r 9144c66acf45 libinterp/parse-tree/oct-parse.yy --- a/libinterp/parse-tree/oct-parse.yy Thu Feb 01 00:34:58 2024 -0500 +++ b/libinterp/parse-tree/oct-parse.yy Thu Feb 01 01:25:14 2024 -0500 @@ -1845,11 +1845,11 @@ } ; -classdef : classdef_beg attr_list identifier opt_sep stash_comment superclass_list stash_comment class_body END +classdef : classdef_beg stash_comment attr_list identifier opt_sep superclass_list stash_comment class_body END { OCTAVE_YYUSE ($4); - octave::comment_list *lc = $5; + octave::comment_list *lc = $2; octave::comment_list *tc = lexer.get_comment (); if (lexer.m_classdef_help_text.empty () && $7 && ! $7->empty ()) @@ -1860,10 +1860,10 @@ lexer.m_parsing_classdef = false; - if (! ($$ = parser.make_classdef ($1, $2, $3, $6, $8, $9, + if (! ($$ = parser.make_classdef ($1, $3, $4, $6, $8, $9, lc, tc))) { - // make_classdef deleted $2, $3, $6, $8, LC, and + // make_classdef deleted $3, $4, $6, $8, LC, and // TC. YYABORT; }