1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
---|
2 | <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> |
---|
3 | <title>mixpp: scanner.h Source File</title> |
---|
4 | <link href="tabs.css" rel="stylesheet" type="text/css"> |
---|
5 | <link href="doxygen.css" rel="stylesheet" type="text/css"> |
---|
6 | </head><body> |
---|
7 | <!-- Generated by Doxygen 1.5.8 --> |
---|
8 | <script type="text/javascript"> |
---|
9 | <!-- |
---|
10 | function changeDisplayState (e){ |
---|
11 | var num=this.id.replace(/[^[0-9]/g,''); |
---|
12 | var button=this.firstChild; |
---|
13 | var sectionDiv=document.getElementById('dynsection'+num); |
---|
14 | if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){ |
---|
15 | sectionDiv.style.display='block'; |
---|
16 | button.src='open.gif'; |
---|
17 | }else{ |
---|
18 | sectionDiv.style.display='none'; |
---|
19 | button.src='closed.gif'; |
---|
20 | } |
---|
21 | } |
---|
22 | function initDynSections(){ |
---|
23 | var divs=document.getElementsByTagName('div'); |
---|
24 | var sectionCounter=1; |
---|
25 | for(var i=0;i<divs.length-1;i++){ |
---|
26 | if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){ |
---|
27 | var header=divs[i]; |
---|
28 | var section=divs[i+1]; |
---|
29 | var button=header.firstChild; |
---|
30 | if (button!='IMG'){ |
---|
31 | divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild); |
---|
32 | button=document.createElement('img'); |
---|
33 | divs[i].insertBefore(button,divs[i].firstChild); |
---|
34 | } |
---|
35 | header.style.cursor='pointer'; |
---|
36 | header.onclick=changeDisplayState; |
---|
37 | header.id='dynheader'+sectionCounter; |
---|
38 | button.src='closed.gif'; |
---|
39 | section.id='dynsection'+sectionCounter; |
---|
40 | section.style.display='none'; |
---|
41 | section.style.marginLeft='14px'; |
---|
42 | sectionCounter++; |
---|
43 | } |
---|
44 | } |
---|
45 | } |
---|
46 | window.onload = initDynSections; |
---|
47 | --> |
---|
48 | </script> |
---|
49 | <div class="navigation" id="top"> |
---|
50 | <div class="tabs"> |
---|
51 | <ul> |
---|
52 | <li><a href="main.html"><span>Main Page</span></a></li> |
---|
53 | <li><a href="pages.html"><span>Related Pages</span></a></li> |
---|
54 | <li><a href="modules.html"><span>Modules</span></a></li> |
---|
55 | <li><a href="annotated.html"><span>Classes</span></a></li> |
---|
56 | <li class="current"><a href="files.html"><span>Files</span></a></li> |
---|
57 | </ul> |
---|
58 | </div> |
---|
59 | <div class="tabs"> |
---|
60 | <ul> |
---|
61 | <li><a href="files.html"><span>File List</span></a></li> |
---|
62 | <li><a href="globals.html"><span>File Members</span></a></li> |
---|
63 | </ul> |
---|
64 | </div> |
---|
65 | <h1>scanner.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef libconfig_yyHEADER_H</span> |
---|
66 | <a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define libconfig_yyHEADER_H 1</span> |
---|
67 | <a name="l00003"></a>00003 <span class="preprocessor"></span><span class="preprocessor">#define libconfig_yyIN_HEADER 1</span> |
---|
68 | <a name="l00004"></a>00004 <span class="preprocessor"></span> |
---|
69 | <a name="l00005"></a>00005 <span class="preprocessor">#line 6 "scanner.h"</span> |
---|
70 | <a name="l00006"></a>00006 <span class="preprocessor"></span> |
---|
71 | <a name="l00007"></a>00007 <span class="preprocessor">#line 8 "scanner.h"</span> |
---|
72 | <a name="l00008"></a>00008 <span class="preprocessor"></span> |
---|
73 | <a name="l00009"></a>00009 <span class="preprocessor">#define YY_INT_ALIGNED short int</span> |
---|
74 | <a name="l00010"></a>00010 <span class="preprocessor"></span> |
---|
75 | <a name="l00011"></a>00011 <span class="comment">/* A lexical scanner generated by flex */</span> |
---|
76 | <a name="l00012"></a>00012 |
---|
77 | <a name="l00013"></a>00013 <span class="preprocessor">#define FLEX_SCANNER</span> |
---|
78 | <a name="l00014"></a>00014 <span class="preprocessor"></span><span class="preprocessor">#define YY_FLEX_MAJOR_VERSION 2</span> |
---|
79 | <a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define YY_FLEX_MINOR_VERSION 5</span> |
---|
80 | <a name="l00016"></a>00016 <span class="preprocessor"></span><span class="preprocessor">#define YY_FLEX_SUBMINOR_VERSION 33</span> |
---|
81 | <a name="l00017"></a>00017 <span class="preprocessor"></span><span class="preprocessor">#if YY_FLEX_SUBMINOR_VERSION > 0</span> |
---|
82 | <a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define FLEX_BETA</span> |
---|
83 | <a name="l00019"></a>00019 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
---|
84 | <a name="l00020"></a>00020 <span class="preprocessor"></span> |
---|
85 | <a name="l00021"></a>00021 <span class="comment">/* First, we deal with platform-specific or compiler-specific issues. */</span> |
---|
86 | <a name="l00022"></a>00022 |
---|
87 | <a name="l00023"></a>00023 <span class="comment">/* begin standard C headers. */</span> |
---|
88 | <a name="l00024"></a>00024 <span class="preprocessor">#include <stdio.h></span> |
---|
89 | <a name="l00025"></a>00025 <span class="preprocessor">#include <string.h></span> |
---|
90 | <a name="l00026"></a>00026 <span class="preprocessor">#include <errno.h></span> |
---|
91 | <a name="l00027"></a>00027 <span class="preprocessor">#include <stdlib.h></span> |
---|
92 | <a name="l00028"></a>00028 |
---|
93 | <a name="l00029"></a>00029 <span class="comment">/* end standard C headers. */</span> |
---|
94 | <a name="l00030"></a>00030 |
---|
95 | <a name="l00031"></a>00031 <span class="comment">/* flex integer type definitions */</span> |
---|
96 | <a name="l00032"></a>00032 |
---|
97 | <a name="l00033"></a>00033 <span class="preprocessor">#ifndef FLEXINT_H</span> |
---|
98 | <a name="l00034"></a>00034 <span class="preprocessor"></span><span class="preprocessor">#define FLEXINT_H</span> |
---|
99 | <a name="l00035"></a>00035 <span class="preprocessor"></span> |
---|
100 | <a name="l00036"></a>00036 <span class="comment">/* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */</span> |
---|
101 | <a name="l00037"></a>00037 |
---|
102 | <a name="l00038"></a>00038 <span class="preprocessor">#if __STDC_VERSION__ >= 199901L</span> |
---|
103 | <a name="l00039"></a>00039 <span class="preprocessor"></span> |
---|
104 | <a name="l00040"></a>00040 <span class="comment">/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,</span> |
---|
105 | <a name="l00041"></a>00041 <span class="comment"> * if you want the limit (max/min) macros for int types. </span> |
---|
106 | <a name="l00042"></a>00042 <span class="comment"> */</span> |
---|
107 | <a name="l00043"></a>00043 <span class="preprocessor">#ifndef __STDC_LIMIT_MACROS</span> |
---|
108 | <a name="l00044"></a>00044 <span class="preprocessor"></span><span class="preprocessor">#define __STDC_LIMIT_MACROS 1</span> |
---|
109 | <a name="l00045"></a>00045 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
---|
110 | <a name="l00046"></a>00046 <span class="preprocessor"></span> |
---|
111 | <a name="l00047"></a>00047 <span class="preprocessor">#include <inttypes.h></span> |
---|
112 | <a name="l00048"></a>00048 <span class="keyword">typedef</span> int8_t flex_int8_t; |
---|
113 | <a name="l00049"></a>00049 <span class="keyword">typedef</span> uint8_t flex_uint8_t; |
---|
114 | <a name="l00050"></a>00050 <span class="keyword">typedef</span> int16_t flex_int16_t; |
---|
115 | <a name="l00051"></a>00051 <span class="keyword">typedef</span> uint16_t flex_uint16_t; |
---|
116 | <a name="l00052"></a>00052 <span class="keyword">typedef</span> int32_t flex_int32_t; |
---|
117 | <a name="l00053"></a>00053 <span class="keyword">typedef</span> uint32_t flex_uint32_t; |
---|
118 | <a name="l00054"></a>00054 <span class="preprocessor">#else</span> |
---|
119 | <a name="l00055"></a>00055 <span class="preprocessor"></span><span class="keyword">typedef</span> <span class="keywordtype">signed</span> <span class="keywordtype">char</span> flex_int8_t; |
---|
120 | <a name="l00056"></a>00056 <span class="keyword">typedef</span> <span class="keywordtype">short</span> <span class="keywordtype">int</span> flex_int16_t; |
---|
121 | <a name="l00057"></a>00057 <span class="keyword">typedef</span> <span class="keywordtype">int</span> flex_int32_t; |
---|
122 | <a name="l00058"></a>00058 <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> flex_uint8_t; |
---|
123 | <a name="l00059"></a>00059 <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <span class="keywordtype">int</span> flex_uint16_t; |
---|
124 | <a name="l00060"></a>00060 <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> flex_uint32_t; |
---|
125 | <a name="l00061"></a>00061 <span class="preprocessor">#endif </span><span class="comment">/* ! C99 */</span> |
---|
126 | <a name="l00062"></a>00062 |
---|
127 | <a name="l00063"></a>00063 <span class="comment">/* Limits of integral types. */</span> |
---|
128 | <a name="l00064"></a>00064 <span class="preprocessor">#ifndef INT8_MIN</span> |
---|
129 | <a name="l00065"></a>00065 <span class="preprocessor"></span><span class="preprocessor">#define INT8_MIN (-128)</span> |
---|
130 | <a name="l00066"></a>00066 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
---|
131 | <a name="l00067"></a>00067 <span class="preprocessor"></span><span class="preprocessor">#ifndef INT16_MIN</span> |
---|
132 | <a name="l00068"></a>00068 <span class="preprocessor"></span><span class="preprocessor">#define INT16_MIN (-32767-1)</span> |
---|
133 | <a name="l00069"></a>00069 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
---|
134 | <a name="l00070"></a>00070 <span class="preprocessor"></span><span class="preprocessor">#ifndef INT32_MIN</span> |
---|
135 | <a name="l00071"></a>00071 <span class="preprocessor"></span><span class="preprocessor">#define INT32_MIN (-2147483647-1)</span> |
---|
136 | <a name="l00072"></a>00072 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
---|
137 | <a name="l00073"></a>00073 <span class="preprocessor"></span><span class="preprocessor">#ifndef INT8_MAX</span> |
---|
138 | <a name="l00074"></a>00074 <span class="preprocessor"></span><span class="preprocessor">#define INT8_MAX (127)</span> |
---|
139 | <a name="l00075"></a>00075 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
---|
140 | <a name="l00076"></a>00076 <span class="preprocessor"></span><span class="preprocessor">#ifndef INT16_MAX</span> |
---|
141 | <a name="l00077"></a>00077 <span class="preprocessor"></span><span class="preprocessor">#define INT16_MAX (32767)</span> |
---|
142 | <a name="l00078"></a>00078 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
---|
143 | <a name="l00079"></a>00079 <span class="preprocessor"></span><span class="preprocessor">#ifndef INT32_MAX</span> |
---|
144 | <a name="l00080"></a>00080 <span class="preprocessor"></span><span class="preprocessor">#define INT32_MAX (2147483647)</span> |
---|
145 | <a name="l00081"></a>00081 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
---|
146 | <a name="l00082"></a>00082 <span class="preprocessor"></span><span class="preprocessor">#ifndef UINT8_MAX</span> |
---|
147 | <a name="l00083"></a>00083 <span class="preprocessor"></span><span class="preprocessor">#define UINT8_MAX (255U)</span> |
---|
148 | <a name="l00084"></a>00084 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
---|
149 | <a name="l00085"></a>00085 <span class="preprocessor"></span><span class="preprocessor">#ifndef UINT16_MAX</span> |
---|
150 | <a name="l00086"></a>00086 <span class="preprocessor"></span><span class="preprocessor">#define UINT16_MAX (65535U)</span> |
---|
151 | <a name="l00087"></a>00087 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
---|
152 | <a name="l00088"></a>00088 <span class="preprocessor"></span><span class="preprocessor">#ifndef UINT32_MAX</span> |
---|
153 | <a name="l00089"></a>00089 <span class="preprocessor"></span><span class="preprocessor">#define UINT32_MAX (4294967295U)</span> |
---|
154 | <a name="l00090"></a>00090 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
---|
155 | <a name="l00091"></a>00091 <span class="preprocessor"></span> |
---|
156 | <a name="l00092"></a>00092 <span class="preprocessor">#endif </span><span class="comment">/* ! FLEXINT_H */</span> |
---|
157 | <a name="l00093"></a>00093 |
---|
158 | <a name="l00094"></a>00094 <span class="preprocessor">#ifdef __cplusplus</span> |
---|
159 | <a name="l00095"></a>00095 <span class="preprocessor"></span> |
---|
160 | <a name="l00096"></a>00096 <span class="comment">/* The "const" storage-class-modifier is valid. */</span> |
---|
161 | <a name="l00097"></a>00097 <span class="preprocessor">#define YY_USE_CONST</span> |
---|
162 | <a name="l00098"></a>00098 <span class="preprocessor"></span> |
---|
163 | <a name="l00099"></a>00099 <span class="preprocessor">#else </span><span class="comment">/* ! __cplusplus */</span> |
---|
164 | <a name="l00100"></a>00100 |
---|
165 | <a name="l00101"></a>00101 <span class="preprocessor">#if __STDC__</span> |
---|
166 | <a name="l00102"></a>00102 <span class="preprocessor"></span> |
---|
167 | <a name="l00103"></a>00103 <span class="preprocessor">#define YY_USE_CONST</span> |
---|
168 | <a name="l00104"></a>00104 <span class="preprocessor"></span> |
---|
169 | <a name="l00105"></a>00105 <span class="preprocessor">#endif </span><span class="comment">/* __STDC__ */</span> |
---|
170 | <a name="l00106"></a>00106 <span class="preprocessor">#endif </span><span class="comment">/* ! __cplusplus */</span> |
---|
171 | <a name="l00107"></a>00107 |
---|
172 | <a name="l00108"></a>00108 <span class="preprocessor">#ifdef YY_USE_CONST</span> |
---|
173 | <a name="l00109"></a>00109 <span class="preprocessor"></span><span class="preprocessor">#define yyconst const</span> |
---|
174 | <a name="l00110"></a>00110 <span class="preprocessor"></span><span class="preprocessor">#else</span> |
---|
175 | <a name="l00111"></a>00111 <span class="preprocessor"></span><span class="preprocessor">#define yyconst</span> |
---|
176 | <a name="l00112"></a>00112 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
---|
177 | <a name="l00113"></a>00113 <span class="preprocessor"></span> |
---|
178 | <a name="l00114"></a>00114 <span class="comment">/* An opaque pointer. */</span> |
---|
179 | <a name="l00115"></a>00115 <span class="preprocessor">#ifndef YY_TYPEDEF_YY_SCANNER_T</span> |
---|
180 | <a name="l00116"></a>00116 <span class="preprocessor"></span><span class="preprocessor">#define YY_TYPEDEF_YY_SCANNER_T</span> |
---|
181 | <a name="l00117"></a>00117 <span class="preprocessor"></span><span class="keyword">typedef</span> <span class="keywordtype">void</span>* yyscan_t; |
---|
182 | <a name="l00118"></a>00118 <span class="preprocessor">#endif</span> |
---|
183 | <a name="l00119"></a>00119 <span class="preprocessor"></span> |
---|
184 | <a name="l00120"></a>00120 <span class="comment">/* For convenience, these vars (plus the bison vars far below)</span> |
---|
185 | <a name="l00121"></a>00121 <span class="comment"> are macros in the reentrant scanner. */</span> |
---|
186 | <a name="l00122"></a>00122 <span class="preprocessor">#define yyin yyg->yyin_r</span> |
---|
187 | <a name="l00123"></a>00123 <span class="preprocessor"></span><span class="preprocessor">#define yyout yyg->yyout_r</span> |
---|
188 | <a name="l00124"></a>00124 <span class="preprocessor"></span><span class="preprocessor">#define yyextra yyg->yyextra_r</span> |
---|
189 | <a name="l00125"></a>00125 <span class="preprocessor"></span><span class="preprocessor">#define yyleng yyg->yyleng_r</span> |
---|
190 | <a name="l00126"></a>00126 <span class="preprocessor"></span><span class="preprocessor">#define yytext yyg->yytext_r</span> |
---|
191 | <a name="l00127"></a>00127 <span class="preprocessor"></span><span class="preprocessor">#define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)</span> |
---|
192 | <a name="l00128"></a>00128 <span class="preprocessor"></span><span class="preprocessor">#define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)</span> |
---|
193 | <a name="l00129"></a>00129 <span class="preprocessor"></span><span class="preprocessor">#define yy_flex_debug yyg->yy_flex_debug_r</span> |
---|
194 | <a name="l00130"></a>00130 <span class="preprocessor"></span> |
---|
195 | <a name="l00131"></a>00131 <span class="keywordtype">int</span> libconfig_yylex_init (yyscan_t* scanner); |
---|
196 | <a name="l00132"></a>00132 |
---|
197 | <a name="l00133"></a>00133 <span class="preprocessor">#ifndef YY_TYPEDEF_YY_BUFFER_STATE</span> |
---|
198 | <a name="l00134"></a>00134 <span class="preprocessor"></span><span class="preprocessor">#define YY_TYPEDEF_YY_BUFFER_STATE</span> |
---|
199 | <a name="l00135"></a>00135 <span class="preprocessor"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>yy_buffer_state *YY_BUFFER_STATE; |
---|
200 | <a name="l00136"></a>00136 <span class="preprocessor">#endif</span> |
---|
201 | <a name="l00137"></a>00137 <span class="preprocessor"></span> |
---|
202 | <a name="l00138"></a>00138 <span class="comment">/* The following is because we cannot portably get our hands on size_t</span> |
---|
203 | <a name="l00139"></a>00139 <span class="comment"> * (without autoconf's help, which isn't available because we want</span> |
---|
204 | <a name="l00140"></a>00140 <span class="comment"> * flex-generated scanners to compile on their own).</span> |
---|
205 | <a name="l00141"></a>00141 <span class="comment"> */</span> |
---|
206 | <a name="l00142"></a>00142 |
---|
207 | <a name="l00143"></a>00143 <span class="preprocessor">#ifndef YY_TYPEDEF_YY_SIZE_T</span> |
---|
208 | <a name="l00144"></a>00144 <span class="preprocessor"></span><span class="preprocessor">#define YY_TYPEDEF_YY_SIZE_T</span> |
---|
209 | <a name="l00145"></a>00145 <span class="preprocessor"></span><span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> yy_size_t; |
---|
210 | <a name="l00146"></a>00146 <span class="preprocessor">#endif</span> |
---|
211 | <a name="l00147"></a>00147 <span class="preprocessor"></span> |
---|
212 | <a name="l00148"></a>00148 <span class="preprocessor">#ifndef YY_STRUCT_YY_BUFFER_STATE</span> |
---|
213 | <a name="l00149"></a>00149 <span class="preprocessor"></span><span class="preprocessor">#define YY_STRUCT_YY_BUFFER_STATE</span> |
---|
214 | <a name="l00150"></a>00150 <span class="preprocessor"></span><span class="keyword">struct </span>yy_buffer_state |
---|
215 | <a name="l00151"></a>00151 { |
---|
216 | <a name="l00152"></a>00152 FILE *yy_input_file; |
---|
217 | <a name="l00153"></a>00153 |
---|
218 | <a name="l00154"></a>00154 <span class="keywordtype">char</span> *yy_ch_buf; <span class="comment">/* input buffer */</span> |
---|
219 | <a name="l00155"></a>00155 <span class="keywordtype">char</span> *yy_buf_pos; <span class="comment">/* current position in input buffer */</span> |
---|
220 | <a name="l00156"></a>00156 |
---|
221 | <a name="l00157"></a>00157 <span class="comment">/* Size of input buffer in bytes, not including room for EOB</span> |
---|
222 | <a name="l00158"></a>00158 <span class="comment"> * characters.</span> |
---|
223 | <a name="l00159"></a>00159 <span class="comment"> */</span> |
---|
224 | <a name="l00160"></a>00160 yy_size_t yy_buf_size; |
---|
225 | <a name="l00161"></a>00161 |
---|
226 | <a name="l00162"></a>00162 <span class="comment">/* Number of characters read into yy_ch_buf, not including EOB</span> |
---|
227 | <a name="l00163"></a>00163 <span class="comment"> * characters.</span> |
---|
228 | <a name="l00164"></a>00164 <span class="comment"> */</span> |
---|
229 | <a name="l00165"></a>00165 <span class="keywordtype">int</span> yy_n_chars; |
---|
230 | <a name="l00166"></a>00166 |
---|
231 | <a name="l00167"></a>00167 <span class="comment">/* Whether we "own" the buffer - i.e., we know we created it,</span> |
---|
232 | <a name="l00168"></a>00168 <span class="comment"> * and can realloc() it to grow it, and should free() it to</span> |
---|
233 | <a name="l00169"></a>00169 <span class="comment"> * delete it.</span> |
---|
234 | <a name="l00170"></a>00170 <span class="comment"> */</span> |
---|
235 | <a name="l00171"></a>00171 <span class="keywordtype">int</span> yy_is_our_buffer; |
---|
236 | <a name="l00172"></a>00172 |
---|
237 | <a name="l00173"></a>00173 <span class="comment">/* Whether this is an "interactive" input source; if so, and</span> |
---|
238 | <a name="l00174"></a>00174 <span class="comment"> * if we're using stdio for input, then we want to use getc()</span> |
---|
239 | <a name="l00175"></a>00175 <span class="comment"> * instead of fread(), to make sure we stop fetching input after</span> |
---|
240 | <a name="l00176"></a>00176 <span class="comment"> * each newline.</span> |
---|
241 | <a name="l00177"></a>00177 <span class="comment"> */</span> |
---|
242 | <a name="l00178"></a>00178 <span class="keywordtype">int</span> yy_is_interactive; |
---|
243 | <a name="l00179"></a>00179 |
---|
244 | <a name="l00180"></a>00180 <span class="comment">/* Whether we're considered to be at the beginning of a line.</span> |
---|
245 | <a name="l00181"></a>00181 <span class="comment"> * If so, '^' rules will be active on the next match, otherwise</span> |
---|
246 | <a name="l00182"></a>00182 <span class="comment"> * not.</span> |
---|
247 | <a name="l00183"></a>00183 <span class="comment"> */</span> |
---|
248 | <a name="l00184"></a>00184 <span class="keywordtype">int</span> yy_at_bol; |
---|
249 | <a name="l00185"></a>00185 |
---|
250 | <a name="l00186"></a>00186 <span class="keywordtype">int</span> yy_bs_lineno; |
---|
251 | <a name="l00187"></a>00187 <span class="keywordtype">int</span> yy_bs_column; |
---|
252 | <a name="l00189"></a>00189 <span class="comment">/* Whether to try to fill the input buffer when we reach the</span> |
---|
253 | <a name="l00190"></a>00190 <span class="comment"> * end of it.</span> |
---|
254 | <a name="l00191"></a>00191 <span class="comment"> */</span> |
---|
255 | <a name="l00192"></a>00192 <span class="keywordtype">int</span> yy_fill_buffer; |
---|
256 | <a name="l00193"></a>00193 |
---|
257 | <a name="l00194"></a>00194 <span class="keywordtype">int</span> yy_buffer_status; |
---|
258 | <a name="l00195"></a>00195 |
---|
259 | <a name="l00196"></a>00196 }; |
---|
260 | <a name="l00197"></a>00197 <span class="preprocessor">#endif </span><span class="comment">/* !YY_STRUCT_YY_BUFFER_STATE */</span> |
---|
261 | <a name="l00198"></a>00198 |
---|
262 | <a name="l00199"></a>00199 <span class="keywordtype">void</span> libconfig_yyrestart (FILE *input_file ,yyscan_t yyscanner ); |
---|
263 | <a name="l00200"></a>00200 <span class="keywordtype">void</span> libconfig_yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner ); |
---|
264 | <a name="l00201"></a>00201 YY_BUFFER_STATE libconfig_yy_create_buffer (FILE *file,<span class="keywordtype">int</span> size ,yyscan_t yyscanner ); |
---|
265 | <a name="l00202"></a>00202 <span class="keywordtype">void</span> libconfig_yy_delete_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner ); |
---|
266 | <a name="l00203"></a>00203 <span class="keywordtype">void</span> libconfig_yy_flush_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner ); |
---|
267 | <a name="l00204"></a>00204 <span class="keywordtype">void</span> libconfig_yypush_buffer_state (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner ); |
---|
268 | <a name="l00205"></a>00205 <span class="keywordtype">void</span> libconfig_yypop_buffer_state (yyscan_t yyscanner ); |
---|
269 | <a name="l00206"></a>00206 |
---|
270 | <a name="l00207"></a>00207 YY_BUFFER_STATE libconfig_yy_scan_buffer (<span class="keywordtype">char</span> *base,yy_size_t size ,yyscan_t yyscanner ); |
---|
271 | <a name="l00208"></a>00208 YY_BUFFER_STATE libconfig_yy_scan_string (yyconst <span class="keywordtype">char</span> *yy_str ,yyscan_t yyscanner ); |
---|
272 | <a name="l00209"></a>00209 YY_BUFFER_STATE libconfig_yy_scan_bytes (yyconst <span class="keywordtype">char</span> *bytes,<span class="keywordtype">int</span> len ,yyscan_t yyscanner ); |
---|
273 | <a name="l00210"></a>00210 |
---|
274 | <a name="l00211"></a>00211 <span class="keywordtype">void</span> *libconfig_yyalloc (yy_size_t ,yyscan_t yyscanner ); |
---|
275 | <a name="l00212"></a>00212 <span class="keywordtype">void</span> *libconfig_yyrealloc (<span class="keywordtype">void</span> *,yy_size_t ,yyscan_t yyscanner ); |
---|
276 | <a name="l00213"></a>00213 <span class="keywordtype">void</span> libconfig_yyfree (<span class="keywordtype">void</span> * ,yyscan_t yyscanner ); |
---|
277 | <a name="l00214"></a>00214 |
---|
278 | <a name="l00215"></a>00215 <span class="preprocessor">#define libconfig_yywrap(n) 1</span> |
---|
279 | <a name="l00216"></a>00216 <span class="preprocessor"></span><span class="preprocessor">#define YY_SKIP_YYWRAP</span> |
---|
280 | <a name="l00217"></a>00217 <span class="preprocessor"></span> |
---|
281 | <a name="l00218"></a>00218 <span class="preprocessor">#define yytext_ptr yytext_r</span> |
---|
282 | <a name="l00219"></a>00219 <span class="preprocessor"></span> |
---|
283 | <a name="l00220"></a>00220 <span class="preprocessor">#ifdef YY_HEADER_EXPORT_START_CONDITIONS</span> |
---|
284 | <a name="l00221"></a>00221 <span class="preprocessor"></span><span class="preprocessor">#define INITIAL 0</span> |
---|
285 | <a name="l00222"></a>00222 <span class="preprocessor"></span><span class="preprocessor">#define COMMENT 1</span> |
---|
286 | <a name="l00223"></a>00223 <span class="preprocessor"></span> |
---|
287 | <a name="l00224"></a>00224 <span class="preprocessor">#endif</span> |
---|
288 | <a name="l00225"></a>00225 <span class="preprocessor"></span> |
---|
289 | <a name="l00226"></a>00226 <span class="preprocessor">#ifndef YY_EXTRA_TYPE</span> |
---|
290 | <a name="l00227"></a>00227 <span class="preprocessor"></span><span class="preprocessor">#define YY_EXTRA_TYPE void *</span> |
---|
291 | <a name="l00228"></a>00228 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
---|
292 | <a name="l00229"></a>00229 <span class="preprocessor"></span> |
---|
293 | <a name="l00230"></a>00230 <span class="comment">/* Accessor methods to globals.</span> |
---|
294 | <a name="l00231"></a>00231 <span class="comment"> These are made visible to non-reentrant scanners for convenience. */</span> |
---|
295 | <a name="l00232"></a>00232 |
---|
296 | <a name="l00233"></a>00233 <span class="keywordtype">int</span> libconfig_yylex_destroy (yyscan_t yyscanner ); |
---|
297 | <a name="l00234"></a>00234 |
---|
298 | <a name="l00235"></a>00235 <span class="keywordtype">int</span> libconfig_yyget_debug (yyscan_t yyscanner ); |
---|
299 | <a name="l00236"></a>00236 |
---|
300 | <a name="l00237"></a>00237 <span class="keywordtype">void</span> libconfig_yyset_debug (<span class="keywordtype">int</span> debug_flag ,yyscan_t yyscanner ); |
---|
301 | <a name="l00238"></a>00238 |
---|
302 | <a name="l00239"></a>00239 YY_EXTRA_TYPE libconfig_yyget_extra (yyscan_t yyscanner ); |
---|
303 | <a name="l00240"></a>00240 |
---|
304 | <a name="l00241"></a>00241 <span class="keywordtype">void</span> libconfig_yyset_extra (YY_EXTRA_TYPE user_defined ,yyscan_t yyscanner ); |
---|
305 | <a name="l00242"></a>00242 |
---|
306 | <a name="l00243"></a>00243 FILE *libconfig_yyget_in (yyscan_t yyscanner ); |
---|
307 | <a name="l00244"></a>00244 |
---|
308 | <a name="l00245"></a>00245 <span class="keywordtype">void</span> libconfig_yyset_in (FILE * in_str ,yyscan_t yyscanner ); |
---|
309 | <a name="l00246"></a>00246 |
---|
310 | <a name="l00247"></a>00247 FILE *libconfig_yyget_out (yyscan_t yyscanner ); |
---|
311 | <a name="l00248"></a>00248 |
---|
312 | <a name="l00249"></a>00249 <span class="keywordtype">void</span> libconfig_yyset_out (FILE * out_str ,yyscan_t yyscanner ); |
---|
313 | <a name="l00250"></a>00250 |
---|
314 | <a name="l00251"></a>00251 <span class="keywordtype">int</span> libconfig_yyget_leng (yyscan_t yyscanner ); |
---|
315 | <a name="l00252"></a>00252 |
---|
316 | <a name="l00253"></a>00253 <span class="keywordtype">char</span> *libconfig_yyget_text (yyscan_t yyscanner ); |
---|
317 | <a name="l00254"></a>00254 |
---|
318 | <a name="l00255"></a>00255 <span class="keywordtype">int</span> libconfig_yyget_lineno (yyscan_t yyscanner ); |
---|
319 | <a name="l00256"></a>00256 |
---|
320 | <a name="l00257"></a>00257 <span class="keywordtype">void</span> libconfig_yyset_lineno (<span class="keywordtype">int</span> line_number ,yyscan_t yyscanner ); |
---|
321 | <a name="l00258"></a>00258 |
---|
322 | <a name="l00259"></a>00259 YYSTYPE * libconfig_yyget_lval (yyscan_t yyscanner ); |
---|
323 | <a name="l00260"></a>00260 |
---|
324 | <a name="l00261"></a>00261 <span class="keywordtype">void</span> libconfig_yyset_lval (YYSTYPE * yylval_param ,yyscan_t yyscanner ); |
---|
325 | <a name="l00262"></a>00262 |
---|
326 | <a name="l00263"></a>00263 <span class="comment">/* Macros after this point can all be overridden by user definitions in</span> |
---|
327 | <a name="l00264"></a>00264 <span class="comment"> * section 1.</span> |
---|
328 | <a name="l00265"></a>00265 <span class="comment"> */</span> |
---|
329 | <a name="l00266"></a>00266 |
---|
330 | <a name="l00267"></a>00267 <span class="preprocessor">#ifndef YY_SKIP_YYWRAP</span> |
---|
331 | <a name="l00268"></a>00268 <span class="preprocessor"></span><span class="preprocessor">#ifdef __cplusplus</span> |
---|
332 | <a name="l00269"></a>00269 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> <span class="keywordtype">int</span> libconfig_yywrap (yyscan_t yyscanner ); |
---|
333 | <a name="l00270"></a>00270 <span class="preprocessor">#else</span> |
---|
334 | <a name="l00271"></a>00271 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="keywordtype">int</span> libconfig_yywrap (yyscan_t yyscanner ); |
---|
335 | <a name="l00272"></a>00272 <span class="preprocessor">#endif</span> |
---|
336 | <a name="l00273"></a>00273 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
---|
337 | <a name="l00274"></a>00274 <span class="preprocessor"></span> |
---|
338 | <a name="l00275"></a>00275 <span class="preprocessor">#ifndef yytext_ptr</span> |
---|
339 | <a name="l00276"></a>00276 <span class="preprocessor"></span><span class="keyword">static</span> <span class="keywordtype">void</span> yy_flex_strncpy (<span class="keywordtype">char</span> *,yyconst <span class="keywordtype">char</span> *,<span class="keywordtype">int</span> ,yyscan_t yyscanner); |
---|
340 | <a name="l00277"></a>00277 <span class="preprocessor">#endif</span> |
---|
341 | <a name="l00278"></a>00278 <span class="preprocessor"></span> |
---|
342 | <a name="l00279"></a>00279 <span class="preprocessor">#ifdef YY_NEED_STRLEN</span> |
---|
343 | <a name="l00280"></a>00280 <span class="preprocessor"></span><span class="keyword">static</span> <span class="keywordtype">int</span> yy_flex_strlen (yyconst <span class="keywordtype">char</span> * ,yyscan_t yyscanner); |
---|
344 | <a name="l00281"></a>00281 <span class="preprocessor">#endif</span> |
---|
345 | <a name="l00282"></a>00282 <span class="preprocessor"></span> |
---|
346 | <a name="l00283"></a>00283 <span class="preprocessor">#ifndef YY_NO_INPUT</span> |
---|
347 | <a name="l00284"></a>00284 <span class="preprocessor"></span> |
---|
348 | <a name="l00285"></a>00285 <span class="preprocessor">#endif</span> |
---|
349 | <a name="l00286"></a>00286 <span class="preprocessor"></span> |
---|
350 | <a name="l00287"></a>00287 <span class="comment">/* Amount of stuff to slurp up with each read. */</span> |
---|
351 | <a name="l00288"></a>00288 <span class="preprocessor">#ifndef YY_READ_BUF_SIZE</span> |
---|
352 | <a name="l00289"></a>00289 <span class="preprocessor"></span><span class="preprocessor">#define YY_READ_BUF_SIZE 8192</span> |
---|
353 | <a name="l00290"></a>00290 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
---|
354 | <a name="l00291"></a>00291 <span class="preprocessor"></span> |
---|
355 | <a name="l00292"></a>00292 <span class="comment">/* Number of entries by which start-condition stack grows. */</span> |
---|
356 | <a name="l00293"></a>00293 <span class="preprocessor">#ifndef YY_START_STACK_INCR</span> |
---|
357 | <a name="l00294"></a>00294 <span class="preprocessor"></span><span class="preprocessor">#define YY_START_STACK_INCR 25</span> |
---|
358 | <a name="l00295"></a>00295 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
---|
359 | <a name="l00296"></a>00296 <span class="preprocessor"></span> |
---|
360 | <a name="l00297"></a>00297 <span class="comment">/* Default declaration of generated scanner - a define so the user can</span> |
---|
361 | <a name="l00298"></a>00298 <span class="comment"> * easily add parameters.</span> |
---|
362 | <a name="l00299"></a>00299 <span class="comment"> */</span> |
---|
363 | <a name="l00300"></a>00300 <span class="preprocessor">#ifndef YY_DECL</span> |
---|
364 | <a name="l00301"></a>00301 <span class="preprocessor"></span><span class="preprocessor">#define YY_DECL_IS_OURS 1</span> |
---|
365 | <a name="l00302"></a>00302 <span class="preprocessor"></span> |
---|
366 | <a name="l00303"></a>00303 <span class="keyword">extern</span> <span class="keywordtype">int</span> libconfig_yylex (YYSTYPE * yylval_param ,yyscan_t yyscanner); |
---|
367 | <a name="l00304"></a>00304 |
---|
368 | <a name="l00305"></a>00305 <span class="preprocessor">#define YY_DECL int libconfig_yylex (YYSTYPE * yylval_param , yyscan_t yyscanner)</span> |
---|
369 | <a name="l00306"></a>00306 <span class="preprocessor"></span><span class="preprocessor">#endif </span><span class="comment">/* !YY_DECL */</span> |
---|
370 | <a name="l00307"></a>00307 |
---|
371 | <a name="l00308"></a>00308 <span class="comment">/* yy_get_previous_state - get the state just before the EOB char was reached */</span> |
---|
372 | <a name="l00309"></a>00309 |
---|
373 | <a name="l00310"></a>00310 <span class="preprocessor">#undef YY_NEW_FILE</span> |
---|
374 | <a name="l00311"></a>00311 <span class="preprocessor"></span><span class="preprocessor">#undef YY_FLUSH_BUFFER</span> |
---|
375 | <a name="l00312"></a>00312 <span class="preprocessor"></span><span class="preprocessor">#undef yy_set_bol</span> |
---|
376 | <a name="l00313"></a>00313 <span class="preprocessor"></span><span class="preprocessor">#undef yy_new_buffer</span> |
---|
377 | <a name="l00314"></a>00314 <span class="preprocessor"></span><span class="preprocessor">#undef yy_set_interactive</span> |
---|
378 | <a name="l00315"></a>00315 <span class="preprocessor"></span><span class="preprocessor">#undef YY_DO_BEFORE_ACTION</span> |
---|
379 | <a name="l00316"></a>00316 <span class="preprocessor"></span> |
---|
380 | <a name="l00317"></a>00317 <span class="preprocessor">#ifdef YY_DECL_IS_OURS</span> |
---|
381 | <a name="l00318"></a>00318 <span class="preprocessor"></span><span class="preprocessor">#undef YY_DECL_IS_OURS</span> |
---|
382 | <a name="l00319"></a>00319 <span class="preprocessor"></span><span class="preprocessor">#undef YY_DECL</span> |
---|
383 | <a name="l00320"></a>00320 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
---|
384 | <a name="l00321"></a>00321 <span class="preprocessor"></span> |
---|
385 | <a name="l00322"></a>00322 <span class="preprocessor">#line 130 "scanner.l"</span> |
---|
386 | <a name="l00323"></a>00323 <span class="preprocessor"></span> |
---|
387 | <a name="l00324"></a>00324 <span class="preprocessor">#line 325 "scanner.h"</span> |
---|
388 | <a name="l00325"></a>00325 <span class="preprocessor"></span><span class="preprocessor">#undef libconfig_yyIN_HEADER</span> |
---|
389 | <a name="l00326"></a>00326 <span class="preprocessor"></span><span class="preprocessor">#endif </span><span class="comment">/* libconfig_yyHEADER_H */</span> |
---|
390 | </pre></div></div> |
---|
391 | <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jul 1 13:05:56 2009 for mixpp by |
---|
392 | <a href="http://www.doxygen.org/index.html"> |
---|
393 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> |
---|
394 | </body> |
---|
395 | </html> |
---|