aboutsummaryrefslogtreecommitdiff
path: root/Sil/Parse.dcl
diff options
context:
space:
mode:
Diffstat (limited to 'Sil/Parse.dcl')
-rw-r--r--Sil/Parse.dcl25
1 files changed, 13 insertions, 12 deletions
diff --git a/Sil/Parse.dcl b/Sil/Parse.dcl
index b48fdbc..a2f92cb 100644
--- a/Sil/Parse.dcl
+++ b/Sil/Parse.dcl
@@ -8,18 +8,19 @@ from Sil.Parse.Parser import class name
from Sil.Syntax import :: Program, :: Literal
:: Token
- = TParenOpen //* (
- | TParenClose //* )
- | TBraceOpen //* {
- | TBraceClose //* }
- | TComma //* ,
- | TSemicolon //* ;
- | TAssign //* :=
- | TLit Literal //* True; False; integers
- | TIf //* if
- | TWhile //* while
- | TReturn //* return
- | TName String //* a string
+ = TParenOpen //* (
+ | TParenClose //* )
+ | TBraceOpen //* {
+ | TBraceClose //* }
+ | TComma //* ,
+ | TSemicolon //* ;
+ | TAssign //* :=
+ | TLit Literal //* True; False; integers
+ | TIf //* if
+ | TWhile //* while
+ | TReturn //* return
+ | TMachineCode String //* |~ machine code
+ | TName String //* a string
instance == Token
instance toString Token