next up previous
Next: Tokens Up: Phrase Structure Previous: Phrase Structure


Lexical structure

A type-gla file contains the declarative specifications of the character strings to be recognized in the input text.

Phrase.gla[1]:

Lexical elements[2]
  C_COMMENT
  $#  (auxEOL)
This macro is attached to a product file.

Eli provides a canned description for C comments that implements the definition in Section 6.1.9 of the standard.

The C pre-processor normally leaves lines beginning with # in its output text to define the correspondence between that output and the input text. Here we ignore those lines by invoking the token processor auxEOL, which skips past the end of the current line.



Subsections

2008-08-30