Implement -Wunmatched-directive

This commit is contained in:
Rangi42
2024-11-28 14:06:52 -05:00
committed by Eldred Habert
parent 9216485bca
commit a27f704c25
15 changed files with 51 additions and 0 deletions

View File

@@ -192,6 +192,7 @@ _rgbasm_completions() {
shift-amount
truncation
unmapped-char
unmatched-directive
unterminated-load
user
all

View File

@@ -26,6 +26,7 @@ _rgbasm_warnings() {
'shift-amount:Warn when a shift'\''s operand it negative or \> 32'
'truncation:Warn when implicit truncation loses bits'
'unmapped-char:Warn on unmapped character'
'unmatched-directive:Warn on unmatched directive pair'
'unterminated-load:Warn on LOAD without ENDL'
'user:Warn when executing the WARN built-in'
)