Programmer's WorkBench (pwb.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Build:message Rule
                                             Up Contents Index Back
─────Programmer's WorkBench─────────────────────────────────────────────────
 
     The Build:message rule specifies a regular expression that is used
     to recognize errors and warnings generated by build tools. Portions
     of the pattern can be tagged to specify the file and location of
     the error so that PWB can position the cursor at that location.
     See: Build:message Tips
 
     Build:message rules are not part of a template. They are global,
     and should be placed in the [PWB] section of your TOOLS.INI file.
     This allows PWB to recognize messages from your tools, even when no
     project is open.
 
     Syntax
 
     Build:message "<pattern>" [file [line [col]] │ token]
 
     <pattern>    Tagged UNIX regular expression that matches a warning
                  or error message.
 
     file         The tagged subexpression in this position matches the
                  name of the file in error.
 
     line         The tagged subexpression in this position matches the
                  line number in error.
 
     col          The tagged subexpression in this position matches the
                  column on the line in error. A line must also be
                  specified.
 
     token        The tagged subexpression in this position matches the
                  token in error. All occurrences of the token in the
                  file are highlighted and the cursor is positioned on
                  the first occurrence of the token.
 
                  If you specify a token, you cannot also specify a
                  line.
 
     The file, line, col, and token keywords can appear in any order.
 
     Update
 
     With PWB 1.x, the file must precede the line, column, and token.
     With PWB 2.00, these items may be specified in any order.
 
     See
 
     PWB Macro String Syntax
     Regular Expressions
     Tagged Expressions in Build:Message
                                    -♦-