Grammar of Commands

Some pieces of the grammar were modified from a grammar originally written by James A. Roskind, and covered by a copyright that requires a statement that... Portions Copyright (c) 1989, 1990 James A. Roskind

Each command line must parse as one of the following:

input

: command_list

| comment

A command_list is a sequence of commands that are executed one after the other.

command_list

: command ;...

| command ;

| command

A comment is a line that begins with a pound (#) character.

comment

: #

Any text after an unquoted pound character is ignored by the debugger. If the first non-whitespace character on a line is a pound character, the whole line is ignored.

Note:

The difference between a blank command line and a command line that is a comment is that a blank line entered from the keyboard will cause the debugger to repeat the previous command and the comment line will not. Blank lines not entered from the keyboard are treated as comment lines.

See also

Grammar of Expressions