Skip to content

Commit

Permalink
[C] Add %b scanf/printf support
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.
  • Loading branch information
James Buren committed Oct 29, 2024
1 parent 780041a commit c8cad32
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 c8cad32

Please sign in to comment.