only allow lower case hex character for jump locations so labels like FINISH WORK
This commit is contained in:
@@ -22,7 +22,7 @@ jump_argument = { jump_location | label}
|
||||
argument = { memory_location | digit_literal }
|
||||
memory_location = { "(" ~ ASCII_HEX_DIGIT ~")" }
|
||||
digit_literal = {"#" ~ ASCII_HEX_DIGIT}
|
||||
jump_location = { ASCII_HEX_DIGIT }
|
||||
jump_location = { '0'..'9' | 'a'..'f' }
|
||||
|
||||
label = { ASCII_ALPHA_UPPER+ }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user