pcdshub / pytmc

Generate EPICS IOCs and records from TwinCAT projects - along with many TwinCAT project tools
https://pcdshub.github.io/pytmc/
Other
10 stars 11 forks source link

Undocumented pragma delimiter semicolon (";") can be confusing #306

Open klauer opened 1 year ago

klauer commented 1 year ago

; is treated the same as newlines in pragmas. This can trip up users, for example in: https://github.com/pcdshub/lcls-twincat-general/pull/73

Source: https://github.com/pcdshub/pytmc/blob/434a8eabd953fb9c51f3b2851328b78b561bd4ea/pytmc/pragmas.py#L20

I wouldn't be against deprecating it for the long-term, but short-term there should at least be a prominent note in the docs somewhere