We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 394a77a commit fb820ebCopy full SHA for fb820eb
regression-tests/test-results/version
@@ -1,5 +1,5 @@
1
2
-cppfront compiler v0.3.0 Build 8C13:1356
+cppfront compiler v0.3.0 Build 8C13:1859
3
Copyright(c) Herb Sutter All rights reserved
4
5
SPDX-License-Identifier: CC-BY-NC-ND-4.0
source/build.info
@@ -1 +1 @@
-"8C13:1356"
+"8C13:1859"
source/io.h
@@ -782,7 +782,10 @@ auto process_cpp2_line(
782
if (prev != '\\' || prev2 == '\\') { in_string_literal = true; }
783
784
break;case '\'':
785
- if (prev != '\\' || prev2 == '\\') { in_char_literal = true; }
+ if (prev != '\\' || prev2 == '\\') {
786
+ // Also check that this isn't a digit separator
787
+ in_char_literal = !is_hexadecimal_digit(prev);
788
+ }
789
790
break;default: ;
791
}
0 commit comments