Skip to content

Commit

Permalink
cc: correct reported line #
Browse files Browse the repository at this point in the history
  • Loading branch information
jmalak committed Nov 24, 2024
1 parent 2c36355 commit dd47f83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bld/cc/c/cgetch.c
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ void CloseFCB( FCB *fcb )
if( fcb->no_eol ) {
source_loc err_loc;

err_loc.line = fcb->src_line_cnt;
err_loc.line = fcb->src_line_cnt - 1;
err_loc.column = fcb->src_loc.column;
err_loc.fno = fcb->src_flist->index;
SetErrLoc( &err_loc );
Expand Down

0 comments on commit dd47f83

Please sign in to comment.