-
Notifications
You must be signed in to change notification settings - Fork 231
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make unterminated strings error and range warnings better
Unterminated strings were mentioned in #29, I decided to make them an error because it was slightly technically easier. Also I don't know of any riscv assembler which allows unterminated strings. The range warnings for .byte and .half were improved to not warn on values the fit in an unsigned byte/half and to say exactly how the value is truncated. Now it matches how gcc handles it. This was mentioned in #5
- Loading branch information
1 parent
7148112
commit 0765746
Showing
3 changed files
with
9 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters