Skip to content
Snippets Groups Projects
Commit 5e553db9 authored by Simon Marlow's avatar Simon Marlow
Browse files

[project @ 1998-02-02 16:39:17 by simonm]

Remove comments of the '%... \n' variety.
parent 87fe9c34
No related merge requests found
......@@ -14,6 +14,7 @@
%START NORM VERB VERBENV
sp [ \t]*
nl {sp}\n{sp}
comment \%.*$
miranda ([0-9]+(\-([0-9]+)?)?)?>
%{
#define PUSH states[top++] =
......@@ -27,6 +28,7 @@ miranda ([0-9]+(\-([0-9]+)?)?)?>
top = 0;
<NORM>@@ { printf ("@"); }
<NORM>@ { printf ("<tt>"); PUSH NORM; BEGIN VERB; }
<NORM>{comment} { }
<VERB>@ { printf ("</tt>"); POP; }
<VERB>@@ { printf ("@"); }
<VERB>\> { printf ("&gt;"); }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment