Add nil case that went missing in 4fd0615
This commit is contained in:
parent
2a95bc6be3
commit
1aeab287e6
|
@ -4380,6 +4380,7 @@ checkEqualsInCommand params originalToken =
|
||||||
isLeadingNumberVar s =
|
isLeadingNumberVar s =
|
||||||
case takeWhile (/= '=') s of
|
case takeWhile (/= '=') s of
|
||||||
lead@(x:_) -> isDigit x && all isVariableChar lead && not (all isDigit lead)
|
lead@(x:_) -> isDigit x && all isVariableChar lead && not (all isDigit lead)
|
||||||
|
[] -> False
|
||||||
|
|
||||||
msg cmd leading (T_Literal litId s) = do
|
msg cmd leading (T_Literal litId s) = do
|
||||||
-- There are many different cases, and the order of the branches matter.
|
-- There are many different cases, and the order of the branches matter.
|
||||||
|
|
Loading…
Reference in New Issue