Skip to content

Commit

Permalink
Consume optional macro at end of typedef declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
robvdveer committed Jul 30, 2013
1 parent 58b334b commit 5b98279
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Parsing/GBObjectiveCParser.m
Expand Up @@ -508,6 +508,9 @@ - (BOOL)matchTypedefEnumDefinition {
[newEnum.constants registerConstant:newConstant];
}];

//if there is a macro, consume it.
[self consumeMacro];

//consume ;
[self.tokenizer consume:1];
[self.store registerTypedefEnum:newEnum];
Expand Down

0 comments on commit 5b98279

Please sign in to comment.