Parse foo-bar = expr as an assignment.

This commit is contained in:
Scott Olson 2016-02-14 01:16:30 -06:00
parent 8a2f5f0607
commit f7980b4712

View file

@ -255,7 +255,7 @@ bool isVarName(const string & s)
if (!((i >= 'a' && i <= 'z') ||
(i >= 'A' && i <= 'Z') ||
(i >= '0' && i <= '9') ||
i == '_' || i == '\''))
i == '_' || i == '-' || i == '\''))
return false;
return true;
}