Add position info to ASTNode
CharlesAverill opened this issue · 1 comments
CharlesAverill commented
ASTNodes should have filename
, line_number
, and character_number
attributes so that compile errors found in the code generation phase print out the correct position information instead of EOF
CharlesAverill commented
Kinda works, good enough for now. Will revisit later.