c.tmbundle icon indicating copy to clipboard operation
c.tmbundle copied to clipboard

Support more C integer literal suffix syntaxes

Open JosephPecoraro opened this issue 3 years ago • 1 comments

https://en.cppreference.com/w/cpp/language/integer_literal

  • Allow for z for size_t with C++23 / C++2b.
  • Allow for the u to be either before or after the l, ll, or z.
  • Allow for intermixing case everywhere except for the ll or LL unit.

Before: before

After: after

JosephPecoraro avatar Feb 03 '22 17:02 JosephPecoraro

@sorbits Hoping this is an easy change to review!

JosephPecoraro avatar Feb 28 '22 18:02 JosephPecoraro