Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix build of pas2c with ghc-9.4 #75

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tools/pas2c/PascalBasics.hs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
module PascalBasics where

import Text.Parsec.Combinator
import Text.Parsec.Char
import Text.Parsec.Char hiding (string')
import Text.Parsec.Prim
import Text.Parsec.Token
import Text.Parsec.Language
Expand Down
3 changes: 1 addition & 2 deletions tools/pas2c/PascalParser.hs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module PascalParser (
)
where

import Text.Parsec
import Text.Parsec hiding (string')
import Text.Parsec.Token
import Text.Parsec.Expr
import Control.Monad
Expand Down Expand Up @@ -720,4 +720,3 @@ redoUnit = do
string' "var"
v <- varsDecl True
return $ Redo (t ++ v)

2 changes: 1 addition & 1 deletion tools/pas2c/PascalPreprocessor.hs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{-# LANGUAGE ScopedTypeVariables #-}
module PascalPreprocessor where

import Text.Parsec
import Text.Parsec hiding (string')
import Control.Monad.IO.Class
import Control.Monad
import System.IO
Expand Down