Skip to content

Commit

Permalink
[C] Add %b scanf/printf support (#4072)
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
braewoods and James Buren authored Oct 30, 2024
1 parent 780041a commit c970476
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion C++/C.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ contexts:
((-?\d+)|\*(-?\d+\$)?)? # minimum field width
(\.((-?\d+)|\*(-?\d+\$)?)?)? # precision
(hh|h|ll|l|j|t|z|q|L|vh|vl|v|hv|hl)? # length modifier
(\[[^\]]+\]|[am]s|[diouxXDOUeEfFgGaACcSspn%]) # conversion type
(\[[^\]]+\]|[am]s|[diouxXbDOUeEfFgGaACcSspn%]) # conversion type
scope: constant.other.placeholder.c
keywords:
Expand Down

0 comments on commit c970476

Please sign in to comment.