jubnzv / iec-checker

Static analysis of IEC 61131-3 programs
GNU Lesser General Public License v3.0
63 stars 12 forks source link

feat(driver): Merge multiple files #21

Closed jubnzv closed 1 year ago

jubnzv commented 1 year ago

Some industrial automation IDEs force the source code to be splitted in a few files. For example, they might require that types, global variables and POUs must be defined in separate files.

To make it easier to use the checker for such projects the -merge option was introduced. It simply merges the content of all input files to a single temporary file before running analysis.

Resolves #20