Skip to content

Commit 0beef47

Browse files
committed
bug fix
1 parent 9bd3cfd commit 0beef47

File tree

2 files changed

+44
-44
lines changed

2 files changed

+44
-44
lines changed

gen/com/tang/intellij/lua/lexer/_LuaLexer.java

Lines changed: 43 additions & 43 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main/java/com/tang/intellij/lua/lua.flex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ REGION_START =--region({LINE_WS}+[^\r\n]*)*
6868
REGION_END =--endregion({LINE_WS}+[^\r\n]*)*
6969
BLOCK_COMMENT=--\[=*\[[\s\S]*(\]=*\])?
7070
SHORT_COMMENT=--[^\r\n]*
71-
DOC_COMMENT=----*[^\r\n]*(\n{LINE_WS}*----*[^\r\n]*)*
71+
DOC_COMMENT=----*[^\r\n]*(\r?\n{LINE_WS}*----*[^\r\n]*)*
7272

7373
//Strings
7474
DOUBLE_QUOTED_STRING=\"([^\\\"]|\\\S|\\[\r\n])*\"? //\"([^\\\"\r\n]|\\[^\r\n])*\"?

0 commit comments

Comments
 (0)