abc2xml configured to parse single file failes on include statement
transfer xml into specific text-formats (html, dot, source-code, ...)
Brought to you by:
eckard_klotz
Hi Eckard,
while testing the possibility to configure abc2xml to parse a single file with
<Source>
<!-- to use a specific xml-file
<FileName value="anxSource.c" root="SourcePath" doNotSkip="No"/> -->
</Source>
I noticed that the first
#include "anyHeaderh"
forces abc2xml to break
BR
Wasili
Hello Wasili.
I added in one of my demo files which are called as single files also your include-line as first line.
The parser abc2xml had no problem with it and the associated content of the produced file
is this:
<preprocedure l="1" c="1">
<p_include l="1" c="1">
<keychr l="1" c="1">#</keychr>
<keyword l="1" c="2">include</keyword>
<p_text l="1" c="10">"anyHeaderh" </p_text>
</p_include>
</preprocedure>
You wrote:
Could it be that I have misunderstood you?
Mary Christmas, a happy new year and stay healthy,
Eckard.
Last edit: Eckard Klotz 2020-12-23
Hello Eckard,
on my system is a mixture of Moritz binaries from June 2020 and configuration files from the SVN repository from November I think. Maybe the behavior on my system is caused by this.
If on your system it is working as expected than its fine. I don't need this functionality by now.
BR
Wasili
Hello Wasili.
I assume that the source you have faced effect contains an additional problem that actually results in your issue.
However, as long as you are not able to provide me more information I could not evaluate and fix your issue.
Please reopen this bug-discussion once you face the issue again and are able to provide more details ideally with an example.
I wish you a happy new year.
Stay healthy,
Eckard.