Mercurial > octave
diff libinterp/parse-tree/oct-parse.in.yy @ 21581:6fab85c1538f
maint: Follow Octave conventions for use of semicolon in BIST tests.
* testfun.txi: Document Octave conventions for use of semicolon in BIST tests.
* cellfun.cc, ellipj.cc, file-io.cc, gcd.cc, hash.cc, nproc.cc,
utils.cc, fftw.cc, ov-usr-fcn.cc, oct-parse.in.yy, md5sum.m, wavread.m, wavwrite.m,
cplxpair.m, rat.m, im2double.m, rref.m, stem3.m, rotate.m, pchip.m, blackman.m,
hamming.m, hanning.m, spectral_adf.m, spectral_xdf.m, assert.m, fail.m,
etime.m, build-sparse-tests.sh, classes.tst, ctor-vs-method.tst, index.tst,
io.tst, struct.tst: Follow Octave conventions for use of semicolon in BIST
tests.
author | Rik <rik@octave.org> |
---|---|
date | Fri, 01 Apr 2016 18:16:01 -0700 |
parents | ecce63c99c3f |
children | ad90fb5a139f |
line wrap: on
line diff
--- a/libinterp/parse-tree/oct-parse.in.yy Fri Apr 01 16:03:29 2016 -0700 +++ b/libinterp/parse-tree/oct-parse.in.yy Fri Apr 01 18:16:01 2016 -0700 @@ -5119,7 +5119,7 @@ %! [a,] = gcd (1,2); %! [a,b,] = gcd (1, 2); -%!error eval ("switch = 13;"); +%!error eval ("switch = 13;") */ @@ -5170,7 +5170,7 @@ /* -%!error assignin ("base", "switch", "13"); +%!error assignin ("base", "switch", "13") */ @@ -5390,7 +5390,7 @@ %! warning ("off", "quiet", "local"); %! assert (evalc ("error ('foo')", "warning ('bar')"), "warning: bar\n"); -%!error evalc ("switch = 13;"); +%!error evalc ("switch = 13;") */