1 rizwank 1.1 /**
2 * Name: nested
3 * Description: Nested highlighting entries.
4 * Author: Markku Rossi <mtr@iki.fi>
5 */
6
7 state nested extends HighlightEntry
8 {
9 nested_start_re {
10 language_print($0);
11
12 nested_end_re = nested_end_re_cached;
13
14 if (strcmp($1, "") == 0)
15 calln(nested_default);
16 else
17 calln($3);
18
19 nested_end_re = 0;
20 }
21 }
22 rizwank 1.1
23 /*
24 Local variables:
25 mode: c
26 End:
27 */
|