I got SyntaxError below. However, it didn't show the location and my file has over 20000 lines, so I didn't know how to fix it.
SyntaxError: Expected end of input or preamble, entry, string, or comment but "@" found.
at peg$buildStructuredError (/home/njzjz/codes/blog/node_modules/bibtex-parse/bibtex-parse.js:374:16)
I found in bibtex-parse.js:374, there is a location passed. So I added there
I got
SyntaxError
below. However, it didn't show the location and my file has over 20000 lines, so I didn't know how to fix it.I found in
bibtex-parse.js:374
, there is a location passed. So I added thereand I got
This is helpful. I hope the location can be printed by default.