Mercurial > hg > octave-avbm
changeset 373:916b341acffd
[project @ 1994-02-20 19:33:06 by jwe]
author | jwe |
---|---|
date | Sun, 20 Feb 1994 19:33:06 +0000 |
parents | c91ba20cd123 |
children | e56142acf900 |
files | src/lex.l |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lex.l +++ b/src/lex.l @@ -687,7 +687,8 @@ // Can be reset by defining a function. current_input_column = 1; - input_line_number = current_command_number - 1; + if (! reading_script_file) + input_line_number = current_command_number - 1; // Only ask for input from stdin if we are expecting interactive // input.