Fix comment parsing (#12750)

Co-authored-by: Erovia <[email protected]>
This commit is contained in:
Zach WhiteandErovia authored and GitHub committed 2021-05-03 19:09:53 +02:00
1 parent 0ec438289d
commit 5d27c772fd
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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)