5 extern void kparseerror(char *s);
9 field [A-Za-z0-9][-A-Za-z0-9]*
15 ^[ \t]*#.*\n kparselineno++;
16 {number} kparselval.integer = atoi(kparsetext); return INTEGER;
17 {field} kparselval.string = g_strdup(kparsetext); return FIELD;
20 kparselval.string = g_strdup(kparsetext+1);
21 if (kparselval.string[kparseleng-2] != '"') {
22 g_warning("improperly terminated string on line %d\n",
26 kparselval.string[kparseleng-2] = '\0';
31 \n kparselineno++; return *yytext;