Branch: Tag:

2020-09-21

2020-09-21 16:58:30 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler [Typechecker]: Added alloc_remap_marker().

Changed the remap_marker API slightly. remap_marker() is now strictly
used to lookup the marker mapping, and alloc_remap_marker() to
allocate a new marker in the remapped set.

Also adds and defines the flag PT_FLAG_SWAP_MARKERS.

71:   #define PT_FLAG_INT_ONLY 0x1000000 /* Filter non-integers. */      /* +  * Flags used by remap_marker{,s}() +  */ + #define PT_FLAG_SWAP_MARKERS 0x01000000 /* Swap A & B */ +  + /*    * Flags used by low_match_types().    */   #define A_EXACT 1