Changes between Version 3 and Version 4 of Ticket #6877, comment 5


Ignore:
Timestamp:
09/11/2018 07:56:33 PM (2 years ago)
Author:
sebastian
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6877, comment 5

    v3 v4  
    4242I think the only way to correctly implement the semantics for headers and metadata is by resolving includes during parsing rather than during rendering. 
    4343 
    44 I first thought that we could just pass through the context while parsing includes during rendering, but we cannot since we'd end up with a volatile state (unknown context) after parsing an include. 
     44I first thought that we could just pass through the context while parsing includes during rendering, but we cannot since we'd end up with a volatile state (unknown context) after parsing an include without parsing the included source right away. 
    4545 
    4646Are there any reasons (other than it might be a larger change) against having the parser resolve the includes already?