template-glib issueshttps://gitlab.gnome.org/GNOME/template-glib/-/issues2018-05-06T21:47:34Zhttps://gitlab.gnome.org/GNOME/template-glib/-/issues/5Dynamic includes2018-05-06T21:47:34ZZander Brownzbrown@gnome.orgDynamic includesMe again,
Practical experience and looking at tmpl-token.c `include` only supports hardcoded "-ed strings for referencing files. In fact trying to use a variable (`{{include addr}}`) will crash the host application with
```
tmpl-lexer:...Me again,
Practical experience and looking at tmpl-token.c `include` only supports hardcoded "-ed strings for referencing files. In fact trying to use a variable (`{{include addr}}`) will crash the host application with
```
tmpl-lexer:ERROR:../src/tmpl-lexer.c:146:tmpl_lexer_next: assertion failed: (path != NULL)
```
Is this the desired result? It seems to me we should at least return an error instead of crashing out.
I'm happy to try and implement this myself but I don't want to open an unwanted MR