added pascal lexer for syntax highlighting

This commit is contained in:
codeimp 2008-11-15 19:32:17 +00:00
parent 06467d718a
commit 7e05755944

View file

@ -37,6 +37,38 @@ lexer3 // CPP-style, case-sensitive
}
lexer6 // Perl-style
{
0 = 0; // plain text
2 = 3; // comments
4 = 4; // literal
5 = 1; // keywords
6 = 4; // literal
7 = 4; // literal
33 = 5; // line numbers
keywordsindex = 0;
constantsindex = -1;
}
lexer18 // Pascal-style
{
0 = 0; // plain text
33 = 5; // line numbers
1 = 3; // comments
2 = 3; // comments
5 = 1; // keywords
4 = 4; // literal
6 = 4; // literal
7 = 4; // literal
16 = 2; // constants
keywordsindex = 0;
constantsindex = 1;
}
lexer35 // CPP-style, case-insensitive
{
0 = 0; // plain text
@ -54,17 +86,3 @@ lexer35 // CPP-style, case-insensitive
}
lexer6 // Perl-style
{
0 = 0; // plain text
2 = 3; // comments
4 = 4; // literal
5 = 1; // keywords
6 = 4; // literal
7 = 4; // literal
33 = 5; // line numbers
keywordsindex = 0;
constantsindex = -1;
}