Subj : Re: The root of the syntax tree To : joao From : Brendan Eich Date : Wed Jul 07 2004 11:08 am joao wrote: > You're right, of course. I see now that the comment groups NAME, STRING, > and OBJECT together, under the 'name' variant. But this is strange : > when I look inside the JSParseNode, token type is TOK_STRING but > pn_arity is PN_NULLARY, not PN_NAME... and yet, there is a > pn_u.name.atom field. I assumed pn_arity would be the discriminating > field for the pn_u union ? > > Shouldn't the TOK_STRING have arity PN_NAME ? Good point! I'll fix this nit when the trunk opens again. /be .