[5461] in Athena Bugs
vax 7.0F: matlab
daemon@ATHENA.MIT.EDU (lwvanels@ATHENA.MIT.EDU)
Mon Jul 9 14:11:59 1990
From: lwvanels@ATHENA.MIT.EDU
Date: Mon, 9 Jul 90 14:11:46 -0400
To: bugs@ATHENA.MIT.EDU
Cc: armann@ATHENA.MIT.EDU
System name: Smash
Type and version: CVAXSTAR 7.0F
Display type: SG
What were you trying to do?
Locate lines in .m files containing errors, according to the line
numbers in the error messages.
What's wrong:
Matlab does not correctly keep track of the line number as it is
parsing the file; it will print out the text of the line with the
error with an incorrect line number.
There are several causes to this, not all of which I have tracked
down. For example, when it is parsing a matrix, it only counts the
matrix as one "line", no matter how many physical lines it actually
spans.
What should have happened:
Matlab should correctly count the lines.