ast2 test fix for osx, catch parseString errors, handle type field comments

This commit is contained in:
Ganesh Viswanathan 2020-04-02 18:17:36 -05:00
commit ced9c14828
5 changed files with 54 additions and 39 deletions

View file

@ -45,11 +45,11 @@ typedef struct { char *a1; int *a2[1]; } A19, *A19p;
typedef struct A20 { char a1; } A20, A21, *A21p;
//Expression
typedef struct A22 { int **f1; int *f2[123+132]; } A22;
typedef struct A22 { const int **f1; int *f2[123+132]; } A22;
//Unions
union U1 {int f1; float f2; };
typedef union U2 { int **f1; int abc[123+132]; } U2;
typedef union U2 { const int **f1; int abc[123+132]; } U2;
// Enums
@ -157,11 +157,11 @@ typedef struct { char *a1; int *a2[1]; } A19, *A19p;
typedef struct A20 { char a1; } A20, A21, *A21p;
//Expression
typedef struct A22 { int **f1; int *f2[123+132]; } A22;
typedef struct A22 { const int **f1; int *f2[123+132]; } A22;
//Unions
union U1 {int f1; float f2; };
typedef union U2 { int **f1; int abc[123+132]; } U2;
typedef union U2 { const int **f1; int abc[123+132]; } U2;
// Enums
@ -220,4 +220,4 @@ typedef enum VSPresetFormat {
#ifdef __cplusplus
}
#endif
#endif