\slul 0.0.0 \name baddepsyntax_lib \type libraryspec \version 2.3 \depends somelib 1.0 nestedonly \depends otherlib 1.0 # TODO improve error (and report only one error) # ERROR +3.39: error: Unknown flag on \interface_depends line (or misspelled "since") # ERROR +2.39: error: Too many parameters for this attribute # ERROR .49: error: Too many parameters for this attribute \interface_depends two_versions_b 1.0 sicnetypo 2.2.1 # ERROR .37: error: Missing "since" keyword in module with stable API \interface_depends missing_since 1.0 # ERROR .43: error: Missing version number after "since" \interface_depends missing_since 1.0 since # TODO improve error (and report only one error) # ERROR +4.38: error: Unknown flag on \interface_depends line (or misspelled "since") # ERROR +3.38: error: Too many parameters for this attribute # ERROR +2.46: error: Too many parameters for this attribute # ERROR .52: error: Too many parameters for this attribute \interface_depends missing_since 1.0 badflag since 2.3 # ERROR .32: error: \interface_depends must have 'nestedonly' when \depends does \interface_depends somelib 1.0 since 2.2 # ERROR +2.44: error: Duplicated flag on \interface_depends line # ERROR .1: error: Missing \api_def of version '2.1', for which there is a since-version in '\interface_depends otherlib' \interface_depends otherlib 0.9 nestedonly nestedonly since 2.1 # ERROR .33: error: Flags in \interface_depends differs from previous \interface_depends \interface_depends otherlib 1.0 since 2.2 # ERROR .29: error: \interface_depends may not be higher than \depends \interface_depends otherlib 1.1 nestedonly since 2.3 # TODO add correct calculation of these. these are just dummy values \api_def 1.0 01000001000001000001000001000001 \api_def 2.0 02000002000002000002000002000002 # Missing api_def = error #\api_def 2.1 02010002010002010002010002010002 \api_def 2.2 02020002020002020002020002020002 \api_def 2.3 02030002030002030002030002030002