Add end pos to readDollarBraced

This commit is contained in:
Ng Zhi An 2018-06-07 22:25:09 -07:00
parent 3848788c2d
commit 29e8c0a16e
1 changed files with 1 additions and 0 deletions

View File

@ -1536,6 +1536,7 @@ readDollarBraced = called "parameter expansion" $ do
try (string "${")
word <- readDollarBracedWord
char '}'
endPosOfStartId id
return $ T_DollarBraced id word
prop_readDollarExpansion1= isOk readDollarExpansion "$(echo foo; ls\n)"