File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
src/main/kotlin/com/github/lppedd/cc/language/lexer Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 11package com.github.lppedd.cc.language.lexer ;
22
33import org.jetbrains.annotations.NotNull ;
4+
45import com.intellij.psi.PlainTextTokenTypes ;
5- import com.intellij.psi.tree.IElementType ;
66import com.intellij.psi.TokenType ;
7+ import com.intellij.psi.tree.IElementType ;
78
89% %
910
@@ -112,15 +113,15 @@ FooterType = [^:\s]+ | BREAKING\ CHANGE
112113
113114<BODY_OR_FOOTERS> {
114115 // Closes: #16
115- ^ {FooterType} {Space} * : {
116+ ^ {FooterType}{Space} * : {
116117 // The ':' char should not be part of the footer type
117118 yypushback(1 );
118119 yybegin(FOOTERS );
119120 return getFooterType();
120121 }
121122
122123 // Closes #16
123- ^ {FooterType} {Space} + / #.* {
124+ ^ {FooterType}{Space} + / #.* {
124125 yybegin(FOOTER_VALUE );
125126 return getFooterType();
126127 }
@@ -164,13 +165,13 @@ FooterType = [^:\s]+ | BREAKING\ CHANGE
164165
165166<FOOTERS> {
166167 // Closes: #16
167- ^ {FooterType} {Space} * : {
168+ ^ {FooterType}{Space} * : {
168169 yypushback(1 );
169170 return getFooterType();
170171 }
171172
172173 // Closes #16
173- ^ {FooterType} {Space} + / #.* {
174+ ^ {FooterType}{Space} + / #.* {
174175 yybegin(FOOTER_VALUE );
175176 return getFooterType();
176177 }
You can’t perform that action at this time.
0 commit comments