Mettle

E0002Syntax error

Reported by the compiler as an error or warning.

mettle explain E0002

The source tokenized correctly but does not follow Mettle's grammar.

After a syntax error the parser resynchronizes at the next statement boundary and keeps going, so one mistake reports once, not as a cascade.

Related