C++: Silence a number of bogus consistency errors in syntax zoo

These were due to several functions occurring that would have the same TRAP
key. By making the functions static the TRAP keys will differ from each other.
This commit is contained in:
Jeroen Ketema
2023-03-03 11:16:19 +01:00
parent c2efb4d232
commit f649def3f8
52 changed files with 73 additions and 401 deletions

View File

@@ -3,7 +3,7 @@ class C {
C(int x, int y);
};
void f() {
static void f() {
int i, j, k, l;
C c(i + j, k - l);
}