Question about calling rules from within a generator

Thomas Brown via Boost-build <[email protected]> Mon, 1 Apr 2019 16:31:43 -0400
Newsgroups gmane.comp.lib.boost.build
Message-ID <CAKCi8xBwmHFBKLFqgjTHu-v8zdTyFaLaXVDuo9NqCDLj9Ruqmw@mail.gmail.com>
I was trying to use the assert module to check various assumptions
within my custom generator class when I found it is not possible to
call those rules.  This is also true of other user-defined rules
within the same file as the generator.  Is this expected?

See the attached file for a minimal example that shows the issue.  The
project will run correctly after commenting out the call to
`assert.true` in `g.jam`.

Best,
Tom

_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build
tmp.fff (application/octet-stream, 8 B) - not displayed
Jamroot (application/octet-stream, 30 B) - not displayed
g.jam (application/octet-stream, 1.1 KB) - not displayed