diff --git a/spec/fixtures/integration/named_references.y b/spec/fixtures/integration/named_references.y index 6ff3d701..80c1676a 100644 --- a/spec/fixtures/integration/named_references.y +++ b/spec/fixtures/integration/named_references.y @@ -1,18 +1,6 @@ %{ #include -typedef struct code_location { - int first_line; - int first_column; - int last_line; - int last_column; -#ifdef __cplusplus - code_location() - : first_line(0), first_column(0), last_line(0), last_column(0) {} -#endif -} code_location_t; - -#define YYLTYPE code_location_t #define YYLLOC_DEFAULT(Current, Rhs, N) \ do \ if (N) \ diff --git a/spec/fixtures/integration/typed_midrule_actions.y b/spec/fixtures/integration/typed_midrule_actions.y index 5570ad67..435cc076 100644 --- a/spec/fixtures/integration/typed_midrule_actions.y +++ b/spec/fixtures/integration/typed_midrule_actions.y @@ -1,18 +1,6 @@ %{ #include -typedef struct code_location { - int first_line; - int first_column; - int last_line; - int last_column; -#ifdef __cplusplus - code_location() - : first_line(0), first_column(0), last_line(0), last_column(0) {} -#endif -} code_location_t; - -#define YYLTYPE code_location_t #define YYLLOC_DEFAULT(Current, Rhs, N) \ do \ if (N) \