view test/publish/test_script_code_only.m @ 30920:47cbc69e66cd

eliminate direct access to call stack from evaluator The call stack is an internal implementation detail of the evaluator. Direct access to it outside of the evlauator should not be needed. * pt-eval.h (tree_evaluator::get_call_stack): Delete.
author John W. Eaton <jwe@octave.org>
date Fri, 08 Apr 2022 15:19:22 -0400
parents 273db03ab762
children
line wrap: on
line source


% Code only with a very very very very very very very very very very looong line
%
x = 5;

for i = 1:5
  x += i;  # Might be useful "perhaps"
endfor

%{
Multiline comment with keyword if "if" and 'if'
%}

if (x == 'a')
  y = sin (x);
endif

#{
Multiline comment with keyword if "if" and 'if'
#}

str = "some % string \" ' with %{";
str2 = 'another % string '' " with %{';
%