on master help sign in
Allow comments in .ipkg files
commit5265109c30e006d121f5bf78a99ac1e1b475e485 authorDavid Raymond Christiansen <david@davidchristiansen.dk> dateWed 30 Apr 2014, 15:07 (12 years ago) parent5850126
1 file changed+2
src/Pkg/PParser.hs+2
src/Pkg/PParser.hs+2
@@ -78,4 +78,6 @@ pClause = do reserved "executable"; lchar '=';
7878 mk <- iName []
7979 st <- get
8080 put (st { makefile = Just (show mk) })
81+ <|> do string "--"; many (satisfy (not . isEol)) ; satisfy isEol
82+ return ()
8183