Lines Matching +full:4 +full:- +full:line
1 // SPDX-License-Identifier: GPL-2.0
5 * (c) 2000 Geert Uytterhoeven <geert@linux-m68k.org>
9 * (c) 1999--2000 Martin Mares <[email protected]>
32 char line[1024], *c, *bra, manuf[8]; in main() local
45 while (fgets(line, sizeof(line)-1, stdin)) { in main()
47 if ((c = strchr(line, '\n'))) in main()
49 if (!line[0] || line[0] == '#') in main()
51 if (line[0] == '\t') { in main()
54 if (strlen(line) > 5 && line[5] == ' ') { in main()
55 c = line + 5; in main()
61 if (bra && bra > c && bra[-1] == ' ') in main()
62 bra[-1] = 0; in main()
64 fprintf(stderr, "Line %d: Product name too long\n", lino); in main()
68 fprintf(devf, "\tPRODUCT(%s,%s,\"", manuf, line+1); in main()
76 } else if (strlen(line) > 4 && line[4] == ' ') { in main()
77 c = line + 4; in main()
83 strcpy(manuf, line); in main()
86 fprintf(stderr, "Line %d: manufacturer name too long\n", lino); in main()
95 fprintf(stderr, "Line %d: Syntax error in mode %d: %s\n", lino, mode, line); in main()