Open m-cheung opened 7 years ago
I would say this is a low priority. It is more important that our parser produce a correct AST for correct IDL than that it fail when IDL is invalid. I'm concerned that getting built in types exactly right will introduce complexity in a corner of the parser where the spec may change relatively frequently.
Currently, the
BuiltInTypeName
semantic rule is doing parsing built in types such aslong
,long long
,unsigned long
, etc. as seen here. AWe should update the rules to match the grammar defined in HeyCam's spec to avoid allowing text such as
long long long