Skip to content

Commit

Permalink
fix: Correct order of #ifdef'd member decls.
Browse files Browse the repository at this point in the history
  • Loading branch information
iphydf committed Nov 9, 2024
1 parent bb7a411 commit 7894bf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Language/Cimple/Parser.y
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ MemberDecl :: { NonTerm }
MemberDecl
: VarDecl ';' { Fix $ MemberDecl $1 Nothing }
| VarDecl ':' LIT_INTEGER ';' { Fix $ MemberDecl $1 (Just $3) }
| PreprocIfdef(MemberDeclList) { $1 }
| PreprocIfdef(MemberDecls) { $1 }
| Comment { $1 }

TypedefDecl :: { NonTerm }
Expand Down

0 comments on commit 7894bf1

Please sign in to comment.