Smallbugfix

This commit is contained in:
Speiger 2022-05-21 19:39:50 +02:00
parent 4a72afdb1c
commit 9c4c33c1eb
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ repositories {
} }
archivesBaseName = 'Simple Code Generator' archivesBaseName = 'Simple Code Generator'
version = '1.1.1' version = '1.1.2'
apply plugin: 'maven' apply plugin: 'maven'
tasks.withType(JavaCompile) { tasks.withType(JavaCompile) {

View File

@ -80,7 +80,7 @@ public class ConditionedSegment
} }
else if(trimmed.startsWith("#endignore")) else if(trimmed.startsWith("#endignore"))
{ {
postSegments.add(new PostSegment(segmentText.toString(), "#ignoreLine"+ignoreSegmentId)); postSegments.add(new PostSegment(segmentText.toString(), ignoreSegmentId));
segments.add(segment); segments.add(segment);
return i - currentIndex; return i - currentIndex;
} }