Branch: Tag:

1996-02-25

1996-02-25 22:53:54 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

typeof() implemented

Rev: src/ChangeLog:1.19
Rev: src/Makefile.in:1.10
Rev: src/builtin_efuns.c:1.13
Rev: src/language.y:1.11
Rev: src/lex.c:1.8
Rev: src/lpc_types.c:1.3
Rev: src/lpc_types.h:1.2
Rev: src/object.c:1.7
Rev: src/operators.c:1.4
Rev: src/svalue.c:1.7
Rev: src/svalue.h:1.5

124:   { "static", F_STATIC, },   { "string", F_STRING_ID, },   { "switch", F_SWITCH, }, + { "typeof", F_TYPEOF, },   { "varargs", F_VARARGS, },   { "void", F_VOID_ID, },   { "while", F_WHILE, },
1532:    case '|': tmp="`|"; break;    case '^': tmp="`^"; break;    case '~': tmp="`~"; break; -  case '(': -  if(GOBBLE(')')) { tmp="`()"; break; } +        default:    yyerror("Illegal ` identifier.");