You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C23 added this feature previously available in C++. This should
closesublimehq#3972 as well as both C and C++ now have syntax support for
the ' digit separator.
This was implemented by just copying the digit variables from the
C++ syntax file as it is the same construct in the end. The existing
tests were updated to fix the part of the existing tests were broken
by this new feature.
Furthermore, some tests from C++ were adapted for C to add better
testing for the new digit seperator. I also included tests for the
newer base 2 integer contants. The C file did not have any tests for
that yet.
C23 added this feature previously available in C++. This should
closesublimehq#3972 as well as both C and C++ now have syntax support for
the ' digit separator.
This was implemented by just copying the digit variables from the
C++ syntax file as it is the same construct in the end. The existing
tests were updated to fix the part of the existing tests were broken
by this new feature.
Furthermore, some tests from C++ were adapted for C to add better
testing for the new digit seperator. I also included tests for the
newer base 2 integer contants. The C file did not have any tests for
that yet.
What happened?
the latest C standard introduced digit separators, i.e.
int foo() { return 1'000'000; }
.Sublime text will highlight '000' as a string instead
The text was updated successfully, but these errors were encountered: