Mercurial > jwe > octave
view test/bug-54490.tst @ 31114:01e4f3882f54 stable
Fix regression with \color[rgb] tex pattern (bug #62668)
* oct-tex-lexer.ll.in: fix "\color[rgb]" pattern accidentally
altered with cset fa65184b7c76.
author | Pantxo Diribarne <pantxo.diribarne@gmail.com> |
---|---|
date | Fri, 24 Jun 2022 19:24:22 +0200 |
parents | 9080316864bf |
children |
line wrap: on
line source
%!function out = bug54490 () %! global k; %! k = 1; %! out = 3; %!endfunction %!test <*54490> %! global k; %! k = 2; %! a = [5, 6]; %! a(k) = bug54490 (); %! assert (a, [5, 3]); %! k = 2; %! a = [5, 6]; %! [a(k)] = bug54490 (); %! assert (a, [5, 3]); %! clear -global k; # cleanup after test