diff --git a/M2/Macaulay2/d/interp.dd b/M2/Macaulay2/d/interp.dd index 81b9abbb85a..3aabc8f672e 100644 --- a/M2/Macaulay2/d/interp.dd +++ b/M2/Macaulay2/d/interp.dd @@ -108,6 +108,8 @@ readeval4(file:TokenFile,printout:bool,dictionary:Dictionary,returnLastvalue:boo if fileError(file) then return buildErrorPacket(fileErrorMessage(file)); if stopIfError || returnIfError then return buildErrorPacket("--backtrace: token read error--"); if isatty(file) || file.posFile.file.fulllines then flushToken(file); + file.posFile.line = file.posFile.line + 1; + file.posFile.column = ushort(0); ) ) else (