pike.git / src / lex.c

version» Context lines:

pike.git/src/lex.c:188:   { "do-while", F_DO },   { "dumb return", F_DUMB_RETURN },   { "float number", F_FLOAT },   { "for", F_FOR },   { "foreach", F_FOREACH },   { "global", F_GLOBAL },   { "index", F_INDEX },   { "indirect", F_INDIRECT },   { "jump", F_BRANCH },   { "local function call",F_CALL_LFUN }, + { "local function call and pop",F_CALL_LFUN_AND_POP },   { "local function", F_LFUN },   { "local", F_LOCAL },   { "ltosval2", F_LTOSVAL2 },   { "lvalue to svalue", F_LTOSVAL },   { "lvalue_list", F_LVALUE_LIST },   { "mark", F_MARK }, -  + { "mark mark", F_MARK2 },   { "negative number", F_NEG_NUMBER },   { "number", F_NUMBER },   { "pop", F_POP_VALUE },   { "pop_n_elems", F_POP_N_ELEMS },   { "push 0", F_CONST0 },   { "push 1", F_CONST1 },   { "push 0x7fffffff", F_BIGNUM },   { "range", F_RANGE },   { "return", F_RETURN },   { "return 0", F_RETURN_0 },
pike.git/src/lex.c:234:   { "local++", F_POST_INC_LOCAL },   { "--local", F_DEC_LOCAL },   { "--local and pop", F_DEC_LOCAL_AND_POP },   { "local--", F_POST_DEC_LOCAL },   { "branch if <", F_BRANCH_WHEN_LT },   { "branch if >", F_BRANCH_WHEN_GT },   { "branch if <=", F_BRANCH_WHEN_LE },   { "branch if >=", F_BRANCH_WHEN_GE },   { "branch if ==", F_BRANCH_WHEN_EQ },   { "branch if !=", F_BRANCH_WHEN_NE }, + { "sizeof", F_SIZEOF }, + { "sizeof local", F_SIZEOF_LOCAL }, + { "throw(0)", F_THROW_ZERO },   };      struct instr instrs[F_MAX_INSTR - F_OFFSET];      struct reserved   {    struct hash_entry link;    int token;   };   
pike.git/src/lex.c:1533:    {    case '+': tmp="`+"; break;    case '-': tmp="`-"; break;    case '/': tmp="`/"; break;    case '%': tmp="`%"; break;    case '*': tmp="`*"; break;    case '&': tmp="`&"; break;    case '|': tmp="`|"; break;    case '^': tmp="`^"; break;    case '~': tmp="`~"; break; +  case '[': +  if(GOBBLE(']')) +  { +  tmp="`[]"; +  if(GOBBLE('=')) tmp="`[]="; +  break; +  }       default:    yyerror("Illegal ` identifier.");    tmp="";    break;       case '<':    if(GOBBLE('<')) { tmp="`<<"; break; }    if(GOBBLE('=')) { tmp="`<="; break; }    tmp="`<";