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