Skip to content

Commit cbbc805

Browse files
committed
Fix ISymbol mismatch
1 parent e2a076c commit cbbc805

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

org.metaborg.sdf2table/src/main/java/org/metaborg/sdf2table/parsetable/ParseTableProduction.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ public class ParseTableProduction implements org.metaborg.parsetable.IProduction
3939
private static final long serialVersionUID = -7825374345958769969L;
4040

4141
private final IProduction p;
42-
private final ISymbol lhs;
4342
private final int productionNumber;
4443
private final String sort;
4544
private final boolean isContextFree;
@@ -65,7 +64,6 @@ public class ParseTableProduction implements org.metaborg.parsetable.IProduction
6564
public ParseTableProduction(int productionNumber, IProduction p, Set<IAttribute> attrs,
6665
Map<Integer, Integer> leftmostContextsMapping, Map<Integer, Integer> rightmostContextsMapping) {
6766
this.p = p;
68-
this.lhs = p.leftHand().toParseTableSymbol();
6967

7068
if(leftmostContextsMapping.containsKey(productionNumber)) {
7169
cachedContextBitmapL = 1L << leftmostContextsMapping.get(productionNumber);
@@ -407,7 +405,7 @@ public final long contextR() {
407405
return cachedContextBitmapR;
408406
}
409407

410-
@Override public ISymbol lhs() {
408+
@Override public org.metaborg.parsetable.symbols.ISymbol lhs() {
411409
return p.leftHand().toParseTableSymbol();
412410
}
413411

0 commit comments

Comments
 (0)