Skip to content

Commit

Permalink
Fix indentation in HbsLexer.g4
Browse files Browse the repository at this point in the history
  • Loading branch information
JonMcPherson committed Nov 29, 2023
1 parent b3b7c7f commit 5d23db2
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@ lexer grammar HbsLexer;
}

private boolean varEscape(final String start, final String end) {
// Support escaping raw expressions (TVar) and normal expressions (VAR)
return consumeVarEscape(start + "{", end + "}") || consumeVarEscape(start, end);
}
// Support escaping raw expressions (TVar) and normal expressions (VAR)
return consumeVarEscape(start + "{", end + "}") || consumeVarEscape(start, end);
}

private boolean consumeVarEscape(final String start, final String end) {
private boolean consumeVarEscape(final String start, final String end) {
if (ahead("\\" + start)) {
int offset = start.length();
while (!isEOF(offset)) {
Expand Down

0 comments on commit 5d23db2

Please sign in to comment.