Skip to content
Snippets Groups Projects
Commit fb99eb6c authored by Michael Leuschel's avatar Michael Leuschel
Browse files

Merge branch 'develop'

parents 1f895764 e62228e9
No related branches found
No related tags found
No related merge requests found
Pipeline #85019 passed
......@@ -6,14 +6,14 @@ apply plugin: 'signing'
allprojects {
project.group = 'de.hhu.stups'
project.version = '3.3.2'
project.version = '3.3.3'
project.ext.isSnapshot = project.version.endsWith("-SNAPSHOT")
ext."signing.secretKeyRingFile" = rootProject.file("secring.gpg").absolutePath
}
wrapper {
gradleVersion = "7.2"
gradleVersion = "7.4.1"
}
repositories {
......
No preview for this file type
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
......@@ -175,6 +175,8 @@ public class Lexer implements ITokenListContainer
int low = 0;
int high = tmp1.length - 1;
// find next DFA state depending on character c
// an entry {Low, Up, Id} -> means if Low <= c <= Up -> goto state Id
while(low <= high)
{
int middle = (low + high) / 2;
......
......@@ -24,8 +24,6 @@ import java.io.IOException;
@SuppressWarnings({"rawtypes","unchecked","unused"})
public class Parser implements IParser
{
public final Analysis ignoredTokens = new AnalysisAdapter();
protected ArrayList nodeList;
private final Lexer lexer;
......@@ -289,23 +287,12 @@ Macro:ParserCommon
this.getMapping().clear();
push(0, null$0$);
List<Node> ign = null;
while(true)
{
while(index(this.lexer.peek()) == -1)
{
if(ign == null)
{
ign = new LinkedList<Node>();
}
ign.add(this.lexer.next());
}
if(ign != null)
{
this.ignoredTokens.setIn(this.lexer.peek(), ign);
ign = null;
// this is an ignored token
this.lexer.next();
}
this.last_pos = this.lexer.peek().getPos();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment