diff options
| author | Camil Staps | 2017-07-18 08:09:59 +0000 | 
|---|---|---|
| committer | Camil Staps | 2017-07-18 08:09:59 +0000 | 
| commit | f2350d6c993e4735d8160945201c7ee7038c6779 (patch) | |
| tree | e329a1220b8cc4290b179e15572a82e82a52b30e /ABC/Assembler.dcl | |
| parent | Add Comments (diff) | |
Add annotations
Diffstat (limited to 'ABC/Assembler.dcl')
| -rw-r--r-- | ABC/Assembler.dcl | 9 | 
1 files changed, 9 insertions, 0 deletions
| diff --git a/ABC/Assembler.dcl b/ABC/Assembler.dcl index 03b8820..63880e7 100644 --- a/ABC/Assembler.dcl +++ b/ABC/Assembler.dcl @@ -12,6 +12,14 @@ from ABC.Machine.GraphStore import ::Desc  :: DescLabel :== Label  :: NrInstr   :== Int +:: Annotation +	= DAnnot Int [BasicType] +	| OAnnot Int [BasicType] + +:: BasicType +	= BT_Bool +	| BT_Int +  :: Assembler :== [Statement]  :: Statement @@ -77,6 +85,7 @@ from ABC.Machine.GraphStore import ::Desc  	| MulI  	| SubI  	| Comment      String +	| Annotation   Annotation  instance toString Assembler  instance toString Statement | 
