Fix comment parsing (#12750)
Co-authored-by: Erovia <Erovia@users.noreply.github.com>
This commit is contained in:
parent
0ec438289d
commit
5d27c772fd
2 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ from milc import cli
|
|||
from qmk.comment_remover import comment_remover
|
||||
|
||||
default_key_entry = {'x': -1, 'y': 0, 'w': 1}
|
||||
single_comment_regex = re.compile(r' */[/*].*$')
|
||||
single_comment_regex = re.compile(r'\s+/[/*].*$')
|
||||
multi_comment_regex = re.compile(r'/\*(.|\n)*?\*/', re.MULTILINE)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue