8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b8d189 commit ae58035Copy full SHA for ae58035
stmhal/make-stmconst.py
@@ -26,7 +26,7 @@ def __init__(self, line):
26
27
class Lexer:
28
re_io_reg = r'__IO uint(?P<bits>8|16|32)_t +(?P<reg>[A-Z0-9]+)'
29
- re_comment = r'(?P<comment>[A-Za-z0-9 \-/_()]+)'
+ re_comment = r'(?P<comment>[A-Za-z0-9 \-/_()&]+)'
30
re_addr_offset = r'Address offset: (?P<offset>0x[0-9A-Z]{2,3})'
31
regexs = (
32
('#define hex', re.compile(r'#define +(?P<id>[A-Z0-9_]+) +\(\(uint32_t\)(?P<hex>0x[0-9A-F]+)\)($| +/\*)')),
0 commit comments