LEX- Contd

LEX- Contd

The first part contains the dimensions of certain tables

internal to lex - also may contain definitions of text replace-

ments. It can also contain global C code preceded by a line

beginning %{ and ending with %}

The third part contains C code which is used as us. It usually

contains functions which the second part uses.

The first separator (%%) is essential, whereas the second

separator (%%) is not needed if the third part is empty.

Previous slide Next slide Back to the first slide View Graphic Version