diff --git a/backends/AnalyseAsm.hs b/backends/AnalyseAsm.hs index 70afbf9..bf26924 100644 --- a/backends/AnalyseAsm.hs +++ b/backends/AnalyseAsm.hs @@ -57,8 +57,8 @@ parseAsmLine s -- The x86 stack goes downwards, so subl makes the stack deeper. ["subl", '$':arg, "%esp"] -> parseInc arg - -- ... but GCC will sometimes generate "addl $-n" rather than "subl - -- $n". + -- ... but GCC will sometimes generate "addl \$-n" rather than "subl + -- \$n". ["addl", '$':'-':arg, "%esp"] -> parseInc arg -- A plain push also makes the stack deeper. ("pushl":_) -> Just $ AsmStackInc 4 diff --git a/data/AST.hs b/data/AST.hs index fdcb4b1..5150758 100644 --- a/data/AST.hs +++ b/data/AST.hs @@ -366,7 +366,7 @@ data Choice = Choice Meta Expression Process -- | A guard in an @ALT@. data Alternative = - -- | A plain/conditional guard. + -- | A plain or conditional guard. -- The channel or timer is the 'Variable', and the destination (or @AFTER@ -- clause) is inside the 'InputMode'. The process is the body of the guard. -- The 'Expression' is the pre-condition.