summaryrefslogtreecommitdiffhomepage
path: root/src/Parsers.hs
AgeCommit message (Collapse)Author
2011-08-27Fix the detection of the end of the command arrayMartin Perner
It was only looked for a ']' followed by space-characters and either a '}' or ','. This looks good in generally but considering that a command can have as its last input parameter an array e.g. ... , Run Something ["Do"] , Run XMonadLog ] , sepChar = "%" } ... This will not work unless 'Something' is the last command in the array. This patch fixes this problem, as a ',' is only accepted if it is not followed by a "Run".
2011-08-21Show invalid input in case of parsing error in templateJose Antonio Ortega Ruiz
As a side-effect, parts without substitution vars will be displayed as-is, fixing a bug reported by RC in the mailing list.
2010-12-21Haskell sources moved to src/ to unclutter toplevelJose Antonio Ortega Ruiz