Skip to content

Commit

Permalink
Fix comment parsing (#12750)
Browse files Browse the repository at this point in the history
Co-authored-by: Erovia <[email protected]>
  • Loading branch information
skullydazed and Erovia authored May 3, 2021
1 parent 0ec4382 commit 5d27c77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion keyboards/monstargear/xo87/rgb/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#define MATRIX_COLS 16

#define BACKLIGHT_PIN F5
#define MATRIX_ROW_PINS { E6,E7, E3, B0, B1 ,A2}//
#define MATRIX_ROW_PINS { E6,E7, E3, B0, B1 ,A2}
#define MATRIX_COL_PINS { C5,C3,C1,E1,D6,D2,B7,B3,F6,F7,F3,A5,A1,E2,C7,A6 }
#define UNUSED_PINS
#define DIODE_DIRECTION ROW2COL
Expand Down
2 changes: 1 addition & 1 deletion lib/python/qmk/c_parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
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)


Expand Down

0 comments on commit 5d27c77

Please sign in to comment.