Fix comment parsing (#12750)
Co-authored-by: Erovia <Erovia@users.noreply.github.com>
This commit is contained in:
@ -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)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user