ooef(1)

ooef1

Ooc error filter

Usage

oo2c { | ooef [options]}

ooef [options] <module> <pos>

Overview

The filter program ooef can be used to transform error messages, as emitted by oo2c, into a more convenient format. If no module name is given, ooef reads the output of oo2c from stdin, and writes a modified version to stdout. Error messages are rewritten, and the rest of the input is echoed.

If a module name and a file position are passed as arguments, appropriate output is generated to designate the given position in the module's source text.

Options

--context, -c

Write an extract of the source text and insert additional lines to point to the error position. This is the default setting. Lines are numbered starting at 1.

--line, -l

Rewrite error message to file:line:error. This will only give an approximation of the exact error position. The first line has the index 1.

--linecol, -L

Rewrite error message to file:line,column:error. The first line has the number 1, likewise the first column.

--config <file>

Use given file name for the primary initialization file. An empty name disables parsing of the default initialization file.

--include-config <file>

Include the given initialization file in addition to the default initialization file.

--version

Write compiler version and exit.

--help, -h

Write short usage summary and exit.

Environment

OOC_HOME holds the name of the primary initialization file.

Releases

4 releases since Debian 2.1 (Slink); the text changed 1 time.

  1. 2.1
  2. 2.2–3.1

Author

Michael van Acken <[email protected]>

From oo2c 1.5.9-3 in Debian 3.1 (Sarge). Parsed by carta from the page's man source.