aboutsummaryrefslogtreecommitdiff
path: root/src/Language/SimpleShell/Parser.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Language/SimpleShell/Parser.hs')
-rw-r--r--src/Language/SimpleShell/Parser.hs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/Language/SimpleShell/Parser.hs b/src/Language/SimpleShell/Parser.hs
index be16c9f..d75602b 100644
--- a/src/Language/SimpleShell/Parser.hs
+++ b/src/Language/SimpleShell/Parser.hs
@@ -4,7 +4,6 @@ module Language.SimpleShell.Parser
( Parser
, lexeme
, symbol
- , commentFirstChars
, lookupVar
, lookupFun
, declareVars
@@ -51,17 +50,12 @@ initContext = Context
}
--- Must be kept in sync with 'commentFirstChars'.
sc :: Parser ()
sc = L.space
space1
(L.skipLineComment "//")
(L.skipBlockComment "/*" "*/")
--- | List of all characters that may start a comment.
-commentFirstChars :: [Char]
-commentFirstChars = "/"
-
lexeme :: Parser a -> Parser a
lexeme = L.lexeme sc