diff.st - enscript - GNU Enscript
 (HTM) git clone git://thinkerwim.org/enscript.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
       diff.st (657B)
       ---
            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 
           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 */