From 8b4d6722dde0468c0796bee69acbd8357d015947 Mon Sep 17 00:00:00 2001 From: deathaxe Date: Sun, 8 Dec 2024 15:15:07 +0100 Subject: [PATCH] [C] Adjust syntax tests --- C++/syntax_test_c.c | 2 +- Objective-C/syntax_test_objc.m | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/C++/syntax_test_c.c b/C++/syntax_test_c.c index f2102fa62c..de451da8fb 100644 --- a/C++/syntax_test_c.c +++ b/C++/syntax_test_c.c @@ -1174,9 +1174,9 @@ dec7 = 1234567890uLL; /* ^ punctuation.terminator - constant */ dec8 = 1'234_567'890s0f; +/* ^^^^^^^^^^^^^^^^ meta.number.integer.decimal.c */ /* ^^^^^ constant.numeric.value.c */ /* ^^^^ invalid.illegal.numeric.suffix.c */ -/* ^^^^^^ meta.number.integer.decimal.c */ /* ^^^ constant.numeric.value.c */ /* ^^^ invalid.illegal.numeric.suffix.c */ /* ^ punctuation.terminator - constant */ diff --git a/Objective-C/syntax_test_objc.m b/Objective-C/syntax_test_objc.m index 4a75072468..a94f7ff039 100644 --- a/Objective-C/syntax_test_objc.m +++ b/Objective-C/syntax_test_objc.m @@ -920,9 +920,9 @@ - (void)debugOutput:(NSString *)format, ... NS_FORMAT_FUNCTION(1,2) /* ^ punctuation.terminator - constant */ dec8 = 1'234_567'890s0f; +/* ^^^^^^^^^^^^^^^^ meta.number.integer.decimal.c */ /* ^^^^^ constant.numeric.value.c */ /* ^^^^ invalid.illegal.numeric.suffix.c */ -/* ^^^^^^ meta.number.integer.decimal.c */ /* ^^^ constant.numeric.value.c */ /* ^^^ invalid.illegal.numeric.suffix.c */ /* ^ punctuation.terminator - constant */