diff options
Diffstat (limited to 'lib/Language/Elna/Backend/Intermediate.hs')
| -rw-r--r-- | lib/Language/Elna/Backend/Intermediate.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Language/Elna/Backend/Intermediate.hs b/lib/Language/Elna/Backend/Intermediate.hs index 624bba8..331d044 100644 --- a/lib/Language/Elna/Backend/Intermediate.hs +++ b/lib/Language/Elna/Backend/Intermediate.hs @@ -19,13 +19,14 @@ instance Show Label where show (Label label) = '.' : Text.unpack label -data Variable = TempVariable Word32 | LocalVariable Word32 +data Variable = TempVariable Word32 | LocalVariable Word32 | ParameterVariable Word32 deriving Eq instance Show Variable where show (LocalVariable variable) = '@' : show variable show (TempVariable variable) = '$' : show variable + show (ParameterVariable variable) = '%' : show variable data Operand v = IntOperand Int32 |
