Skip to content

Commit

Permalink
phase3: Allow "0x002C+N*0x04(N=0 – 3)".
Browse files Browse the repository at this point in the history
  • Loading branch information
daym committed May 2, 2022
1 parent ca786cc commit 82ed374
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phase3.py
Original file line number Diff line number Diff line change
Expand Up @@ -832,7 +832,7 @@ def parse_Register(rspec, field_word_count = 1):

return Register(name = register_name, meta = register_meta, header = register_header, bits = bits, reset_value = default_value, reset_mask = default_mask)

re_N_unicode_range = re.compile(r"[(]N\s*=\s*([0-9])+([0-9]+)[)]")
re_N_unicode_range = re.compile(r"[(]N\s*=\s*([0-9])+\s*–\s*([0-9]+)[)]")
re_N_to = re.compile(r"[(]N\s*=\s*([0-9]+) to ([0-9]+)[)]")
re_n_lt = re.compile(r"[(]([0-9]+)<n<([0-9]+)[)]")
re_n_le_lt = re.compile(r"[(]([0-9]+)≤n<([0-9]+)[)]")
Expand Down

0 comments on commit 82ed374

Please sign in to comment.