8000 Merge pull request #72 from scijava/fix-pom-scijava#148 · scijava/script-editor@d5a80a7 · GitHub
[go: up one dir, main page]

Skip to content

Commit d5a80a7

Browse files
authored
Merge pull request #72 from scijava/fix-pom-scijava#148
Patch ImageJMacroTokenMaker to accommodate RSyntaxtTextArea v3.6.0
2 parents b682698 + fdc8abd commit d5a80a7

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

pom.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.scijava</groupId>
77
<artifactId>pom-scijava</artifactId>
8-
<version>37.0.0</version>
8+
<version>40.0.0</version>
99
<relativePath />
1010
</parent>
1111

@@ -147,6 +147,8 @@
147147

148148
<!-- NB: Deploy releases to the SciJava Maven repository. -->
149149
<releaseProfiles>sign,deploy-to-scijava</releaseProfiles>
150+
151+
<rsyntaxtextarea.version>3.6.0</rsyntaxtextarea.version>
150152
</properties>
151153

152154
<dependencies>

src/main/java/org/scijava/ui/swing/script/highliters/ImageJMacroTokenMaker.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2635,6 +2635,11 @@ public void yypushback(final int number) {
26352635
zzMarkedPos -= number;
26362636
}
26372637

2638+
@Override
2639+
public int yystate() {
2640+
return zzLexicalState; // the current lexical state
2641+
}
2642+
26382643
/**
26392644
* Resumes scanning until the next regular expression is matched, the end of
26402645
* input is encountered or an I/O-Error occurs.

0 commit comments

Comments
 (0)
0