diff options
author | Camil Staps | 2017-07-27 13:05:23 +0200 |
---|---|---|
committer | Camil Staps | 2017-07-27 13:05:39 +0200 |
commit | ea4794ccdc9d0d8709ba22e43494e392b48be768 (patch) | |
tree | 26cdfda5d554beeecb08983f3d4d38219a779f6c /Sil/Syntax.dcl | |
parent | Add test file for #10 (lazy logical operators) (diff) |
Resolve #4: mandatory initial values for basic locals
Diffstat (limited to 'Sil/Syntax.dcl')
-rw-r--r-- | Sil/Syntax.dcl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Sil/Syntax.dcl b/Sil/Syntax.dcl index 1b3b44a..669f2f6 100644 --- a/Sil/Syntax.dcl +++ b/Sil/Syntax.dcl @@ -28,8 +28,9 @@ from Sil.Types import :: Type } :: Initialisation = - { init_type :: Type - , init_name :: Name + { init_type :: Type + , init_name :: Name + , init_value :: Maybe Expression } :: Statement |