From 17fceee4a17472ec144ccb7b77afb587d4012dd8 Mon Sep 17 00:00:00 2001
From: Sven Gestegard Robertz <sven.robertz@cs.lth.se>
Date: Tue, 12 May 2015 11:02:41 +0200
Subject: [PATCH] Small change to AST, fixed Intention -> Annotation

---
 compiler/2014/LabComm.ast | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/compiler/2014/LabComm.ast b/compiler/2014/LabComm.ast
index a89b9c6..361ca89 100644
--- a/compiler/2014/LabComm.ast
+++ b/compiler/2014/LabComm.ast
@@ -2,6 +2,13 @@ Specification ::= Decl*;
 
 abstract Decl ::= TypeInstance /Signature/;
 
+TypeInstance ::= DataType <Name:String> Annotation*;
+
+Annotation ::= <Key:String> <Value:String>;
+
+Intention : Annotation;
+DocString : Annotation;
+
 TypeDecl   : Decl;
 SampleDecl : Decl;
 
@@ -17,13 +24,6 @@ IntSignatureLine           : DataSignatureLine ::= <Data:int>;
 StringSignatureLine        : DataSignatureLine ::= <Data:String>;
 TypeRefSignatureLine       : SignatureLine     ::= Decl;
 
-Annotation ::= <Key:String> <Value:String>;
-
-Intention : Annotation;
-DocString : Annotation;
-
-TypeInstance ::= DataType <Name:String> Annotation*;
-
 Field : TypeInstance;
 
 abstract DataType;
-- 
GitLab