mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
add missing flex files to ant build.xml
This commit is contained in:
+1
-1
@@ -419,7 +419,7 @@ public class FileTemplateConfigurable implements Configurable, Configurable.NoSc
|
||||
private final Lexer myLexer;
|
||||
|
||||
public TemplateHighlighter() {
|
||||
myLexer = new MergingLexerAdapter(new FlexAdapter(new FileTemplateTextLexer()), TokenSet.create(FileTemplateTokenType.TEXT));
|
||||
myLexer = new MergingLexerAdapter(new FlexAdapter(new _FileTemplateTextLexer()), TokenSet.create(FileTemplateTokenType.TEXT));
|
||||
}
|
||||
|
||||
@NotNull
|
||||
|
||||
+2
-2
@@ -7,13 +7,13 @@ import com.intellij.psi.tree.IElementType;
|
||||
%%
|
||||
|
||||
%{
|
||||
public FileTemplateTextLexer() {
|
||||
public _FileTemplateTextLexer() {
|
||||
this((java.io.Reader)null);
|
||||
}
|
||||
%}
|
||||
|
||||
%unicode
|
||||
%class FileTemplateTextLexer
|
||||
%class _FileTemplateTextLexer
|
||||
%implements FlexLexer
|
||||
%function advance
|
||||
%type IElementType
|
||||
|
||||
@@ -13,8 +13,6 @@ import com.intellij.psi.tree.IElementType;
|
||||
%unicode
|
||||
%function advance
|
||||
%type IElementType
|
||||
%eof{ return;
|
||||
%eof}
|
||||
|
||||
%{
|
||||
private boolean allowXPath2Syntax = false;
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
<sourceFolder url="file://$MODULE_DIR$/xpath-lang/src" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/xpath-lang/test" isTestSource="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/xpath-view/src" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/xpath-lang/gen" isTestSource="false" generated="true" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
@@ -24,5 +25,4 @@
|
||||
<orderEntry type="module" module-name="dom-impl" scope="RUNTIME" />
|
||||
<orderEntry type="library" scope="TEST" name="Groovy" level="project" />
|
||||
</component>
|
||||
</module>
|
||||
|
||||
</module>
|
||||
@@ -8,7 +8,7 @@ import static com.jetbrains.python.psi.types.PyTypeTokenTypes.*;
|
||||
%%
|
||||
|
||||
|
||||
%class PyTypeLexer
|
||||
%class _PyTypeLexer
|
||||
%implements FlexLexer
|
||||
%unicode
|
||||
%public
|
||||
@@ -16,9 +16,6 @@ import static com.jetbrains.python.psi.types.PyTypeTokenTypes.*;
|
||||
%function advance
|
||||
%type PyElementType
|
||||
|
||||
%eof{ return;
|
||||
%eof}
|
||||
|
||||
|
||||
%%
|
||||
|
||||
|
||||
@@ -713,7 +713,7 @@ public class PyTypeParser {
|
||||
|
||||
private static List<Token<PyElementType>> tokenize(@NotNull String s) {
|
||||
final List<Token<PyElementType>> tokens = new ArrayList<Token<PyElementType>>();
|
||||
final PyTypeLexer lexer = new PyTypeLexer(new StringReader(s));
|
||||
final _PyTypeLexer lexer = new _PyTypeLexer(new StringReader(s));
|
||||
lexer.reset(s, 0, s.length(), lexer.yystate());
|
||||
try {
|
||||
PyElementType type;
|
||||
|
||||
Reference in New Issue
Block a user