Rename the null tag to null_t.

This commit is contained in:
David Anderson 2014-07-05 13:31:10 -07:00
parent a7342f3fa2
commit 9ae3256bc0
2 changed files with 2 additions and 1 deletions

View File

@ -1350,7 +1350,7 @@ static void setconstants(void)
pc_tag_void = pc_addtag_flags("void", FIXEDTAG);
pc_tag_object = pc_addtag_flags("object", FIXEDTAG|OBJECTTAG);
pc_tag_bool = pc_addtag("bool");
pc_tag_null_t = pc_addtag_flags("null", FIXEDTAG|OBJECTTAG);
pc_tag_null_t = pc_addtag_flags("null_t", FIXEDTAG|OBJECTTAG);
add_constant("true",1,sGLOBAL,1); /* boolean flags */
add_constant("false",0,sGLOBAL,1);

View File

@ -191,6 +191,7 @@ static char *errmsg[] = {
/*145*/ "invalid type expression\n",
/*146*/ "#pragma newdecls must be required or optional\n",
/*147*/ "new-style declarations are required\n",
/*148*/ "cannot assign null to a non-nullable type\n",
#else
"\247\255\311\232\273k\214:\234\306bu\201fo\223\204\222\012",
"\202l\224\251s\206g\344\352e\233\201(\242\247\323\267\202) \254 f\252low ea\277 \042c\343e\042\012",