state idl extends HighlightEntry
{
/\/\*/ {
comment_face (true);
language_print ($0);
call (c_comment);
comment_face (false);
}
/\/\// {
comment_face (true);
language_print ($0);
call (eat_one_line);
comment_face (false);
}
/'.'|'\\\\.'/ {
string_face (true);
language_print ($0);
string_face (false);
}
/\"/ {
string_face (true);
language_print ($0);
call (c_string);
string_face (false);
}
/^#/ {
reference_face (true);
language_print ($0);
call (c_ppline);
reference_face (false);
}
/\b(TRUE|FALSE)\b/ {
string_face (true);
language_print ($0);
string_face (false);
}
/\b(Object|a(ny|ttribute)|boolean|c(ase|har|on(st|text))|d(efault|ouble)\
|e(num|xception)|f(ixed|loat)|in(|out|terface)|long|module|native\
|o(ctet|neway|ut)|r(aises|eadonly)|s(equence|hort|tr(ing|uct)|witch)\
|typedef|un(ion|signed)|void|w(char|string))\b/ {
keyword_face (true);
language_print ($0);
keyword_face (false);
}
}