Skip to content

Commit c970476

Browse files
braewoodsJames Buren
andauthored
[C] Add %b scanf/printf support (#4072)
This was added in C23 alongside binary integer constant support, which is already implemented though this was still missing. Co-authored-by: James Buren <[email protected]>
1 parent 780041a commit c970476

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

C++/C.sublime-syntax

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ contexts:
183183
((-?\d+)|\*(-?\d+\$)?)? # minimum field width
184184
(\.((-?\d+)|\*(-?\d+\$)?)?)? # precision
185185
(hh|h|ll|l|j|t|z|q|L|vh|vl|v|hv|hl)? # length modifier
186-
(\[[^\]]+\]|[am]s|[diouxXDOUeEfFgGaACcSspn%]) # conversion type
186+
(\[[^\]]+\]|[am]s|[diouxXbDOUeEfFgGaACcSspn%]) # conversion type
187187
scope: constant.other.placeholder.c
188188
189189
keywords:

0 commit comments

Comments
 (0)