diff --git a/contrib/bash_compl/_rgbasm.bash b/contrib/bash_compl/_rgbasm.bash index c69be07bf..1bf1e6275 100755 --- a/contrib/bash_compl/_rgbasm.bash +++ b/contrib/bash_compl/_rgbasm.bash @@ -191,8 +191,8 @@ _rgbasm_completions() { shift shift-amount truncation - unterminated-load unmapped-char + unterminated-load user all extra diff --git a/contrib/zsh_compl/_rgbasm b/contrib/zsh_compl/_rgbasm index fcb1bdbd6..8930d33a5 100644 --- a/contrib/zsh_compl/_rgbasm +++ b/contrib/zsh_compl/_rgbasm @@ -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' + 'unterminated-load:Warn on LOAD without ENDL' 'user:Warn when executing the WARN built-in' ) # TODO: handle `no-` and `error=` somehow? diff --git a/man/rgbasm.1 b/man/rgbasm.1 index 633d0a2b0..8a460e946 100644 --- a/man/rgbasm.1 +++ b/man/rgbasm.1 @@ -370,6 +370,13 @@ only warns if the active charmap is not empty. .Fl Wunmapped-char=2 warns if the active charmap is empty, and/or is not the default charmap .Sq main . +.It Fl Wunterminated-load +Warn when a +.Ic LOAD +block is not terminated by an +.Ic ENDL . +This warning is enabled by +.Fl Wextra . .It Fl Wno-user Warn when the .Ic WARN