WIP overhauling expression resolution
This commit is contained in:
6
examples/subsections/disabledtest1.hlog
Normal file
6
examples/subsections/disabledtest1.hlog
Normal file
@@ -0,0 +1,6 @@
|
||||
First output.
|
||||
Second output.
|
||||
Third output.
|
||||
Fourth output.
|
||||
Fifth output.
|
||||
Last output.
|
||||
10
examples/subsections/extra.hank
Normal file
10
examples/subsections/extra.hank
Normal file
@@ -0,0 +1,10 @@
|
||||
== other_section
|
||||
|
||||
= one
|
||||
|
||||
// The first subsection should be the default divert target
|
||||
Fifth output.
|
||||
|
||||
-> start.end
|
||||
|
||||
// TODO test labeled gathers within sections (although that is covered by The Intercept as well)
|
||||
35
examples/subsections/main.hank
Normal file
35
examples/subsections/main.hank
Normal file
@@ -0,0 +1,35 @@
|
||||
INCLUDE extra.hank
|
||||
-> start__one
|
||||
|
||||
== start
|
||||
|
||||
/* This example demonstrates that the janky code regulating subsection diverts all works.
|
||||
If this test ever breaks, God help you.*/
|
||||
Fourth output.
|
||||
|
||||
-> other_section
|
||||
|
||||
= one
|
||||
|
||||
First output.
|
||||
|
||||
-> two
|
||||
|
||||
= two
|
||||
|
||||
Second output.
|
||||
|
||||
-> three
|
||||
|
||||
= end
|
||||
Last output.
|
||||
|
||||
== three
|
||||
|
||||
-> three
|
||||
|
||||
= three
|
||||
|
||||
Third output.
|
||||
|
||||
-> start
|
||||
Reference in New Issue
Block a user