Skip to content

Commit

Permalink
refactor(compiler): remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
minenwerfer committed Jan 14, 2025
1 parent e2efbc0 commit f1ae317
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/compiler/src/parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,13 +132,8 @@ export const parse = (tokens: Token[]) => {
hasAttributes = true

const { value: attributeName } = consume(TokenType.AttributeName)
let insideParens = false
if( match(TokenType.LeftParens) ) {
consume(TokenType.LeftParens)
insideParens = true
}

if( insideParens ) {
consume(TokenType.RightParens)
} else {
identifiers[identifier][attributeName] = true
Expand Down

0 comments on commit f1ae317

Please sign in to comment.