Skip to content

Commit

Permalink
deleted random empty lines
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhuoZoeyChen committed Jan 10, 2020
1 parent 5da37a4 commit 7126718
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions isa-parser/Isabelle/Parser.hs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ type ParserM a = Parsec String () a
-- reserved only at certain levels within the parse e.g. top-level parser vs. theory parser
-- vs. definition parser
--

-- FIXME: Don't duplicate the names here and elsewhere. Define as one constant in one place.
--
reservedWords :: [String]
Expand Down Expand Up @@ -119,7 +118,6 @@ oneStringOf [] = error "Must be applied to at least one parser"
oneStringOf ss = foldl1 (<||>) (map string ss)

parensL :: ParserM a -> ParserM a

parensL p = do { stringL "("; r <- p; stringL ")"; return r }

quotedL :: ParserM a -> ParserM a
Expand Down Expand Up @@ -241,7 +239,6 @@ natL = lexeme natS
--
nameS :: ParserM String
nameS = (antiquoteNameS <||> identS <||> symidentS <||> natS <||> isabelleStringS) <?> "an Isabelle name"

where

isabelleStringS = charString '"' <++> many1 (satisfy (\c -> c /= '"')) <++> charString '"'
Expand Down

0 comments on commit 7126718

Please sign in to comment.