- struct ctf_stream *stream; /* stream mapped by stream_id */
- struct declaration_scope *scope; /* parent is stream scope */
- struct declaration_struct *context;
- struct declaration_struct *fields;
+ /* stream mapped by stream_id */
+ struct ctf_stream *stream;
+ /* parent is lexical scope conaining the event scope */
+ struct declaration_scope *declaration_scope;
+
+ /* Declarations only used when parsing */
+ struct declaration_struct *context_decl;
+ struct declaration_struct *fields_decl;
+
+ /* Definitions used afterward */
+ struct definition_struct *context;
+ struct definition_struct *fields;