mcandre / unmake

a makefile linter
Other
83 stars 3 forks source link

move more validation for special targets to linter warnings #181

Open mcandre opened 1 year ago

mcandre commented 1 year ago

This provides clearer error messages.

This somewhat simplifies the grammar.

However, any special targets which reject commands, cannot be linted so easily for use of the blank/reset semicolon (;) syntax. We could extend the AST with a boolean to indicate whether an inline command was used.