File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change
1
+ Version 6.2.0
2
+ - Made `virtual` a reserved keyword in C++
3
+
1
4
Version 6.1.6
2
5
- Added ability to double quote to include quotes in literal BASIC strings
3
6
- Allowed BASIC string constants to initialize other consts
Original file line number Diff line number Diff line change @@ -1025,6 +1025,7 @@ ConstructDefaultValue(AST *decl, AST *val)
1025
1025
%token C_THROW " throw"
1026
1026
%token C_THROWIF " __throwifcaught"
1027
1027
%token C_TRY " try"
1028
+ %token C_VIRTUAL " virtual"
1028
1029
1029
1030
// asm only tokens
1030
1031
%token C_ALIGNL " alignl"
Original file line number Diff line number Diff line change @@ -2449,6 +2449,7 @@ struct reservedword c_keywords[] = {
2449
2449
{ "__throw" , C_THROW },
2450
2450
{ "__throwifcaught" , C_THROWIF },
2451
2451
{ "__try" , C_TRY },
2452
+ { "__virtual" , C_VIRTUAL },
2452
2453
{ "typedef" , C_TYPEDEF },
2453
2454
{ "__typeof__" , C_TYPEOF },
2454
2455
{ "union" , C_UNION },
@@ -2473,6 +2474,7 @@ struct reservedword cpp_keywords[] = {
2473
2474
{ "true" , C_TRUE },
2474
2475
{ "try" , C_TRY },
2475
2476
{ "typeof" , C_TYPEOF },
2477
+ { "virtual" , C_VIRTUAL },
2476
2478
};
2477
2479
2478
2480
// keywords reserved in BASIC only in asm blocks
You can’t perform that action at this time.
0 commit comments