static int cppline(char *line);
static int directive(char *line);
static void docppline(char *line, int *lineno, char **fname);
-#ifdef undef
-static void deverbatim(void);
-#endif
-
/*
* scan expecting 1 given token
{TOK_FLOAT, "float"},
{TOK_DOUBLE, "double"},
{TOK_STRING, "string"},
- {TOK_PROGRAM, "program"},
- {TOK_VERSION, "version"},
{TOK_PACKAGE, "package"},
{TOK_PREFIX, "prefix"},
{TOK_STATINDEX, "statindex"},
}
*lineno = num - 1;
}
-
-
-#ifdef undef
-/* doesn't appear to be used */
-static void
-deverbatim(void)
-{
- for (where += 2; !verbatimend(where); where++) {
- if (*where == 0) {
- if (!fgets(curline, MAXLINESIZE, fin)) {
- error("unterminated code: %} is missing");
- }
- linenum++;
- where = curline - 1;
- if (verbatimend(curline)) {
- where++;
- break;
- }
- fputs(curline, fout);
- }
- }
- where += 2;
-}
-#endif