Skip to content

Commit ccae2c9

Browse files
committed
fix: Allow whitespaces in cxx attributes
1 parent 8a4aac9 commit ccae2c9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/parser/cxx/parser.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8492,7 +8492,6 @@ auto Parser::parse_attribute_specifier(AttributeSpecifierAST*& yyast,
84928492
auto Parser::lookat_cxx_attribute_specifier() -> bool {
84938493
if (!lookat(TokenKind::T_LBRACKET)) return false;
84948494
if (LA(1).isNot(TokenKind::T_LBRACKET)) return false;
8495-
if (LA(1).leadingSpace() || LA(1).startOfLine()) return false;
84968495
return true;
84978496
}
84988497

0 commit comments

Comments
 (0)