summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorBen Bridle <bridle.benjamin@gmail.com>2023-12-19 18:46:41 +1300
committerBen Bridle <bridle.benjamin@gmail.com>2023-12-19 18:46:49 +1300
commit5e83592b5d5a50fb36f128980a08d04fdae3bd5f (patch)
tree025656107591d1b6c53f5c2a744b36099dcca27a /src/lib.rs
parent360a13ad170a8eb52cf125749129168581ace7fe (diff)
downloadbedrock-asm-5e83592b5d5a50fb36f128980a08d04fdae3bd5f.zip
Report preceding label name on assembly error
When the assembler encounters an error, the erroneous line and the line number are output in order to help the user to find where in the input file the error occurred. This is useful for single-file inputs, but the line number is generally not helpful if the input file was generated by concatenating multiple files. In order to help the user to determine where in the program source the error occurred, the assembler now reports the name of the label which directly precedes the erroneous line.
Diffstat (limited to 'src/lib.rs')
0 files changed, 0 insertions, 0 deletions