Consider this (IMHO incorrect) input:
HOA: v1
Start: 6
Acceptance: 0 t
--BODY--
--END--
The specifications currently say:
States should be numbered from 0 to n−1 (where n is the value given by the States: header item if present)
and then
States should be numbered from 0 to n−1, may be listed in any order, but should all be listed (i.e., if the header has States: 10 then the body should have ten State: INT statements, with all numbers from 0 to 9).
but that does not really specifies what is expected if the optional States: header is missing, since n is then undefined. My suggestion would be to fix those sentences so that n denotes the value of the States: header if present, or the highest state number used as an initial state or as a destination of any transition.
Consider this (IMHO incorrect) input:
The specifications currently say:
and then
but that does not really specifies what is expected if the optional
States:header is missing, since n is then undefined. My suggestion would be to fix those sentences so that n denotes the value of theStates:header if present, or the highest state number used as an initial state or as a destination of any transition.