-\layout Standard
-
-To combine the scan of noweb error messages and gcc error messages is simple
- if we realize that it is not possible to find a noweb error message
- in the middle of a gcc error message.
- So we just repeat the gcc procedure and test for noweb error messages in
- the beginning of the scan:
-\layout Scrap
-
-<<Solaris and Linux systems using both noweb and gcc>>=
-\newline
-{
-\newline
-
-\protected_separator
- char
-\protected_separator
-
-\protected_separator
-
-\protected_separator
- *s, *t;
-\newline
-
-\protected_separator
-
-\newline
-
-\protected_separator
- last_buf_line = 0;
-\newline
-
-\protected_separator
- while (fgets(buffer[last_buf_line], 200, stdin)) {
-\newline
-
-\protected_separator
-
-\protected_separator
-
-\protected_separator
- /****** Skip lines until I find an error */
-\newline
-
-\protected_separator
-
-\protected_separator
-
-\protected_separator
- if (last_buf_line == 0 && noweb_try(0)) {
-\newline
-
-\protected_separator
-
-\protected_separator
-
-\protected_separator