mirror of
https://github.com/systemd/systemd.git
synced 2024-11-26 19:53:45 +08:00
hwdb: make sure "ninja update-hwdb" works on f35
let's restore compatibility with pyparsing from fedora 35, i.e.: python3-pyparsing-2.4.7-9.fc35.noarch
This commit is contained in:
parent
98045d12f6
commit
133a000369
@ -20,7 +20,7 @@ COMMENTLINE = pythonStyleComment + EOL
|
||||
EMPTYLINE = LineEnd()
|
||||
text_eol = lambda name: Regex(r'[^\n]+')(name) + EOL
|
||||
|
||||
ParserElement.set_default_whitespace_chars(' \n')
|
||||
ParserElement.setDefaultWhitespaceChars(' \n')
|
||||
|
||||
def klass_grammar():
|
||||
klass_line = Literal('C ').suppress() + NUM2('klass') + text_eol('text')
|
||||
|
Loading…
Reference in New Issue
Block a user