Mercurial > hg > octave-jordi
diff src/lex.l @ 373:916b341acffd
[project @ 1994-02-20 19:33:06 by jwe]
author | jwe |
---|---|
date | Sun, 20 Feb 1994 19:33:06 +0000 |
parents | 4115f7713851 |
children | 116ab89ce023 |
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.