mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
SASS/SCSS: make functionBody lazy
This commit is contained in:
@@ -218,11 +218,19 @@ public abstract class AbstractIndentParser implements PsiParser {
|
||||
errorMarker.error(message);
|
||||
}
|
||||
|
||||
protected void errorUntilEol(String message) {
|
||||
protected void errorUntilEol(@NotNull String message) {
|
||||
PsiBuilder.Marker errorMarker = mark();
|
||||
advanceUntilEol();
|
||||
errorMarker.error(message);
|
||||
}
|
||||
|
||||
protected void errorUntilEof(@NotNull String message) {
|
||||
PsiBuilder.Marker errorMarker = mark();
|
||||
while (!eof()) {
|
||||
advance();
|
||||
}
|
||||
errorMarker.error(message);
|
||||
}
|
||||
|
||||
protected void expectEolOrEof() {
|
||||
if (!isNewLine() && !eof()) {
|
||||
|
||||
Reference in New Issue
Block a user