Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'include' command doesn't work with variable argument names #58

Open
saltzm opened this issue Jul 18, 2018 · 1 comment
Open

'include' command doesn't work with variable argument names #58

saltzm opened this issue Jul 18, 2018 · 1 comment

Comments

@saltzm
Copy link

saltzm commented Jul 18, 2018

It would be really nice to be able to do things like:

var file = "my_file.js.dna" ./!include(file)
but instead this causes "Bad command syntax". The same thing works with e.g. the output command, though. I'd like to be able to pass in a file to include as a command line argument but because of this limitation, I can't.

I realize that it's because doing includes happens in a different path in the rna generation phase than the output related commands, but it seems like some workaround should be possible.

@sustrik
Copy link
Owner

sustrik commented Jul 18, 2018

Sounds reasonable. I would accept a patch to that effect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants