0
我的問題是,我解析的語言需要在代碼的兩個部分中聲明相同的變量。這就是我的意思是:兩次在代碼中解析相同的變量聲明
forward declaration
type variable_name
end type
end forward declaration
type variable_name
end type
語法同時獲得和樹是好的,但我不能避免「不匹配輸入」反正。
處理這種可重複結構的方式是什麼?誰能幫忙?謝謝。