Skip to content

Commit 7521adb

Browse files
committed
fix #159, spacing and template fixed
1 parent 1a582b6 commit 7521adb

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/java/boa/compiler/transforms/InheritedAttributeTransformer.java

+1
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ public void visit(final Program n) {
196196
// c) For each type T in the set from 1b:
197197
for (final BoaTuple b: currentSet.getCurrentTypes()) {
198198
env = e.env;
199+
199200
// i) Add a variable 's_T_#' of type 'stack of T' at the top-most scope of the AST
200201
final StackType st = new StackType(new Component(ASTFactory.createIdentifier(getTypeName(b), env)));
201202
st.type = new BoaStack(b);

templates/BoaJava.stg

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ identifierMap ::= [
1818

1919
VarDecl(isstatic, type, id) ::= "<if(isstatic)>static <endif><type> ___<id>;<\n>"
2020
ArrayType(type) ::= "<type>[]"
21-
StackType(value) ::= "java.util.Stack\<<value>>"
2221
Block(statements) ::= <<
2322
{
2423
<statements:{s | <s>}>}

0 commit comments

Comments
 (0)