Lines Matching defs:keyword
226 * SCKeyOf - convert keyword into key ID
337 char keyword[BUFSIZ];
351 int ntok = sscanf(buf, "%1023s %1023s", keyword, token);
354 switch (SCKeyOf(keyword)) {
364 "Line %d: Extraneous keyword %s.\n",
365 linenum, keyword);
382 linenum, keyword);
401 fprintf(stderr, "Line %d: Extraneous keyword %s.\n",
402 linenum, keyword);
419 linenum, keyword);
440 "Line %d: Extraneous keyword %s.\n",
441 linenum, keyword);
458 linenum, keyword);
501 "Line %d: Extraneous keyword %s.\n", linenum, keyword);
507 linenum, keyword);
516 "Line %d: Unexpected keyword %s\n", linenum, keyword);
522 fprintf(stderr, "Line %d: Unrecognized keyword\n", linenum);
547 char *keyword = ptoken;
549 if (keyword != NULL) {
550 switch (SCKeyOf(keyword)) {
553 fprintf(stderr, "Line %d: unexpected keyword %s\n",
554 linenum, keyword);
650 linenum, keyword);
660 linenum, keyword);
716 fprintf(stderr, "Line %d: extraneous keyword %s\n",
717 linenum, keyword);
723 linenum, keyword);
731 fprintf(stderr, "Line %d: unexpected keyword %s\n",
732 linenum, keyword);
1442 fprintf(stderr, "Line %d: invalid keyword %s\n", linenum, key);
1500 char *keyword, *token1, *token2, *token3;
1533 * Advance to starting keyword
1534 * Anything before this keyword is just treated as comments.
1538 keyword = strtok(buf, DATA_DELIMS);
1539 if (keyword != NULL &&
1540 (strcmp(keyword, SC_BEGIN_KEYWORD) == 0)) {
1562 keyword = strtok(buf, DATA_DELIMS);
1563 if (keyword != NULL) {
1564 switch (SCKeyOf(keyword)) {
1746 keyword = strtok(buf, DATA_DELIMS);
1747 if (keyword != NULL) {
1748 switch (SCKeyOf(keyword)) {
1804 fprintf(stderr, "Line %d: extraneous keyword %s\n",
1805 linenum, keyword);