pike.git / src / pike_types.h

version» Context lines:

pike.git/src/pike_types.h:64:   #define PT_FLAG_ASSIGN_7 0x080000 /* The subtree assigns '7'. */   #define PT_FLAG_ASSIGN_8 0x100000 /* The subtree assigns '8'. */   #define PT_FLAG_ASSIGN_9 0x200000 /* The subtree assigns '9'. */   #define PT_FLAG_ASSIGN 0x3ff000 /* The subtree holds assigns. */      #define PT_FLAG_MARK_ASSIGN 0x3ff3ff /* Assigns AND Markers. */      #define PT_FLAG_INT_ONLY 0x1000000 /* Filter non-integers. */      #define PT_FLAG_VOIDABLE 0x2000000 + #define PT_FLAG_NULLABLE 0x4000000 + #define PT_FLAG_MIXED 0x8000000      /*    * Flags used by remap_marker{,s}():    */   enum pt_remap_flags    {    PT_FLAG_REMAP_SWAP_MARKERS = 0x01, /* Swap A & B */    PT_FLAG_REMAP_BOTH_MARKERS = 0x02, /* Look in both sets. */    PT_FLAG_REMAP_BOTH_MARKERS_AND = 0x02, /* And both markers */    PT_FLAG_REMAP_BOTH_MARKERS_OR = 0x06, /* Or both markers */
pike.git/src/pike_types.h:161:   /*    * Flags used by low_get_first_arg_type()    *    * Note that these differ for the flags to get_first_arg_type().    */   #define FILTER_KEEP_VOID 1 /* Keep void during the filtering. */      /*    * Flags used as flag_method to mk_type()    * -  * Note that PT_FLAG_VOIDABLE is also valid. +  * Note that PT_FLAG_{VOIDABLE,NULLABLE,MIXED} are also valid.    */   #define PT_COPY_CAR 1   #define PT_COPY_CDR 2   #define PT_COPY_BOTH 3   #define PT_IS_MARKER 4 /* The node is a marker. */ - #define PT_COPY_MORE 8 /* Copy VOIDABLE too. */ + #define PT_COPY_MORE 8 /* Copy {VOIDABLE,NULLABLE,MIXED} too. */      /*    * new_check_call(), check_splice_call() and get_first_arg_type() flags    */   #define CALL_STRICT 0x0001 /* Strict checking. */   #define CALL_NOT_LAST_ARG 0x0002 /* This is not the last argument. */   #define CALL_WEAK_VOID 0x0008 /* Allow promotion of void to zero. */   #define CALL_ARG_LVALUE 0x0010 /* Argument is lvalue (sscanf). */   #define CALL_INHIBIT_WARNINGS 0x0020 /* Inhibit warnings. */   #define CALL_INVERTED_TYPES 0x0040 /* The fun and arg are inverted. */