Lines Matching +full:no +full:- +full:scan +full:- +full:on +full:- +full:init
1 /*-
2 * Copyright (c) 2015-2021 Baptiste Daroussin <bapt@FreeBSD.org>
18 * IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT,
21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
44 INIT, /* '$' */ enumerator
47 PUNC_SEEN, /* ':' -> _SVN; space -> TEXT */
53 scan(FILE *fp, const char *name, bool quiet) in scan() function
58 analyzer_states state = INIT; in scan()
76 case INIT: in scan()
81 /* Otherwise, stay in INIT state */ in scan()
100 /* Otherwise, transit back to INIT */ in scan()
101 state = INIT; in scan()
128 * Go back to INIT state otherwise. in scan()
130 state = INIT; in scan()
146 * to INIT state. in scan()
152 state = INIT; in scan()
164 state = INIT; in scan()
173 state = INIT; in scan()
182 * subversion mode. No length check is enforced in scan()
185 c = buf[strlen(buf) -2 ]; in scan()
190 state = INIT; in scan()
202 fprintf(stderr, "%s warning: no id keywords in %s\n", in scan()
220 while ((ch = getopt(argc, argv, "qV")) != -1) { in main()
229 errx(EXIT_FAILURE, "usage: %s [-q] [-V] [file...]", in main()
234 argc -= optind; in main()
280 if (scan(fp, argc == 0 ? NULL : argv[i], quiet) != EXIT_SUCCESS) in main()