Changeset 15425 for src/Pugs/Parser
- Timestamp:
- 03/03/07 16:37:34 (21 months ago)
- Location:
- src/Pugs/Parser
- Files:
-
- 2 modified
-
Operator.hs (modified) (1 diff)
-
Program.hs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/Pugs/Parser/Operator.hs
r15364 r15425 33 33 = compare (Buf.length y) (Buf.length x) `mappend` compare b a 34 34 35 -- Not yet transcribed into a full optable parser with dynamic precedence --35 -- Not yet transcribed into a full optable parser with dynamic precedence 36 36 37 37 tightOperators :: RuleParser (TightFunctions, RuleOperatorTable Exp) -
src/Pugs/Parser/Program.hs
r15368 r15425 23 23 | otherwise = prog ++ "\n" 24 24 25 -- Based on: http://hackage.haskell.org/trac/haskell-prime/wiki/SourceEncodingDetection25 -- Based on: <http://hackage.haskell.org/trac/haskell-prime/wiki/SourceEncodingDetection> 26 26 data EncodedSource 27 27 = UTF8 !String 28 28 | UTF16 !Endian !String 29 29 | UTF32 !Endian !String 30 -- | UserDefined ...30 -- ... | UserDefined ... 31 31 32 32 data Endian = LittleEndian | BigEndian
