B.5.6 How lines are divided into types
The lines in devices are distinguished in the following manner:
- Leading white space is removed.
- If the resulting line begins with the exact string
define
,
followed by one or more white space characters, the line is processed as
a macro definition.
- Otherwise, the line is scanned for the first instance of a colon
(:) or an equals sign (=).
- If a colon is encountered first, the line is processed as a driver
definition.
- Otherwise, if an equals sign is encountered, the line is processed as a
macro definition.
- Otherwise, the line is ill-formed.