google / kati

An experimental GNU make clone
Apache License 2.0
941 stars 111 forks source link

EvalIf: Consider any whitespace in variable names an error #225

Closed metti closed 3 years ago

metti commented 3 years ago

Not only are ' ' and '\t' are considered bad in variable names used in if statements, actually any whitespace including '\n' is considered illegal. Fix that by testing for anything matching isspace.

This fixes testcase/ifdef_ret_in_arg.mk.