mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-22 13:33:56 +03: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()
|
EMPTYLINE = LineEnd()
|
||||||
text_eol = lambda name: Regex(r'[^\n]+')(name) + EOL
|
text_eol = lambda name: Regex(r'[^\n]+')(name) + EOL
|
||||||
|
|
||||||
ParserElement.set_default_whitespace_chars(' \n')
|
ParserElement.setDefaultWhitespaceChars(' \n')
|
||||||
|
|
||||||
def klass_grammar():
|
def klass_grammar():
|
||||||
klass_line = Literal('C ').suppress() + NUM2('klass') + text_eol('text')
|
klass_line = Literal('C ').suppress() + NUM2('klass') + text_eol('text')
|
||||||
|
Loading…
Reference in New Issue
Block a user