- struct declaration_struct *event_header;
- struct declaration_struct *event_context;
- struct declaration_struct *packet_context;
+ /* Declarations only used when parsing */
+ struct declaration_struct *packet_context_decl;
+ struct declaration_struct *event_header_decl;
+ struct declaration_struct *event_context_decl;
+
+ /* Definitions used afterward */
+ struct definition_struct *packet_context;
+ struct definition_struct *event_header;
+ struct definition_struct *event_context;