You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The fhicl-expand utility expands inline the #include directives, but it does not say it's doing it.
When debugging some problem, that information might be useful. For example, in the case illustrated in Redmine issue 17893, it would allow to quickly know what file included the FHiCL file in the error message.
This is a request for an option --annotate-include (better name welcome) which would have fhicl-expand insert in the expansion annotations like:
### fhicl-expand: including "/path/to/include1.fcl" from "master.fcl" line 2
and
### fhicl-expand: end of included "/path/to/include1.fcl"
Note that in the use case in Redmine issue 17893, fhicl-dump would not help since it fails parsing and just prints an error message.
The text was updated successfully, but these errors were encountered:
This issue has been migrated from https://cdcvs.fnal.gov/redmine/issues/17933 (FNAL account required)
Originally created by @PetrilloAtWork on 2017-10-17 17:00:13
The
fhicl-expand
utility expands inline the#include
directives, but it does not say it's doing it.When debugging some problem, that information might be useful. For example, in the case illustrated in Redmine issue 17893, it would allow to quickly know what file included the FHiCL file in the error message.
This is a request for an option
--annotate-include
(better name welcome) which would havefhicl-expand
insert in the expansion annotations like:and
Note that in the use case in Redmine issue 17893,
fhicl-dump
would not help since it fails parsing and just prints an error message.The text was updated successfully, but these errors were encountered: