annotate test/bug-36025/@testclass/testclass.m @ 14507:3f21c0c34b8f

check for function/file name mismatch when parsing class methods * oct-parse.yy (frob_function): Also check for and repair function name/file name mismatch when parsing class methods. * test/bug-36025: New test directory. * test/Makefile.am: Include bug-36025/module.mk.
author John W. Eaton <jwe@octave.org>
date Wed, 28 Mar 2012 23:21:44 -0400
parents
children b1283d4c06c2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
14507
3f21c0c34b8f check for function/file name mismatch when parsing class methods
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 function m=testclass(x,y)
3f21c0c34b8f check for function/file name mismatch when parsing class methods
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2 m=struct('x',x,'y',y);
3f21c0c34b8f check for function/file name mismatch when parsing class methods
John W. Eaton <jwe@octave.org>
parents:
diff changeset
3 m=class(m,"testclass");