2439905184 / 2439905184/bkscr-parser

关于换行符问题 重要

未關閉
#1 1 則留言 0 個 reaction 已指派 1 人 已被 @2439905184 認領 在 GitHub 檢視
bug
主要語言
Python
星號
2
分支
0
PR 合併指標
30 天內沒有已合併 PR

描述

需要吧file.read()
换成file.readlines()并传递给扫描器,
不然无法处后续的行数问题

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

Look for where file.read() is used in the parser code, likely in the scanner/tokenizer. Replace it with file.readlines() to enable line number tracking. Check the scanner's initialization to see how it expects input. Run existing tests to ensure the change doesn't break parsing.

由索引模型根據 Issue 內容生成。

評估

領域
compilers
Issue 類型
缺陷
難度
2/5
預估耗時
1-3 小時
活躍度
停滯
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。