Skip to content

Commit ef529e4

Browse files
author
vkozyr
committed
updated plugin version to 1.3
1 parent 77fa820 commit ef529e4

6 files changed

Lines changed: 6 additions & 2 deletions

File tree

META-INF/plugin.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<idea-plugin version="2">
22
<id>org.mirah.idea.plugin</id>
33
<name>Mirah language support</name>
4-
<version>1.2</version>
4+
<version>1.3</version>
55
<vendor email="uujava@gmail.com" url="https://github.com/uujava/mirah-idea-plugin">UUJava</vendor>
66

77
<description><![CDATA[

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ License: http://www.wtfpl.net/
1010

1111
[2015-10-20] Minor fixes: numbers and 'while' keyword highlights
1212
[2016-05-19] New features: type cast support and bugfixes in mirahc.
13+
[2016-10-07] New features: case and enum support and bugfixes in mirahc.

lib/mirahc-0.1.5.jar

-1.51 MB
Binary file not shown.

mirah-idea.zip

105 KB
Binary file not shown.

src/org/mirah/idea/plugin/psi/MirahHighlightingLexer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ private void _lex(){
128128
currentPos = input.pos();
129129
lastEnd = currTok.endpos;
130130
lastStart = currTok.startpos;
131-
}catch (Exception ex) {
131+
}catch (Throwable ex) {
132132
if(LOG.isDebugEnabled()) LOG.debug("bad character. currentPos: " + currentPos + " currTok" + currTok);
133133
currTok = null;
134134
lastStart = lastEnd;

src/org/mirah/idea/plugin/psi/MirahTokenType.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,8 @@ public static IElementType mapFromMirah(Enum<Tokens> type) {
132132
Tokens.tImport,
133133
Tokens.tDefmacro,
134134
Tokens.tCase,
135+
Tokens.tThen,
136+
Tokens.tWhen,
135137
Tokens.tElse,
136138
Tokens.tElsif,
137139
Tokens.tEnd,
@@ -141,6 +143,7 @@ public static IElementType mapFromMirah(Enum<Tokens> type) {
141143
Tokens.tReturn,
142144
Tokens.tBreak,
143145
Tokens.tClass,
146+
Tokens.tEnum,
144147
Tokens.tFalse,
145148
Tokens.tTrue,
146149
Tokens.tOr,

0 commit comments

Comments
 (0)