From 0cb90ff8d748c8771a0eff1cec4d4e180ff93943 Mon Sep 17 00:00:00 2001 From: chrisly42 Date: Mon, 9 Aug 2021 12:14:02 +0200 Subject: [PATCH] 'END' directive stops parsing. Prepared next release. --- README.md | 3 ++- build.gradle | 3 ++- .../plugins/m68k/lexer/_M68kLexer.java | 9 +++++-- .../plugins/m68k/asm/AssemblerDirectives.kt | 4 ++- .../intellij/plugins/m68k/lexer/LexerUtil.kt | 3 +++ .../plugins/m68k/lexer/_M68kLexer.flex | 1 + .../plugins/m68k/parser/EndDirectiveTest.kt | 22 ++++++++++++++++ .../parser/directives/end_directive.txt | 26 +++++++++++++++++++ 8 files changed, 66 insertions(+), 5 deletions(-) create mode 100644 src/test/java/de/platon42/intellij/plugins/m68k/parser/EndDirectiveTest.kt create mode 100644 src/test/resources/parser/directives/end_directive.txt diff --git a/README.md b/README.md index cfd0238..7a857b7 100644 --- a/README.md +++ b/README.md @@ -147,7 +147,7 @@ make it work with JUnit 5. Feel free to use the code (in package ```de.platon42. ## Changelog -### V0.6 (unreleased) +### V0.6 (09-Aug-21) - Enhancement: `opt` and several other directives (`printt`, `fail` etc.) no longer causes a syntax error when unquoted. - Enhancement: `include`, `incdir` and `incbin` and `output` with `` quotes no longer cause syntax error. @@ -155,6 +155,7 @@ make it work with JUnit 5. Feel free to use the code (in package ```de.platon42. - New: Code completion for local label definitions, suggesting undefined labels already referenced. - New: Added inspection suppression possibility and quickfix. - New: Added inspection for unresolved symbols, macros and labels. +- Enhancement: 'END' directive stops parsing. ### V0.5 (06-Aug-21) diff --git a/build.gradle b/build.gradle index 8c6fc3f..fca299f 100644 --- a/build.gradle +++ b/build.gradle @@ -57,7 +57,7 @@ runPluginVerifier { patchPluginXml { setChangeNotes(""" -

V0.6 (unreleased)

+

V0.6 (09-Aug-21)

V0.5 (06-Aug-21)