blob: 0088dce4ccc803cec75332386700d581873ff3c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
--- libmcal/icalscanner.lex 2003-01-28 09:45:21.000000000 -0800
+++ libmcal/icalscanner.lex.new 2006-04-01 22:47:58.515410944 -0800
@@ -32,13 +32,6 @@
*/
#include "icalroutines.h"
-
-void
-ical_usebuf(const char *buf, size_t size)
-{
- BEGIN(INITIAL);
- yy_scan_bytes(buf, size);
-}
%}
@@ -68,3 +61,12 @@
{LF} BEGIN(INITIAL); return ICALTOK_LF;
. return ICALTOK_JUNK;
<<EOF>> return ICALTOK_EOF;
+
+%%
+
+void
+ical_usebuf(const char *buf, size_t size)
+{
+ BEGIN(INITIAL);
+ yy_scan_bytes(buf, size);
+}
|