Skip to content
Snippets Groups Projects
Commit 7a4aa716 authored by Sven Gestegård Robertz's avatar Sven Gestegård Robertz
Browse files

renamed Type to DataType in grammar

parent c2e5f245
Branches
No related tags found
No related merge requests found
......@@ -4,6 +4,8 @@ abstract Decl ::= TypeInstance /Signature/;
TypeInstance ::= DataType <Name:String> Intention*;
Intention ::= <Key:String> <Value:String>;
TypeDecl : Decl;
SampleDecl : Decl;
......@@ -29,9 +31,6 @@ UserType : DataType ::= <Name:String>;
StructType : DataType ::= Field*;
ParseArrayType : DataType ::= DataType Dim*;
abstract ArrayType : DataType ::= DataType Exp*;
Intention ::= <Key:String> <Value:String>;
VariableArrayType : ArrayType;
FixedArrayType : ArrayType;
......
......@@ -11,9 +11,4 @@ aspect Refactoring {
this(t, n, new List<Annotation>());
System.out.println("WARNING! TypeInstance(DataType, String) ignoring intention list");
}
public ConcreteType.ConcreteType(Type t, String n) {
this(t, n, new List<Intention>());
System.out.println("WARNING! ConcreteType(Type, String) ignoring intention list");
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment