Mercurial > octave-nkf
diff src/lex.l @ 2926:66ef74ee5d9f
[project @ 1997-05-05 03:20:52 by jwe]
author | jwe |
---|---|
date | Mon, 05 May 1997 03:40:21 +0000 |
parents | 5ed088015839 |
children | b9e64477f703 |
line wrap: on
line diff
--- a/src/lex.l Sat May 03 21:24:19 1997 +0000 +++ b/src/lex.l Mon May 05 03:40:21 1997 +0000 @@ -37,6 +37,8 @@ #include "SLStack.h" +#include "cmd-edit.h" + // These would be alphabetical, but y.tab.h must be included before // oct-gperf.h and y.tab.h must be included after token.h and the tree // class declarations. We can't include y.tab.h in oct-gperf.h @@ -701,7 +703,7 @@ if (! (reading_script_file || reading_fcn_file)) { current_input_column = 1; - input_line_number = current_command_number - 1; + input_line_number = command_editor::current_command_number () - 1; } // Only ask for input from stdin if we are expecting interactive