Lines Matching defs:tok
1309 Token tok;
1311 scan(&tok); // read in heredoc identifier
1312 if (tok.value != TOKidentifier)
1313 { error("identifier expected for heredoc, not %s", tok.toChars());
1317 { hereid = tok.ident;
1350 { Token tok;
1353 scan(&tok); // read in possible heredoc identifier
1354 //printf("endid = '%s'\n", tok.ident->toChars());
1355 if (tok.value == TOKidentifier && tok.ident->equals(hereid))
1398 { Token tok;
1400 scan(&tok);
1401 switch (tok.value)
1605 * If it's an integer, store it in tok.TKutok.Vlong.
1608 * If it's double, store it in tok.TKutok.Vdouble.
2065 Token tok;
2070 scan(&tok);
2071 if (tok.value == TOKint32v || tok.value == TOKint64v)
2073 int lin = (int)(tok.uns64value - 1);
2074 if ((unsigned)lin != tok.uns64value - 1)
2075 error("line number %lld out of range", (unsigned long long)tok.uns64value);
2079 else if (tok.value == TOKline)