blob: cb22ee260f9ff4ef1075994cfa4df9d5c7bf0ca2 (
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
30
31
32
33
34
|
$NetBSD: patch-ae,v 1.1.4.1 2005/05/27 10:44:30 salo Exp $
--- common/slp_attr_l.l.orig 2005-05-26 20:00:07.000000000 +0100
+++ common/slp_attr_l.l
@@ -82,9 +82,9 @@ int slp_attr_wrap(void);
int slp_attr_lex(void);
-void slp_attr_close_lexer(unsigned int handle);
+void slp_attr_close_lexer(unsigned long handle);
-unsigned int slp_attr_init_lexer(char *s);
+unsigned long slp_attr_init_lexer(char *s);
%}
@@ -194,14 +194,14 @@ val [^(),\\!<>~\x00-\x1f*_\r\n\t]
%%
-unsigned int slp_attr_init_lexer(char *s)
+unsigned long slp_attr_init_lexer(char *s)
{
memset(&buf[0], 0x00, 2052);
strncpy(&buf[0], s, 2052);
- return((unsigned int)yy_scan_buffer(&buf[0], strlen(s) + 2));
+ return((unsigned long)yy_scan_buffer(&buf[0], strlen(s) + 2));
}
-void attr_close_lexer(unsigned int handle)
+void attr_close_lexer(unsigned long handle)
{
// assert(handle != 0);
yy_delete_buffer((YY_BUFFER_STATE)handle);
|