translate-c: detect macros referencing field lookup

as fn calls which assert the fn ptr is non-null
This commit is contained in:
Andrew Kelley
2017-11-28 02:37:00 -05:00
parent f537c51f25
commit e745544dac
3 changed files with 91 additions and 44 deletions

View File

@@ -120,6 +120,7 @@ static void begin_token(CTokenize *ctok, CTokId id) {
case CTokIdLParen:
case CTokIdRParen:
case CTokIdEOF:
case CTokIdDot:
break;
}
}