From c8cad3289fd60d7477d3cb0c582a75dfcbcb420a Mon Sep 17 00:00:00 2001 From: James Buren Date: Mon, 28 Oct 2024 20:31:44 -0500 Subject: [PATCH] [C] Add %b scanf/printf support This was added in C23 alongside binary integer constant support, which is already implemented though this was still missing. --- C++/C.sublime-syntax | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C++/C.sublime-syntax b/C++/C.sublime-syntax index 2d5ae514fa..76c1c3c857 100644 --- a/C++/C.sublime-syntax +++ b/C++/C.sublime-syntax @@ -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: