X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=gv.h;h=73814a82ec0534f52a99eec1109504d2484ebf18;hb=d41c018a580ac2dafca04b156c937ada656fd14b;hp=f1794943e4faf0ea5500eb1e99020eead35d8bff;hpb=f4b190e604dfeb3b326a17a85144eca8e832729d;p=p5sagit%2Fp5-mst-13.2.git diff --git a/gv.h b/gv.h index f179494..73814a8 100644 --- a/gv.h +++ b/gv.h @@ -162,6 +162,11 @@ Return the SV from the GV. #define GV_ADDWARN 0x04 /* add, but warn if symbol wasn't already there */ #define GV_ADDINEVAL 0x08 /* add, as though we're doing so within an eval */ #define GV_NOINIT 0x10 /* add, but don't init symbol, if type != PVGV */ +/* This is used by toke.c to avoid turing placeholder constants in the symbol + table into full PVGVs with attached constant subroutines. */ +#define GV_NOADD_NOINIT 0x20 /* Don't add the symbol if it's not there. + Don't init it if it is there but ! PVGV */ + /* SVf_UTF8 (more accurately the return value from SvUTF8) is also valid as a flag to gv_fetch_pvn_flags, so ensure it lies outside this range. */