1 rizwank 1.1 /**
2 * Name: diff
3 * Description: normal diffs
4 * Author: buchal@ifh.bau-verm.uni-karlsruhe.de
5 */
6
7 state diff extends HighlightEntry
8 {
9 /^[0-9]/ {
10 comment_face (true);
11 language_print ($0);
12 call (eat_one_line);
13 comment_face (false);
14 }
15
16 /^</ {
17 function_name_face (true);
18 language_print ($0);
19 call (eat_one_line);
20 function_name_face (false);
21 }
22 rizwank 1.1
23 /^>/ {
24 reference_face (true);
25 language_print ($0);
26 call (eat_one_line);
27 reference_face (false);
28 }
29 /^[^\ ]/ {
30 string_face (true);
31 language_print ($0);
32 call (eat_one_line);
33 string_face (false);
34 }
35 }
36
37
38 /*
39 Local variables:
40 mode: c
41 End:
42 */
|