Skip to content
Commit 218cc710 authored by Preston Timmons's avatar Preston Timmons Committed by Tim Graham
Browse files

[1.9.x] Fixed #25848 -- Set template origin on each node.

Prior to 55f12f87, the template origin was available on each node via
`self.token.source[0]`. This behavior was removed when debug handling was
simplified, but 3rd-party debugging tools still depend on its presence.
This updates the Parser to set origin on individual nodes. This enables the
source template to be determined even when template extending or including is
used.

Backport of cfda1fa3 from master
parent 645fddcd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment