(file) Return to c_string.st CVS log (file) (dir) Up to [RizwankCVS] / testProject / share / enscript / hl

 1 rizwank 1.1 /*
 2              * Read one C-string.  C-styled strings are needed in many languages.
 3              * Therefore it is implemented in a separate file to ease its reusing.
 4              */
 5             
 6             state c_string extends Highlight
 7             {
 8               /\\\\./ {
 9                 language_print ($0);
10               }
11               /\"/ {
12                 language_print ($0);
13                 return;
14               }
15             }
16             
17             
18             /*
19             Local variables:
20             mode: c
21             End:
22 rizwank 1.1 */

Rizwan Kassim
Powered by
ViewCVS 0.9.2