version 1.1, 1996/09/07 21:40:25 |
version 1.2, 1996/09/21 06:23:16 |
|
|
* else go to entry "errornr" |
* else go to entry "errornr" |
*/ |
*/ |
void |
void |
qf_jump(dir, errornr) |
qf_jump(dir, errornr, forceit) |
int dir; |
int dir; |
int errornr; |
int errornr; |
|
int forceit; |
{ |
{ |
struct qf_line *old_qf_ptr; |
struct qf_line *old_qf_ptr; |
int old_qf_index; |
int old_qf_index; |
|
|
* read the wanted file if needed, and check autowrite etc. |
* read the wanted file if needed, and check autowrite etc. |
*/ |
*/ |
if (qf_ptr->qf_fnum == 0 || buflist_getfile(qf_ptr->qf_fnum, |
if (qf_ptr->qf_fnum == 0 || buflist_getfile(qf_ptr->qf_fnum, |
(linenr_t)1, GETF_SETMARK) == OK) |
(linenr_t)1, GETF_SETMARK, forceit) == OK) |
{ |
{ |
/* |
/* |
* Go to line with error, unless qf_lnum is 0. |
* Go to line with error, unless qf_lnum is 0. |