[Ohrrpgce] SVN: teeemcee/10133 hspeak: merge reserved names types (RESERVE_*) with node kinds (KIND_*)

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Wed Mar 14 21:28:19 PDT 2018


teeemcee
2018-03-14 21:28:19 -0700 (Wed, 14 Mar 2018)
570
hspeak: merge reserved names types (RESERVE_*) with node kinds (KIND_*) Renamed reserved -> global_scope

While it can make sense to treat Tokens/identifiers and Nodes as being different
kinds of things, that's not how things were, with token types and node types
being conflated. This clears up the confusion of there being lots of weird
KINDs that aren't valid node kinds.

This is the first step towards simplifying the incredibly slow what_kind_and_id
function.

Also fix another bug in check_is_expression (wrong for subscript and variable),
seems to have no effect
---
U   wip/hspeak.exw


More information about the Ohrrpgce mailing list