changeset 31049:d5997bbdb641

maint: merge stable to default
author John W. Eaton <jwe@octave.org>
date Tue, 31 May 2022 23:34:23 -0400
parents c55c6b91447f (current diff) 1589a7967d1e (diff)
children 5f015f2829b7
files libinterp/parse-tree/lex.ll
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/parse-tree/lex.ll	Tue May 31 21:41:51 2022 +0200
+++ b/libinterp/parse-tree/lex.ll	Tue May 31 23:34:23 2022 -0400
@@ -3575,9 +3575,7 @@
     //   pi +1
     //
     // are parsed as an addition expression instead of as a command-style
-    // function call with the argument "+1".  Also for compatibility with
-    // Matlab, if we are at the top level workspace, do not consider IDENT
-    // as a possible command if it is already known to be a variable.
+    // function call with the argument "+1".
 
     if (m_at_beginning_of_statement
         && ! (m_parsing_anon_fcn_body