Improve message for SC1067

This commit is contained in:
Vidar Holen 2019-07-03 20:02:14 -07:00
parent 4d56852b9f
commit ba2c20a08a
1 changed files with 1 additions and 1 deletions

View File

@ -2765,7 +2765,7 @@ readAssignmentWordExt lenient = try $ do
variable <- readVariableName variable <- readVariableName
when lenient $ when lenient $
optional (readNormalDollar >> parseNoteAt pos ErrorC optional (readNormalDollar >> parseNoteAt pos ErrorC
1067 "For indirection, use (associative) arrays or 'read \"var$n\" <<< \"value\"'") 1067 "For indirection, use arrays, declare \"var$n=value\", or (for sh) read/eval.")
indices <- many readArrayIndex indices <- many readArrayIndex
hasLeftSpace <- fmap (not . null) spacing hasLeftSpace <- fmap (not . null) spacing
pos <- getPosition pos <- getPosition