: $Id: lex.key,v 1.10 2009/05/15 23:56:44 tom Exp $
: LEX Macros
BEGIN
ECHO
REJECT
:
: from flex's manpage
YYSTATE
YY_AT_BOL
YY_BREAK
YY_BUFFER_STATE:Type
YY_END_OF_BUFFER_CHAR:Number
YY_NUM_RULES:Number
YY_DECL
YY_INPUT
YY_START
YY_USER_ACTION
YY_USER_INIT
:
input
unput
yyless
yymore
yyterminate
yywrap
:
: special variables
YY_CURRENT_BUFFER:Ident2
yyin:Ident2
yyleng:Ident2
yyout:Ident2
yytext:Ident2
:
: Display section-markers such as "%{" and "%%" as an action.
: The filter will default to "Keyword" otherwise.
.class LexSection:Action
:
: The filter colors state-names with "LexStates", which defaults to "Keyword".
.class LexStates
INITIAL:LexStates
:
.merge c
:
: Define a separate table for pattern names.  It contains one class, which
: is given the same name "LexPattern".
.table LexPattern
.class LexPattern:Ident2
