Closed DeveloperPOET closed 4 years ago
Please attach all the related files for reproducibility. Since you have a syntax error reported for the file you try to parse, you need to look at the input command used in your pt file and know which syntax file you use to parse the input code. Your input command is not included in the text you pasted from your pt file. Also, to debug parsing problems, you can (should) use the -dp option to enable the parsing process being output, so that you can change your syntax specification as needed.
This command was run on a remote machine: pcg -pinfile="code.C" -poutfile="out.c" C2C.pt
After running this command I get this error:
Done reading POET input file code.C Line 70: syntax error : # At line 5 of file C2C.pt from _
Inside the file code.C the line #70 contains this content: #define global
Below is the content of my .pt file
<define timer_counter 0/>
< You can add transformations to the inputCode here >