Open Roald87 opened 4 years ago
I think this can be done first by recognizing a pragma (https://infosys.beckhoff.com/english.php?content=../content/1033/tc3_plc_intro/2526889867.html&id=4368271537662055795)
Then this can be split into the following categories:
Hi @SankariNL. Thanks for your input! I actually meant pragmas. Didn't realize attributes were a subclass of the pragmas :p.
I'm not sure if it would also be useful to recognize the exact pragma category. For the initial implementation it would certainly be enough to recognize a pragma.
E.g.
nVar : INT; {info 'TODO: should get another name'}