Mercurial > hg > octave-nkf
comparison NEWS @ 12400:5252f12537f8
don't warn about coercing nested functions to subfunctions if yyparse failed
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 08 Feb 2011 03:22:12 -0500 |
parents | abcd61f965e5 |
children | b7d0d6044bd7 ecc90fe7c838 |
comparison
equal
deleted
inserted
replaced
12399:824b3e0ab12a | 12400:5252f12537f8 |
---|---|
572 t = y + x; | 572 t = y + x; |
573 #} | 573 #} |
574 endfunction | 574 endfunction |
575 | 575 |
576 the lines "s *= y;" and "t = y + x" will not be executed. | 576 the lines "s *= y;" and "t = y + x" will not be executed. |
577 | |
578 ** If any subfunction in a file ends with "end" or "endfunction", then | |
579 they all must end that way. Previously, Octave accepted | |
580 | |
581 function main () | |
582 ... | |
583 # no endfunction here. | |
584 function sub () | |
585 ... | |
586 endfunction | |
587 | |
588 but this is no longer allowed. | |
577 | 589 |
578 ** Special treatment in the parser of expressions like "a' * b". | 590 ** Special treatment in the parser of expressions like "a' * b". |
579 | 591 |
580 In these cases the transpose is no longer explicitly formed and | 592 In these cases the transpose is no longer explicitly formed and |
581 BLAS libraries are called with the transpose flagged, | 593 BLAS libraries are called with the transpose flagged, |