PowerAda asyntax
From OC Systems Wiki!
Contents
NAME
asyntax - check Ada syntax
SYNOPSIS
asyntax [-h] {-I | FileName . . . }
DESCRIPTION
This command checks the syntax of one or more Ada source files.
OPTIONS
- -h
- Requests help for the command. If specified, all other options and parameters (except possibly erroneous ones) are ignored.
- -I
- Specifies that a list of file names will be read from standard input. If "--" is found in a line read from standard input, the remainder of the line is ignored.
PARAMETERS
- FileName . . .
- One or more input files whose syntax is to be checked. Specify "-" as one of the file names to read Ada source from standard input.
- For each input file processed, a single line is written to standard output indicating if the file contains any syntax errors. If a file contains syntax errors, the following line is written:
FileName: Syntax error at line Line column Column
- If a file passes the syntax check, the following line is written:
FileName: Okay
RETURN CODES
Below is a list of the possible values returned by asyntax. Refer to Return Codes for Commands for details about the meaning of these return s.
0, 1, 2, 13, 99
FILES
$POWERADA/bin/asyntax
the asyntax program image
ENVIRONMENT VARIABLES
- POWERADA
- This must be defined and indicate the powerada/ada95 directory in the PowerAda installation.
BUGS/LIMITATIONS
See Problems and Questions at the beginning of this Appendix.