diff options
| author | krasimir <krasimir@chalmers.se> | 2010-07-13 08:24:03 +0000 |
|---|---|---|
| committer | krasimir <krasimir@chalmers.se> | 2010-07-13 08:24:03 +0000 |
| commit | 647b5ffff2becc0252f639c89eb3d79034be78cf (patch) | |
| tree | df6f7dc30626a4937b0fd96cac0c5ad7ce46efc4 /src/runtime | |
| parent | d7f76c6d62ec9bd2a20b3111176e64cca82f5c95 (diff) | |
bugfix in the decoding of literals in PGF.Binary
Diffstat (limited to 'src/runtime')
| -rw-r--r-- | src/runtime/haskell/PGF/Binary.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/haskell/PGF/Binary.hs b/src/runtime/haskell/PGF/Binary.hs index 92f551b0e..1f61c5749 100644 --- a/src/runtime/haskell/PGF/Binary.hs +++ b/src/runtime/haskell/PGF/Binary.hs @@ -167,8 +167,8 @@ instance Binary Literal where get = do tag <- getWord8
case tag of
0 -> liftM LStr get
- 1 -> liftM LFlt get
- 2 -> liftM LInt get
+ 1 -> liftM LInt get
+ 2 -> liftM LFlt get
_ -> decodingError
|
