File: 24545642473f.patch

package info (click to toggle)
hedgewars 1.0.3-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 219,040 kB
  • sloc: pascal: 54,830; cpp: 27,224; ansic: 22,809; java: 8,210; haskell: 6,797; xml: 3,076; sh: 580; objc: 113; python: 105; makefile: 32
file content (45 lines) | stat: -rw-r--r-- 1,444 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45

# HG changeset patch
# User unc0rr
# Date 1686895845 -7200
# Node ID 24545642473f3a06400ace429a1e829dfdf91972
# Parent  e8d94f84d294ad9089d838043fd99a4358dfc760
Fix pas2c build erroring after parsec added function we already define

diff -r e8d94f84d294 -r 24545642473f tools/pas2c/PascalBasics.hs
--- a/tools/pas2c/PascalBasics.hs	Thu May 25 17:46:57 2023 +0200
+++ b/tools/pas2c/PascalBasics.hs	Fri Jun 16 08:10:45 2023 +0200
@@ -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
diff -r e8d94f84d294 -r 24545642473f tools/pas2c/PascalParser.hs
--- a/tools/pas2c/PascalParser.hs	Thu May 25 17:46:57 2023 +0200
+++ b/tools/pas2c/PascalParser.hs	Fri Jun 16 08:10:45 2023 +0200
@@ -4,7 +4,7 @@
     )
     where
 
-import Text.Parsec
+import Text.Parsec hiding (string')
 import Text.Parsec.Token
 import Text.Parsec.Expr
 import Control.Monad
diff -r e8d94f84d294 -r 24545642473f tools/pas2c/PascalPreprocessor.hs
--- a/tools/pas2c/PascalPreprocessor.hs	Thu May 25 17:46:57 2023 +0200
+++ b/tools/pas2c/PascalPreprocessor.hs	Fri Jun 16 08:10:45 2023 +0200
@@ -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