Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
通过 bisoc++ 使用语法解析源文件时,我想获取标记的行号。为此,我启用了%lsp-needed. 现在,当我使用@1.first_lineand访问行号时@1.last_line,即使标记不是来自第 0 行,两者都打印 0。
%lsp-needed
@1.first_line
@1.last_line