User: kyle wood Date: 15 Mar 25 01:15 Revision: 2bbc8f8d6807120d47a211cf5756017f8b9e378a Summary: Fix ObfEx lexer generation TeamCity URL: https://ci.mcdev.io/viewModification.html?tab=vcsModificationFiles&modId=9855&personal=false Index: obfuscation-explorer/src/main/grammars/CSrgLexer.flex =================================================================== --- obfuscation-explorer/src/main/grammars/CSrgLexer.flex (revision 81686d4628190e6dbf00473e37ac8db7d89d4d3c) +++ obfuscation-explorer/src/main/grammars/CSrgLexer.flex (revision 2bbc8f8d6807120d47a211cf5756017f8b9e378a) @@ -18,7 +18,7 @@ * along with this program. If not, see . */ -package io.mcdev.obfex.formats.csrg.gen; +package io.mcdev.obfex.formats.csrg.gen.lexer; import com.intellij.lexer.*; import com.intellij.psi.tree.IElementType; Index: obfuscation-explorer/src/main/grammars/EnigmaLexer.flex =================================================================== --- obfuscation-explorer/src/main/grammars/EnigmaLexer.flex (revision 81686d4628190e6dbf00473e37ac8db7d89d4d3c) +++ obfuscation-explorer/src/main/grammars/EnigmaLexer.flex (revision 2bbc8f8d6807120d47a211cf5756017f8b9e378a) @@ -18,7 +18,7 @@ * along with this program. If not, see . */ -package io.mcdev.obfex.formats.enigma.gen; +package io.mcdev.obfex.formats.enigma.gen.lexer; import com.intellij.lexer.*; import com.intellij.psi.tree.IElementType; Index: obfuscation-explorer/src/main/grammars/JamLexer.flex =================================================================== --- obfuscation-explorer/src/main/grammars/JamLexer.flex (revision 81686d4628190e6dbf00473e37ac8db7d89d4d3c) +++ obfuscation-explorer/src/main/grammars/JamLexer.flex (revision 2bbc8f8d6807120d47a211cf5756017f8b9e378a) @@ -18,7 +18,7 @@ * along with this program. If not, see . */ -package io.mcdev.obfex.formats.jam.gen; +package io.mcdev.obfex.formats.jam.gen.lexer; import com.intellij.lexer.*; import com.intellij.psi.tree.IElementType; Index: obfuscation-explorer/src/main/grammars/ProGuardLexer.flex =================================================================== --- obfuscation-explorer/src/main/grammars/ProGuardLexer.flex (revision 81686d4628190e6dbf00473e37ac8db7d89d4d3c) +++ obfuscation-explorer/src/main/grammars/ProGuardLexer.flex (revision 2bbc8f8d6807120d47a211cf5756017f8b9e378a) @@ -18,7 +18,7 @@ * along with this program. If not, see . */ -package io.mcdev.obfex.formats.proguard.gen; +package io.mcdev.obfex.formats.proguard.gen.lexer; import com.intellij.lexer.*; import com.intellij.psi.tree.IElementType; Index: obfuscation-explorer/src/main/grammars/SrgLexer.flex =================================================================== --- obfuscation-explorer/src/main/grammars/SrgLexer.flex (revision 81686d4628190e6dbf00473e37ac8db7d89d4d3c) +++ obfuscation-explorer/src/main/grammars/SrgLexer.flex (revision 2bbc8f8d6807120d47a211cf5756017f8b9e378a) @@ -18,7 +18,7 @@ * along with this program. If not, see . */ -package io.mcdev.obfex.formats.srg.gen; +package io.mcdev.obfex.formats.srg.gen.lexer; import com.intellij.lexer.*; import com.intellij.psi.tree.IElementType; Index: obfuscation-explorer/src/main/grammars/TSrg2Lexer.flex =================================================================== --- obfuscation-explorer/src/main/grammars/TSrg2Lexer.flex (revision 81686d4628190e6dbf00473e37ac8db7d89d4d3c) +++ obfuscation-explorer/src/main/grammars/TSrg2Lexer.flex (revision 2bbc8f8d6807120d47a211cf5756017f8b9e378a) @@ -18,7 +18,7 @@ * along with this program. If not, see . */ -package io.mcdev.obfex.formats.tsrg2.gen; +package io.mcdev.obfex.formats.tsrg2.gen.lexer; import com.intellij.lexer.*; import com.intellij.psi.tree.IElementType; Index: obfuscation-explorer/src/main/grammars/TSrgLexer.flex =================================================================== --- obfuscation-explorer/src/main/grammars/TSrgLexer.flex (revision 81686d4628190e6dbf00473e37ac8db7d89d4d3c) +++ obfuscation-explorer/src/main/grammars/TSrgLexer.flex (revision 2bbc8f8d6807120d47a211cf5756017f8b9e378a) @@ -18,7 +18,7 @@ * along with this program. If not, see . */ -package io.mcdev.obfex.formats.tsrg.gen; +package io.mcdev.obfex.formats.tsrg.gen.lexer; import com.intellij.lexer.*; import com.intellij.psi.tree.IElementType; Index: obfuscation-explorer/src/main/grammars/TinyV1Lexer.flex =================================================================== --- obfuscation-explorer/src/main/grammars/TinyV1Lexer.flex (revision 81686d4628190e6dbf00473e37ac8db7d89d4d3c) +++ obfuscation-explorer/src/main/grammars/TinyV1Lexer.flex (revision 2bbc8f8d6807120d47a211cf5756017f8b9e378a) @@ -18,7 +18,7 @@ * along with this program. If not, see . */ -package io.mcdev.obfex.formats.tinyv1.gen; +package io.mcdev.obfex.formats.tinyv1.gen.lexer; import com.intellij.lexer.*; import com.intellij.psi.tree.IElementType; Index: obfuscation-explorer/src/main/grammars/TinyV2Lexer.flex =================================================================== --- obfuscation-explorer/src/main/grammars/TinyV2Lexer.flex (revision 81686d4628190e6dbf00473e37ac8db7d89d4d3c) +++ obfuscation-explorer/src/main/grammars/TinyV2Lexer.flex (revision 2bbc8f8d6807120d47a211cf5756017f8b9e378a) @@ -18,7 +18,7 @@ * along with this program. If not, see . */ -package io.mcdev.obfex.formats.tinyv2.gen; +package io.mcdev.obfex.formats.tinyv2.gen.lexer; import com.intellij.lexer.*; import com.intellij.psi.tree.IElementType; Index: obfuscation-explorer/src/main/kotlin/formats/csrg/lang/psi/CSrgLexerAdapter.kt =================================================================== --- obfuscation-explorer/src/main/kotlin/formats/csrg/lang/psi/CSrgLexerAdapter.kt (revision 81686d4628190e6dbf00473e37ac8db7d89d4d3c) +++ obfuscation-explorer/src/main/kotlin/formats/csrg/lang/psi/CSrgLexerAdapter.kt (revision 2bbc8f8d6807120d47a211cf5756017f8b9e378a) @@ -21,6 +21,6 @@ package io.mcdev.obfex.formats.csrg.lang.psi import com.intellij.lexer.FlexAdapter -import io.mcdev.obfex.formats.csrg.gen.CSrgLexer +import io.mcdev.obfex.formats.csrg.gen.lexer.CSrgLexer class CSrgLexerAdapter : FlexAdapter(CSrgLexer()) Index: obfuscation-explorer/src/main/kotlin/formats/enigma/lang/psi/EnigmaLexerAdapter.kt =================================================================== --- obfuscation-explorer/src/main/kotlin/formats/enigma/lang/psi/EnigmaLexerAdapter.kt (revision 81686d4628190e6dbf00473e37ac8db7d89d4d3c) +++ obfuscation-explorer/src/main/kotlin/formats/enigma/lang/psi/EnigmaLexerAdapter.kt (revision 2bbc8f8d6807120d47a211cf5756017f8b9e378a) @@ -21,6 +21,6 @@ package io.mcdev.obfex.formats.enigma.lang.psi import com.intellij.lexer.FlexAdapter -import io.mcdev.obfex.formats.enigma.gen.EnigmaLexer +import io.mcdev.obfex.formats.enigma.gen.lexer.EnigmaLexer class EnigmaLexerAdapter : FlexAdapter(EnigmaLexer()) Index: obfuscation-explorer/src/main/kotlin/formats/jam/lang/psi/JamLexerAdapter.kt =================================================================== --- obfuscation-explorer/src/main/kotlin/formats/jam/lang/psi/JamLexerAdapter.kt (revision 81686d4628190e6dbf00473e37ac8db7d89d4d3c) +++ obfuscation-explorer/src/main/kotlin/formats/jam/lang/psi/JamLexerAdapter.kt (revision 2bbc8f8d6807120d47a211cf5756017f8b9e378a) @@ -21,6 +21,6 @@ package io.mcdev.obfex.formats.jam.lang.psi import com.intellij.lexer.FlexAdapter -import io.mcdev.obfex.formats.jam.gen.JamLexer +import io.mcdev.obfex.formats.jam.gen.lexer.JamLexer class JamLexerAdapter : FlexAdapter(JamLexer()) Index: obfuscation-explorer/src/main/kotlin/formats/proguard/lang/psi/ProGuardLexerAdapter.kt =================================================================== --- obfuscation-explorer/src/main/kotlin/formats/proguard/lang/psi/ProGuardLexerAdapter.kt (revision 81686d4628190e6dbf00473e37ac8db7d89d4d3c) +++ obfuscation-explorer/src/main/kotlin/formats/proguard/lang/psi/ProGuardLexerAdapter.kt (revision 2bbc8f8d6807120d47a211cf5756017f8b9e378a) @@ -21,6 +21,6 @@ package io.mcdev.obfex.formats.proguard.lang.psi import com.intellij.lexer.FlexAdapter -import io.mcdev.obfex.formats.proguard.gen.ProGuardLexer +import io.mcdev.obfex.formats.proguard.gen.lexer.ProGuardLexer class ProGuardLexerAdapter : FlexAdapter(ProGuardLexer()) Index: obfuscation-explorer/src/main/kotlin/formats/srg/lang/psi/SrgLexerAdapter.kt =================================================================== --- obfuscation-explorer/src/main/kotlin/formats/srg/lang/psi/SrgLexerAdapter.kt (revision 81686d4628190e6dbf00473e37ac8db7d89d4d3c) +++ obfuscation-explorer/src/main/kotlin/formats/srg/lang/psi/SrgLexerAdapter.kt (revision 2bbc8f8d6807120d47a211cf5756017f8b9e378a) @@ -21,6 +21,6 @@ package io.mcdev.obfex.formats.srg.lang.psi import com.intellij.lexer.FlexAdapter -import io.mcdev.obfex.formats.srg.gen.SrgLexer +import io.mcdev.obfex.formats.srg.gen.lexer.SrgLexer class SrgLexerAdapter : FlexAdapter(SrgLexer()) Index: obfuscation-explorer/src/main/kotlin/formats/tinyv1/lang/psi/TinyV1LexerAdapter.kt =================================================================== --- obfuscation-explorer/src/main/kotlin/formats/tinyv1/lang/psi/TinyV1LexerAdapter.kt (revision 81686d4628190e6dbf00473e37ac8db7d89d4d3c) +++ obfuscation-explorer/src/main/kotlin/formats/tinyv1/lang/psi/TinyV1LexerAdapter.kt (revision 2bbc8f8d6807120d47a211cf5756017f8b9e378a) @@ -21,6 +21,6 @@ package io.mcdev.obfex.formats.tinyv1.lang.psi import com.intellij.lexer.FlexAdapter -import io.mcdev.obfex.formats.tinyv1.gen.TinyV1Lexer +import io.mcdev.obfex.formats.tinyv1.gen.lexer.TinyV1Lexer class TinyV1LexerAdapter : FlexAdapter(TinyV1Lexer()) Index: obfuscation-explorer/src/main/kotlin/formats/tinyv2/lang/psi/TinyV2LexerAdapter.kt =================================================================== --- obfuscation-explorer/src/main/kotlin/formats/tinyv2/lang/psi/TinyV2LexerAdapter.kt (revision 81686d4628190e6dbf00473e37ac8db7d89d4d3c) +++ obfuscation-explorer/src/main/kotlin/formats/tinyv2/lang/psi/TinyV2LexerAdapter.kt (revision 2bbc8f8d6807120d47a211cf5756017f8b9e378a) @@ -21,6 +21,6 @@ package io.mcdev.obfex.formats.tinyv2.lang.psi import com.intellij.lexer.FlexAdapter -import io.mcdev.obfex.formats.tinyv2.gen.TinyV2Lexer +import io.mcdev.obfex.formats.tinyv2.gen.lexer.TinyV2Lexer class TinyV2LexerAdapter : FlexAdapter(TinyV2Lexer()) Index: obfuscation-explorer/src/main/kotlin/formats/tsrg/lang/psi/TSrgLexerAdapter.kt =================================================================== --- obfuscation-explorer/src/main/kotlin/formats/tsrg/lang/psi/TSrgLexerAdapter.kt (revision 81686d4628190e6dbf00473e37ac8db7d89d4d3c) +++ obfuscation-explorer/src/main/kotlin/formats/tsrg/lang/psi/TSrgLexerAdapter.kt (revision 2bbc8f8d6807120d47a211cf5756017f8b9e378a) @@ -21,6 +21,6 @@ package io.mcdev.obfex.formats.tsrg.lang.psi import com.intellij.lexer.FlexAdapter -import io.mcdev.obfex.formats.tsrg.gen.TSrgLexer +import io.mcdev.obfex.formats.tsrg.gen.lexer.TSrgLexer class TSrgLexerAdapter : FlexAdapter(TSrgLexer()) Index: obfuscation-explorer/src/main/kotlin/formats/tsrg2/lang/psi/TSrg2LexerAdapter.kt =================================================================== --- obfuscation-explorer/src/main/kotlin/formats/tsrg2/lang/psi/TSrg2LexerAdapter.kt (revision 81686d4628190e6dbf00473e37ac8db7d89d4d3c) +++ obfuscation-explorer/src/main/kotlin/formats/tsrg2/lang/psi/TSrg2LexerAdapter.kt (revision 2bbc8f8d6807120d47a211cf5756017f8b9e378a) @@ -21,6 +21,6 @@ package io.mcdev.obfex.formats.tsrg2.lang.psi import com.intellij.lexer.FlexAdapter -import io.mcdev.obfex.formats.tsrg2.gen.TSrg2Lexer +import io.mcdev.obfex.formats.tsrg2.gen.lexer.TSrg2Lexer class TSrg2LexerAdapter : FlexAdapter(TSrg2Lexer()) Index: obfuscation-explorer/src/test/kotlin/formats/srg/SrgLexerTest.kt =================================================================== --- obfuscation-explorer/src/test/kotlin/formats/srg/SrgLexerTest.kt (revision 81686d4628190e6dbf00473e37ac8db7d89d4d3c) +++ obfuscation-explorer/src/test/kotlin/formats/srg/SrgLexerTest.kt (revision 2bbc8f8d6807120d47a211cf5756017f8b9e378a) @@ -23,7 +23,7 @@ import com.intellij.lexer.FlexAdapter import com.intellij.testFramework.LexerTestCase import io.mcdev.obfex.filterCrlf -import io.mcdev.obfex.formats.srg.gen.SrgLexer +import io.mcdev.obfex.formats.srg.gen.lexer.SrgLexer import org.junit.jupiter.api.Assertions import org.junit.jupiter.api.DisplayName import org.junit.jupiter.api.Test @@ -45,4 +45,3 @@ Assertions.assertEquals(expected.filterCrlf(), actual.filterCrlf()) } } - \ No newline at end of file