Lines Matching full:linenum
41 vector<string> get_lines(vector<string>& input, int& linenum, string terminator) in get_lines() argument
47 while ((size_t)linenum < input.size()) { in get_lines()
48 line = input[linenum]; in get_lines()
50 if (terminator.empty() && line.empty()) { linenum--; break; } in get_lines()
58 linenum++; in get_lines()
83 int linenum, chapter = 1; in main() local
114 for (linenum=0; (size_t)linenum < input.size(); linenum++) { in main()
115 line = input[linenum]; in main()
119 lines = get_lines(input, linenum, "}"); in main()
151 comments = get_lines(input, linenum, "*/"); in main()
165 linenum++; in main()
166 lines = get_lines(input, linenum, ""); in main()
189 lines = get_lines(input, ++linenum, ""); in main()