KiCad PCB EDA Suite
|
Grammar to parse the file header only. More...
#include <cadstar_parts_lib_grammar.h>
Grammar to parse the file header only.
In general a valid file should have #FORMAT 32
in the first line but there appear to be some files that ommit the format specifier and start straight away with the part definitions. Just in case, we will also allow the first part to be up to 5 lines into the file (arbitrary number just to limit the time spent in reading a file header to determine whether it is valid).
Definition at line 619 of file cadstar_parts_lib_grammar.h.