| @@ -16,27 +16,27 @@ | | | @@ -16,27 +16,27 @@ |
16 | /* First, we deal with platform-specific or compiler-specific issues. */ | | 16 | /* First, we deal with platform-specific or compiler-specific issues. */ |
17 | | | 17 | |
18 | /* begin standard C headers. */ | | 18 | /* begin standard C headers. */ |
19 | #ifdef _LIBC | | 19 | #ifdef _LIBC |
20 | #include "namespace.h" | | 20 | #include "namespace.h" |
21 | #endif | | 21 | #endif |
22 | #include <stdio.h> | | 22 | #include <stdio.h> |
23 | #include <string.h> | | 23 | #include <string.h> |
24 | #include <errno.h> | | 24 | #include <errno.h> |
25 | #include <stdlib.h> | | 25 | #include <stdlib.h> |
26 | | | 26 | |
27 | /* end standard C headers. */ | | 27 | /* end standard C headers. */ |
28 | | | 28 | |
29 | /* $NetBSD: initscan.c,v 1.1 2016/01/09 17:39:52 christos Exp $ */ | | 29 | /* $NetBSD: initscan.c,v 1.2 2016/03/17 15:28:00 nakayama Exp $ */ |
30 | | | 30 | |
31 | /* flex integer type definitions */ | | 31 | /* flex integer type definitions */ |
32 | | | 32 | |
33 | #ifndef FLEXINT_H | | 33 | #ifndef FLEXINT_H |
34 | #define FLEXINT_H | | 34 | #define FLEXINT_H |
35 | | | 35 | |
36 | /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */ | | 36 | /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */ |
37 | | | 37 | |
38 | #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L | | 38 | #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L |
39 | | | 39 | |
40 | /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, | | 40 | /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, |
41 | * if you want the limit (max/min) macros for int types. | | 41 | * if you want the limit (max/min) macros for int types. |
42 | */ | | 42 | */ |
| @@ -1739,30 +1739,28 @@ static char *yy_last_accepting_cpos; | | | @@ -1739,30 +1739,28 @@ static char *yy_last_accepting_cpos; |
1739 | extern int yy_flex_debug; | | 1739 | extern int yy_flex_debug; |
1740 | int yy_flex_debug = 0; | | 1740 | int yy_flex_debug = 0; |
1741 | | | 1741 | |
1742 | /* The intent behind this definition is that it'll catch | | 1742 | /* The intent behind this definition is that it'll catch |
1743 | * any uses of REJECT which flex missed. | | 1743 | * any uses of REJECT which flex missed. |
1744 | */ | | 1744 | */ |
1745 | #define REJECT reject_used_but_not_detected | | 1745 | #define REJECT reject_used_but_not_detected |
1746 | static int yy_more_flag = 0; | | 1746 | static int yy_more_flag = 0; |
1747 | static int yy_more_len = 0; | | 1747 | static int yy_more_len = 0; |
1748 | #define yymore() ((yy_more_flag) = 1) | | 1748 | #define yymore() ((yy_more_flag) = 1) |
1749 | #define YY_MORE_ADJ (yy_more_len) | | 1749 | #define YY_MORE_ADJ (yy_more_len) |
1750 | #define YY_RESTORE_YY_MORE_OFFSET | | 1750 | #define YY_RESTORE_YY_MORE_OFFSET |
1751 | char *yytext; | | 1751 | char *yytext; |
1752 | #line 1 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | 1752 | /* $NetBSD: initscan.c,v 1.2 2016/03/17 15:28:00 nakayama Exp $ */ |
1753 | /* $NetBSD: initscan.c,v 1.1 2016/01/09 17:39:52 christos Exp $ */ | | | |
1754 | /* scan.l - scanner for flex input -*-C-*- */ | | 1753 | /* scan.l - scanner for flex input -*-C-*- */ |
1755 | #line 6 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
1756 | /* Copyright (c) 1990 The Regents of the University of California. */ | | 1754 | /* Copyright (c) 1990 The Regents of the University of California. */ |
1757 | /* All rights reserved. */ | | 1755 | /* All rights reserved. */ |
1758 | | | 1756 | |
1759 | /* This code is derived from software contributed to Berkeley by */ | | 1757 | /* This code is derived from software contributed to Berkeley by */ |
1760 | /* Vern Paxson. */ | | 1758 | /* Vern Paxson. */ |
1761 | | | 1759 | |
1762 | /* The United States Government has rights in this work pursuant */ | | 1760 | /* The United States Government has rights in this work pursuant */ |
1763 | /* to contract no. DE-AC03-76SF00098 between the United States */ | | 1761 | /* to contract no. DE-AC03-76SF00098 between the United States */ |
1764 | /* Department of Energy and the University of California. */ | | 1762 | /* Department of Energy and the University of California. */ |
1765 | | | 1763 | |
1766 | /* This file is part of flex. */ | | 1764 | /* This file is part of flex. */ |
1767 | | | 1765 | |
1768 | /* Redistribution and use in source and binary forms, with or without */ | | 1766 | /* Redistribution and use in source and binary forms, with or without */ |
| @@ -1774,27 +1772,27 @@ char *yytext; | | | @@ -1774,27 +1772,27 @@ char *yytext; |
1774 | /* 2. Redistributions in binary form must reproduce the above copyright */ | | 1772 | /* 2. Redistributions in binary form must reproduce the above copyright */ |
1775 | /* notice, this list of conditions and the following disclaimer in the */ | | 1773 | /* notice, this list of conditions and the following disclaimer in the */ |
1776 | /* documentation and/or other materials provided with the distribution. */ | | 1774 | /* documentation and/or other materials provided with the distribution. */ |
1777 | | | 1775 | |
1778 | /* Neither the name of the University nor the names of its contributors */ | | 1776 | /* Neither the name of the University nor the names of its contributors */ |
1779 | /* may be used to endorse or promote products derived from this software */ | | 1777 | /* may be used to endorse or promote products derived from this software */ |
1780 | /* without specific prior written permission. */ | | 1778 | /* without specific prior written permission. */ |
1781 | | | 1779 | |
1782 | /* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR */ | | 1780 | /* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR */ |
1783 | /* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED */ | | 1781 | /* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED */ |
1784 | /* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR */ | | 1782 | /* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR */ |
1785 | /* PURPOSE. */ | | 1783 | /* PURPOSE. */ |
1786 | #include "flexdef.h" | | 1784 | #include "flexdef.h" |
1787 | __RCSID("$NetBSD: initscan.c,v 1.1 2016/01/09 17:39:52 christos Exp $"); | | 1785 | __RCSID("$NetBSD: initscan.c,v 1.2 2016/03/17 15:28:00 nakayama Exp $"); |
1788 | | | 1786 | |
1789 | #include "parse.h" | | 1787 | #include "parse.h" |
1790 | extern bool tablesverify, tablesext; | | 1788 | extern bool tablesverify, tablesext; |
1791 | extern int trlcontxt; /* Set in parse.y for each rule. */ | | 1789 | extern int trlcontxt; /* Set in parse.y for each rule. */ |
1792 | extern const char *escaped_qstart, *escaped_qend; | | 1790 | extern const char *escaped_qstart, *escaped_qend; |
1793 | | | 1791 | |
1794 | #define ACTION_ECHO add_action( yytext ) | | 1792 | #define ACTION_ECHO add_action( yytext ) |
1795 | #define ACTION_IFDEF(def, should_define) \ | | 1793 | #define ACTION_IFDEF(def, should_define) \ |
1796 | { \ | | 1794 | { \ |
1797 | if ( should_define ) \ | | 1795 | if ( should_define ) \ |
1798 | action_define( def, 1 ); \ | | 1796 | action_define( def, 1 ); \ |
1799 | } | | 1797 | } |
1800 | | | 1798 | |
| @@ -1836,35 +1834,26 @@ extern const char *escaped_qstart, *esca | | | @@ -1836,35 +1834,26 @@ extern const char *escaped_qstart, *esca |
1836 | | | 1834 | |
1837 | #define CHECK_RE_JECT(str) \ | | 1835 | #define CHECK_RE_JECT(str) \ |
1838 | if ( all_upper( str ) ) \ | | 1836 | if ( all_upper( str ) ) \ |
1839 | reject = true | | 1837 | reject = true |
1840 | | | 1838 | |
1841 | #define CHECK_YYMORE(str) \ | | 1839 | #define CHECK_YYMORE(str) \ |
1842 | if ( all_lower( str ) ) \ | | 1840 | if ( all_lower( str ) ) \ |
1843 | yymore_used = true; | | 1841 | yymore_used = true; |
1844 | | | 1842 | |
1845 | #define YY_USER_INIT \ | | 1843 | #define YY_USER_INIT \ |
1846 | if ( getenv("POSIXLY_CORRECT") ) \ | | 1844 | if ( getenv("POSIXLY_CORRECT") ) \ |
1847 | posix_compat = true; | | 1845 | posix_compat = true; |
1848 | | | 1846 | |
1849 | | | | |
1850 | | | | |
1851 | | | | |
1852 | | | | |
1853 | | | | |
1854 | | | | |
1855 | | | | |
1856 | #line 1857 "<stdout>" | | | |
1857 | | | | |
1858 | #define INITIAL 0 | | 1847 | #define INITIAL 0 |
1859 | #define SECT2 1 | | 1848 | #define SECT2 1 |
1860 | #define SECT2PROLOG 2 | | 1849 | #define SECT2PROLOG 2 |
1861 | #define SECT3 3 | | 1850 | #define SECT3 3 |
1862 | #define CODEBLOCK 4 | | 1851 | #define CODEBLOCK 4 |
1863 | #define PICKUPDEF 5 | | 1852 | #define PICKUPDEF 5 |
1864 | #define SC 6 | | 1853 | #define SC 6 |
1865 | #define CARETISBOL 7 | | 1854 | #define CARETISBOL 7 |
1866 | #define NUM 8 | | 1855 | #define NUM 8 |
1867 | #define QUOTE 9 | | 1856 | #define QUOTE 9 |
1868 | #define FIRSTCCL 10 | | 1857 | #define FIRSTCCL 10 |
1869 | #define CCL 11 | | 1858 | #define CCL 11 |
1870 | #define ACTION 12 | | 1859 | #define ACTION 12 |
| @@ -2095,39 +2084,35 @@ YY_DECL | | | @@ -2095,39 +2084,35 @@ YY_DECL |
2095 | if ( ! yyout ) | | 2084 | if ( ! yyout ) |
2096 | yyout = stdout; | | 2085 | yyout = stdout; |
2097 | | | 2086 | |
2098 | if ( ! YY_CURRENT_BUFFER ) { | | 2087 | if ( ! YY_CURRENT_BUFFER ) { |
2099 | yyensure_buffer_stack (); | | 2088 | yyensure_buffer_stack (); |
2100 | YY_CURRENT_BUFFER_LVALUE = | | 2089 | YY_CURRENT_BUFFER_LVALUE = |
2101 | yy_create_buffer(yyin,YY_BUF_SIZE ); | | 2090 | yy_create_buffer(yyin,YY_BUF_SIZE ); |
2102 | } | | 2091 | } |
2103 | | | 2092 | |
2104 | yy_load_buffer_state( ); | | 2093 | yy_load_buffer_state( ); |
2105 | } | | 2094 | } |
2106 | | | 2095 | |
2107 | { | | 2096 | { |
2108 | #line 134 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2109 | | | 2097 | |
2110 | static int bracelevel, didadef, indented_code; | | 2098 | static int bracelevel, didadef, indented_code; |
2111 | static int doing_rule_action = false; | | 2099 | static int doing_rule_action = false; |
2112 | static int option_sense; | | 2100 | static int option_sense; |
2113 | | | 2101 | |
2114 | int doing_codeblock = false; | | 2102 | int doing_codeblock = false; |
2115 | int i, brace_depth=0, brace_start_line=0; | | 2103 | int i, brace_depth=0, brace_start_line=0; |
2116 | Char nmdef[MAXLINE]; | | 2104 | Char nmdef[MAXLINE]; |
2117 | | | 2105 | |
2118 | | | | |
2119 | #line 2120 "<stdout>" | | | |
2120 | | | | |
2121 | while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */ | | 2106 | while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */ |
2122 | { | | 2107 | { |
2123 | (yy_more_len) = 0; | | 2108 | (yy_more_len) = 0; |
2124 | if ( (yy_more_flag) ) | | 2109 | if ( (yy_more_flag) ) |
2125 | { | | 2110 | { |
2126 | (yy_more_len) = (yy_c_buf_p) - (yytext_ptr); | | 2111 | (yy_more_len) = (yy_c_buf_p) - (yytext_ptr); |
2127 | (yy_more_flag) = 0; | | 2112 | (yy_more_flag) = 0; |
2128 | } | | 2113 | } |
2129 | yy_cp = (yy_c_buf_p); | | 2114 | yy_cp = (yy_c_buf_p); |
2130 | | | 2115 | |
2131 | /* Support of yytext. */ | | 2116 | /* Support of yytext. */ |
2132 | *yy_cp = (yy_hold_char); | | 2117 | *yy_cp = (yy_hold_char); |
2133 | | | 2118 | |
| @@ -2172,1080 +2157,915 @@ yy_find_action: | | | @@ -2172,1080 +2157,915 @@ yy_find_action: |
2172 | do_action: /* This label is used only to access EOF actions. */ | | 2157 | do_action: /* This label is used only to access EOF actions. */ |
2173 | | | 2158 | |
2174 | switch ( yy_act ) | | 2159 | switch ( yy_act ) |
2175 | { /* beginning of action switch */ | | 2160 | { /* beginning of action switch */ |
2176 | case 0: /* must back up */ | | 2161 | case 0: /* must back up */ |
2177 | /* undo the effects of YY_DO_BEFORE_ACTION */ | | 2162 | /* undo the effects of YY_DO_BEFORE_ACTION */ |
2178 | *yy_cp = (yy_hold_char); | | 2163 | *yy_cp = (yy_hold_char); |
2179 | yy_cp = (yy_last_accepting_cpos); | | 2164 | yy_cp = (yy_last_accepting_cpos); |
2180 | yy_current_state = (yy_last_accepting_state); | | 2165 | yy_current_state = (yy_last_accepting_state); |
2181 | goto yy_find_action; | | 2166 | goto yy_find_action; |
2182 | | | 2167 | |
2183 | case 1: | | 2168 | case 1: |
2184 | YY_RULE_SETUP | | 2169 | YY_RULE_SETUP |
2185 | #line 145 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2186 | indented_code = true; BEGIN(CODEBLOCK); | | 2170 | indented_code = true; BEGIN(CODEBLOCK); |
2187 | YY_BREAK | | 2171 | YY_BREAK |
2188 | case 2: | | 2172 | case 2: |
2189 | YY_RULE_SETUP | | 2173 | YY_RULE_SETUP |
2190 | #line 146 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2191 | ACTION_ECHO; yy_push_state( COMMENT ); | | 2174 | ACTION_ECHO; yy_push_state( COMMENT ); |
2192 | YY_BREAK | | 2175 | YY_BREAK |
2193 | case 3: | | 2176 | case 3: |
2194 | YY_RULE_SETUP | | 2177 | YY_RULE_SETUP |
2195 | #line 147 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2196 | yy_push_state( LINEDIR ); | | 2178 | yy_push_state( LINEDIR ); |
2197 | YY_BREAK | | 2179 | YY_BREAK |
2198 | case 4: | | 2180 | case 4: |
2199 | YY_RULE_SETUP | | 2181 | YY_RULE_SETUP |
2200 | #line 148 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2201 | return SCDECL; | | 2182 | return SCDECL; |
2202 | YY_BREAK | | 2183 | YY_BREAK |
2203 | case 5: | | 2184 | case 5: |
2204 | YY_RULE_SETUP | | 2185 | YY_RULE_SETUP |
2205 | #line 149 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2206 | return XSCDECL; | | 2186 | return XSCDECL; |
2207 | YY_BREAK | | 2187 | YY_BREAK |
2208 | case 6: | | 2188 | case 6: |
2209 | /* rule 6 can match eol */ | | 2189 | /* rule 6 can match eol */ |
2210 | YY_RULE_SETUP | | 2190 | YY_RULE_SETUP |
2211 | #line 150 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2212 | { | | 2191 | { |
2213 | ++linenum; | | 2192 | ++linenum; |
2214 | line_directive_out( (FILE *) 0, 1 ); | | 2193 | line_directive_out( (FILE *) 0, 1 ); |
2215 | indented_code = false; | | 2194 | indented_code = false; |
2216 | BEGIN(CODEBLOCK); | | 2195 | BEGIN(CODEBLOCK); |
2217 | } | | 2196 | } |
2218 | YY_BREAK | | 2197 | YY_BREAK |
2219 | case 7: | | 2198 | case 7: |
2220 | /* rule 7 can match eol */ | | 2199 | /* rule 7 can match eol */ |
2221 | YY_RULE_SETUP | | 2200 | YY_RULE_SETUP |
2222 | #line 156 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2223 | { | | 2201 | { |
2224 | brace_start_line = linenum; | | 2202 | brace_start_line = linenum; |
2225 | ++linenum; | | 2203 | ++linenum; |
2226 | buf_linedir( &top_buf, infilename?infilename:"<stdin>", linenum); | | 2204 | buf_linedir( &top_buf, infilename?infilename:"<stdin>", linenum); |
2227 | brace_depth = 1; | | 2205 | brace_depth = 1; |
2228 | yy_push_state(CODEBLOCK_MATCH_BRACE); | | 2206 | yy_push_state(CODEBLOCK_MATCH_BRACE); |
2229 | } | | 2207 | } |
2230 | YY_BREAK | | 2208 | YY_BREAK |
2231 | case 8: | | 2209 | case 8: |
2232 | YY_RULE_SETUP | | 2210 | YY_RULE_SETUP |
2233 | #line 164 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2234 | synerr( _("malformed '%top' directive") ); | | 2211 | synerr( _("malformed '%top' directive") ); |
2235 | YY_BREAK | | 2212 | YY_BREAK |
2236 | case 9: | | 2213 | case 9: |
2237 | YY_RULE_SETUP | | 2214 | YY_RULE_SETUP |
2238 | #line 166 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2239 | /* discard */ | | 2215 | /* discard */ |
2240 | YY_BREAK | | 2216 | YY_BREAK |
2241 | case 10: | | 2217 | case 10: |
2242 | YY_RULE_SETUP | | 2218 | YY_RULE_SETUP |
2243 | #line 168 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2244 | { | | 2219 | { |
2245 | sectnum = 2; | | 2220 | sectnum = 2; |
2246 | bracelevel = 0; | | 2221 | bracelevel = 0; |
2247 | mark_defs1(); | | 2222 | mark_defs1(); |
2248 | line_directive_out( (FILE *) 0, 1 ); | | 2223 | line_directive_out( (FILE *) 0, 1 ); |
2249 | BEGIN(SECT2PROLOG); | | 2224 | BEGIN(SECT2PROLOG); |
2250 | return SECTEND; | | 2225 | return SECTEND; |
2251 | } | | 2226 | } |
2252 | YY_BREAK | | 2227 | YY_BREAK |
2253 | case 11: | | 2228 | case 11: |
2254 | /* rule 11 can match eol */ | | 2229 | /* rule 11 can match eol */ |
2255 | YY_RULE_SETUP | | 2230 | YY_RULE_SETUP |
2256 | #line 177 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2257 | yytext_is_array = false; ++linenum; | | 2231 | yytext_is_array = false; ++linenum; |
2258 | YY_BREAK | | 2232 | YY_BREAK |
2259 | case 12: | | 2233 | case 12: |
2260 | /* rule 12 can match eol */ | | 2234 | /* rule 12 can match eol */ |
2261 | YY_RULE_SETUP | | 2235 | YY_RULE_SETUP |
2262 | #line 178 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2263 | yytext_is_array = true; ++linenum; | | 2236 | yytext_is_array = true; ++linenum; |
2264 | YY_BREAK | | 2237 | YY_BREAK |
2265 | case 13: | | 2238 | case 13: |
2266 | YY_RULE_SETUP | | 2239 | YY_RULE_SETUP |
2267 | #line 180 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2268 | BEGIN(OPTION); return OPTION_OP; | | 2240 | BEGIN(OPTION); return OPTION_OP; |
2269 | YY_BREAK | | 2241 | YY_BREAK |
2270 | case 14: | | 2242 | case 14: |
2271 | /* rule 14 can match eol */ | | 2243 | /* rule 14 can match eol */ |
2272 | YY_RULE_SETUP | | 2244 | YY_RULE_SETUP |
2273 | #line 182 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2274 | ++linenum; /* ignore */ | | 2245 | ++linenum; /* ignore */ |
2275 | YY_BREAK | | 2246 | YY_BREAK |
2276 | case 15: | | 2247 | case 15: |
2277 | /* rule 15 can match eol */ | | 2248 | /* rule 15 can match eol */ |
2278 | YY_RULE_SETUP | | 2249 | YY_RULE_SETUP |
2279 | #line 183 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2280 | ++linenum; /* ignore */ | | 2250 | ++linenum; /* ignore */ |
2281 | YY_BREAK | | 2251 | YY_BREAK |
2282 | /* xgettext: no-c-format */ | | 2252 | /* xgettext: no-c-format */ |
2283 | case 16: | | 2253 | case 16: |
2284 | /* rule 16 can match eol */ | | 2254 | /* rule 16 can match eol */ |
2285 | YY_RULE_SETUP | | 2255 | YY_RULE_SETUP |
2286 | #line 186 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2287 | synerr( _( "unrecognized '%' directive" ) ); | | 2256 | synerr( _( "unrecognized '%' directive" ) ); |
2288 | YY_BREAK | | 2257 | YY_BREAK |
2289 | case 17: | | 2258 | case 17: |
2290 | YY_RULE_SETUP | | 2259 | YY_RULE_SETUP |
2291 | #line 188 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2292 | { | | 2260 | { |
2293 | if(yyleng < MAXLINE) | | 2261 | if(yyleng < MAXLINE) |
2294 | { | | 2262 | { |
2295 | strlcpy( nmstr, yytext, sizeof(nmstr) ); | | 2263 | strlcpy( nmstr, yytext, sizeof(nmstr) ); |
2296 | } | | 2264 | } |
2297 | else | | 2265 | else |
2298 | { | | 2266 | { |
2299 | synerr( _("Definition name too long\n")); | | 2267 | synerr( _("Definition name too long\n")); |
2300 | FLEX_EXIT(EXIT_FAILURE); | | 2268 | FLEX_EXIT(EXIT_FAILURE); |
2301 | } | | 2269 | } |
2302 | | | 2270 | |
2303 | didadef = false; | | 2271 | didadef = false; |
2304 | BEGIN(PICKUPDEF); | | 2272 | BEGIN(PICKUPDEF); |
2305 | } | | 2273 | } |
2306 | YY_BREAK | | 2274 | YY_BREAK |
2307 | case 18: | | 2275 | case 18: |
2308 | YY_RULE_SETUP | | 2276 | YY_RULE_SETUP |
2309 | #line 203 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2310 | RETURNNAME; | | 2277 | RETURNNAME; |
2311 | YY_BREAK | | 2278 | YY_BREAK |
2312 | case 19: | | 2279 | case 19: |
2313 | /* rule 19 can match eol */ | | 2280 | /* rule 19 can match eol */ |
2314 | YY_RULE_SETUP | | 2281 | YY_RULE_SETUP |
2315 | #line 204 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2316 | ++linenum; /* allows blank lines in section 1 */ | | 2282 | ++linenum; /* allows blank lines in section 1 */ |
2317 | YY_BREAK | | 2283 | YY_BREAK |
2318 | case 20: | | 2284 | case 20: |
2319 | /* rule 20 can match eol */ | | 2285 | /* rule 20 can match eol */ |
2320 | YY_RULE_SETUP | | 2286 | YY_RULE_SETUP |
2321 | #line 205 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2322 | ACTION_ECHO; ++linenum; /* maybe end of comment line */ | | 2287 | ACTION_ECHO; ++linenum; /* maybe end of comment line */ |
2323 | YY_BREAK | | 2288 | YY_BREAK |
2324 | | | 2289 | |
2325 | | | | |
2326 | case 21: | | 2290 | case 21: |
2327 | YY_RULE_SETUP | | 2291 | YY_RULE_SETUP |
2328 | #line 210 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2329 | ACTION_ECHO; yy_pop_state(); | | 2292 | ACTION_ECHO; yy_pop_state(); |
2330 | YY_BREAK | | 2293 | YY_BREAK |
2331 | case 22: | | 2294 | case 22: |
2332 | YY_RULE_SETUP | | 2295 | YY_RULE_SETUP |
2333 | #line 211 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2334 | ACTION_ECHO; | | 2296 | ACTION_ECHO; |
2335 | YY_BREAK | | 2297 | YY_BREAK |
2336 | case 23: | | 2298 | case 23: |
2337 | YY_RULE_SETUP | | 2299 | YY_RULE_SETUP |
2338 | #line 212 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2339 | ACTION_ECHO_QSTART; | | 2300 | ACTION_ECHO_QSTART; |
2340 | YY_BREAK | | 2301 | YY_BREAK |
2341 | case 24: | | 2302 | case 24: |
2342 | YY_RULE_SETUP | | 2303 | YY_RULE_SETUP |
2343 | #line 213 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2344 | ACTION_ECHO_QEND; | | 2304 | ACTION_ECHO_QEND; |
2345 | YY_BREAK | | 2305 | YY_BREAK |
2346 | case 25: | | 2306 | case 25: |
2347 | YY_RULE_SETUP | | 2307 | YY_RULE_SETUP |
2348 | #line 214 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2349 | ACTION_ECHO; | | 2308 | ACTION_ECHO; |
2350 | YY_BREAK | | 2309 | YY_BREAK |
2351 | case 26: | | 2310 | case 26: |
2352 | /* rule 26 can match eol */ | | 2311 | /* rule 26 can match eol */ |
2353 | YY_RULE_SETUP | | 2312 | YY_RULE_SETUP |
2354 | #line 215 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2355 | ++linenum; ACTION_ECHO; | | 2313 | ++linenum; ACTION_ECHO; |
2356 | YY_BREAK | | 2314 | YY_BREAK |
2357 | | | 2315 | |
2358 | | | | |
2359 | /* This is the same as COMMENT, but is discarded rather than output. */ | | 2316 | /* This is the same as COMMENT, but is discarded rather than output. */ |
2360 | case 27: | | 2317 | case 27: |
2361 | YY_RULE_SETUP | | 2318 | YY_RULE_SETUP |
2362 | #line 220 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2363 | yy_pop_state(); | | 2319 | yy_pop_state(); |
2364 | YY_BREAK | | 2320 | YY_BREAK |
2365 | case 28: | | 2321 | case 28: |
2366 | YY_RULE_SETUP | | 2322 | YY_RULE_SETUP |
2367 | #line 221 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2368 | ; | | 2323 | ; |
2369 | YY_BREAK | | 2324 | YY_BREAK |
2370 | case 29: | | 2325 | case 29: |
2371 | YY_RULE_SETUP | | 2326 | YY_RULE_SETUP |
2372 | #line 222 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2373 | ; | | 2327 | ; |
2374 | YY_BREAK | | 2328 | YY_BREAK |
2375 | case 30: | | 2329 | case 30: |
2376 | /* rule 30 can match eol */ | | 2330 | /* rule 30 can match eol */ |
2377 | YY_RULE_SETUP | | 2331 | YY_RULE_SETUP |
2378 | #line 223 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2379 | ++linenum; | | 2332 | ++linenum; |
2380 | YY_BREAK | | 2333 | YY_BREAK |
2381 | | | 2334 | |
2382 | | | | |
2383 | case 31: | | 2335 | case 31: |
2384 | YY_RULE_SETUP | | 2336 | YY_RULE_SETUP |
2385 | #line 227 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2386 | yy_pop_state(); | | 2337 | yy_pop_state(); |
2387 | YY_BREAK | | 2338 | YY_BREAK |
2388 | case 32: | | 2339 | case 32: |
2389 | YY_RULE_SETUP | | 2340 | YY_RULE_SETUP |
2390 | #line 228 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2391 | ; | | 2341 | ; |
2392 | YY_BREAK | | 2342 | YY_BREAK |
2393 | case 33: | | 2343 | case 33: |
2394 | /* rule 33 can match eol */ | | 2344 | /* rule 33 can match eol */ |
2395 | YY_RULE_SETUP | | 2345 | YY_RULE_SETUP |
2396 | #line 229 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2397 | ++linenum; | | 2346 | ++linenum; |
2398 | YY_BREAK | | 2347 | YY_BREAK |
2399 | | | 2348 | |
2400 | | | | |
2401 | case 34: | | 2349 | case 34: |
2402 | /* rule 34 can match eol */ | | 2350 | /* rule 34 can match eol */ |
2403 | YY_RULE_SETUP | | 2351 | YY_RULE_SETUP |
2404 | #line 233 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2405 | yy_pop_state(); | | 2352 | yy_pop_state(); |
2406 | YY_BREAK | | 2353 | YY_BREAK |
2407 | case 35: | | 2354 | case 35: |
2408 | YY_RULE_SETUP | | 2355 | YY_RULE_SETUP |
2409 | #line 234 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2410 | linenum = myctoi( yytext ); | | 2356 | linenum = myctoi( yytext ); |
2411 | YY_BREAK | | 2357 | YY_BREAK |
2412 | case 36: | | 2358 | case 36: |
2413 | YY_RULE_SETUP | | 2359 | YY_RULE_SETUP |
2414 | #line 236 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2415 | { | | 2360 | { |
2416 | flex_free( (void *) infilename ); | | 2361 | flex_free( (void *) infilename ); |
2417 | infilename = copy_string( yytext + 1 ); | | 2362 | infilename = copy_string( yytext + 1 ); |
2418 | infilename[strlen( infilename ) - 1] = '\0'; | | 2363 | infilename[strlen( infilename ) - 1] = '\0'; |
2419 | } | | 2364 | } |
2420 | YY_BREAK | | 2365 | YY_BREAK |
2421 | case 37: | | 2366 | case 37: |
2422 | YY_RULE_SETUP | | 2367 | YY_RULE_SETUP |
2423 | #line 241 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2424 | /* ignore spurious characters */ | | 2368 | /* ignore spurious characters */ |
2425 | YY_BREAK | | 2369 | YY_BREAK |
2426 | | | 2370 | |
2427 | | | | |
2428 | case 38: | | 2371 | case 38: |
2429 | /* rule 38 can match eol */ | | 2372 | /* rule 38 can match eol */ |
2430 | YY_RULE_SETUP | | 2373 | YY_RULE_SETUP |
2431 | #line 245 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2432 | ++linenum; BEGIN(INITIAL); | | 2374 | ++linenum; BEGIN(INITIAL); |
2433 | YY_BREAK | | 2375 | YY_BREAK |
2434 | case 39: | | 2376 | case 39: |
2435 | YY_RULE_SETUP | | 2377 | YY_RULE_SETUP |
2436 | #line 247 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2437 | ACTION_ECHO_QSTART; | | 2378 | ACTION_ECHO_QSTART; |
2438 | YY_BREAK | | 2379 | YY_BREAK |
2439 | case 40: | | 2380 | case 40: |
2440 | YY_RULE_SETUP | | 2381 | YY_RULE_SETUP |
2441 | #line 248 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2442 | ACTION_ECHO_QEND; | | 2382 | ACTION_ECHO_QEND; |
2443 | YY_BREAK | | 2383 | YY_BREAK |
2444 | case 41: | | 2384 | case 41: |
2445 | YY_RULE_SETUP | | 2385 | YY_RULE_SETUP |
2446 | #line 249 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2447 | ACTION_ECHO; | | 2386 | ACTION_ECHO; |
2448 | YY_BREAK | | 2387 | YY_BREAK |
2449 | case 42: | | 2388 | case 42: |
2450 | /* rule 42 can match eol */ | | 2389 | /* rule 42 can match eol */ |
2451 | YY_RULE_SETUP | | 2390 | YY_RULE_SETUP |
2452 | #line 251 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2453 | { | | 2391 | { |
2454 | ++linenum; | | 2392 | ++linenum; |
2455 | ACTION_ECHO; | | 2393 | ACTION_ECHO; |
2456 | if ( indented_code ) | | 2394 | if ( indented_code ) |
2457 | BEGIN(INITIAL); | | 2395 | BEGIN(INITIAL); |
2458 | } | | 2396 | } |
2459 | YY_BREAK | | 2397 | YY_BREAK |
2460 | | | 2398 | |
2461 | | | | |
2462 | case 43: | | 2399 | case 43: |
2463 | YY_RULE_SETUP | | 2400 | YY_RULE_SETUP |
2464 | #line 260 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2465 | { | | 2401 | { |
2466 | if( --brace_depth == 0){ | | 2402 | if( --brace_depth == 0){ |
2467 | /* TODO: Matched. */ | | 2403 | /* TODO: Matched. */ |
2468 | yy_pop_state(); | | 2404 | yy_pop_state(); |
2469 | }else | | 2405 | }else |
2470 | buf_strnappend(&top_buf, yytext, yyleng); | | 2406 | buf_strnappend(&top_buf, yytext, yyleng); |
2471 | } | | 2407 | } |
2472 | YY_BREAK | | 2408 | YY_BREAK |
2473 | case 44: | | 2409 | case 44: |
2474 | YY_RULE_SETUP | | 2410 | YY_RULE_SETUP |
2475 | #line 268 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2476 | { | | 2411 | { |
2477 | brace_depth++; | | 2412 | brace_depth++; |
2478 | buf_strnappend(&top_buf, yytext, yyleng); | | 2413 | buf_strnappend(&top_buf, yytext, yyleng); |
2479 | } | | 2414 | } |
2480 | YY_BREAK | | 2415 | YY_BREAK |
2481 | case 45: | | 2416 | case 45: |
2482 | /* rule 45 can match eol */ | | 2417 | /* rule 45 can match eol */ |
2483 | YY_RULE_SETUP | | 2418 | YY_RULE_SETUP |
2484 | #line 273 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2485 | { | | 2419 | { |
2486 | ++linenum; | | 2420 | ++linenum; |
2487 | buf_strnappend(&top_buf, yytext, yyleng); | | 2421 | buf_strnappend(&top_buf, yytext, yyleng); |
2488 | } | | 2422 | } |
2489 | YY_BREAK | | 2423 | YY_BREAK |
2490 | case 46: | | 2424 | case 46: |
2491 | YY_RULE_SETUP | | 2425 | YY_RULE_SETUP |
2492 | #line 278 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2493 | buf_strnappend(&top_buf, escaped_qstart, strlen(escaped_qstart)); | | 2426 | buf_strnappend(&top_buf, escaped_qstart, strlen(escaped_qstart)); |
2494 | YY_BREAK | | 2427 | YY_BREAK |
2495 | case 47: | | 2428 | case 47: |
2496 | YY_RULE_SETUP | | 2429 | YY_RULE_SETUP |
2497 | #line 279 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2498 | buf_strnappend(&top_buf, escaped_qend, strlen(escaped_qend)); | | 2430 | buf_strnappend(&top_buf, escaped_qend, strlen(escaped_qend)); |
2499 | YY_BREAK | | 2431 | YY_BREAK |
2500 | case 48: | | 2432 | case 48: |
2501 | YY_RULE_SETUP | | 2433 | YY_RULE_SETUP |
2502 | #line 281 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2503 | { | | 2434 | { |
2504 | buf_strnappend(&top_buf, yytext, yyleng); | | 2435 | buf_strnappend(&top_buf, yytext, yyleng); |
2505 | } | | 2436 | } |
2506 | YY_BREAK | | 2437 | YY_BREAK |
2507 | case YY_STATE_EOF(CODEBLOCK_MATCH_BRACE): | | 2438 | case YY_STATE_EOF(CODEBLOCK_MATCH_BRACE): |
2508 | #line 285 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2509 | { | | 2439 | { |
2510 | linenum = brace_start_line; | | 2440 | linenum = brace_start_line; |
2511 | synerr(_("Unmatched '{'")); | | 2441 | synerr(_("Unmatched '{'")); |
2512 | yyterminate(); | | 2442 | yyterminate(); |
2513 | } | | 2443 | } |
2514 | YY_BREAK | | 2444 | YY_BREAK |
2515 | | | 2445 | |
2516 | | | | |
2517 | case 49: | | 2446 | case 49: |
2518 | YY_RULE_SETUP | | 2447 | YY_RULE_SETUP |
2519 | #line 294 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2520 | /* separates name and definition */ | | 2448 | /* separates name and definition */ |
2521 | YY_BREAK | | 2449 | YY_BREAK |
2522 | case 50: | | 2450 | case 50: |
2523 | YY_RULE_SETUP | | 2451 | YY_RULE_SETUP |
2524 | #line 296 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2525 | { | | 2452 | { |
2526 | if(yyleng < MAXLINE) | | 2453 | if(yyleng < MAXLINE) |
2527 | { | | 2454 | { |
2528 | strlcpy( (char *) nmdef, yytext, sizeof(nmdef) ); | | 2455 | strlcpy( (char *) nmdef, yytext, sizeof(nmdef) ); |
2529 | } | | 2456 | } |
2530 | else | | 2457 | else |
2531 | { | | 2458 | { |
2532 | format_synerr( _("Definition value for {%s} too long\n"), nmstr); | | 2459 | format_synerr( _("Definition value for {%s} too long\n"), nmstr); |
2533 | FLEX_EXIT(EXIT_FAILURE); | | 2460 | FLEX_EXIT(EXIT_FAILURE); |
2534 | } | | 2461 | } |
2535 | /* Skip trailing whitespace. */ | | 2462 | /* Skip trailing whitespace. */ |
2536 | for ( i = strlen( (char *) nmdef ) - 1; | | 2463 | for ( i = strlen( (char *) nmdef ) - 1; |
2537 | i >= 0 && (nmdef[i] == ' ' || nmdef[i] == '\t'); | | 2464 | i >= 0 && (nmdef[i] == ' ' || nmdef[i] == '\t'); |
2538 | --i ) | | 2465 | --i ) |
2539 | ; | | 2466 | ; |
2540 | | | 2467 | |
2541 | nmdef[i + 1] = '\0'; | | 2468 | nmdef[i + 1] = '\0'; |
2542 | | | 2469 | |
2543 | ndinstal( nmstr, nmdef ); | | 2470 | ndinstal( nmstr, nmdef ); |
2544 | didadef = true; | | 2471 | didadef = true; |
2545 | } | | 2472 | } |
2546 | YY_BREAK | | 2473 | YY_BREAK |
2547 | case 51: | | 2474 | case 51: |
2548 | /* rule 51 can match eol */ | | 2475 | /* rule 51 can match eol */ |
2549 | YY_RULE_SETUP | | 2476 | YY_RULE_SETUP |
2550 | #line 318 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2551 | { | | 2477 | { |
2552 | if ( ! didadef ) | | 2478 | if ( ! didadef ) |
2553 | synerr( _( "incomplete name definition" ) ); | | 2479 | synerr( _( "incomplete name definition" ) ); |
2554 | BEGIN(INITIAL); | | 2480 | BEGIN(INITIAL); |
2555 | ++linenum; | | 2481 | ++linenum; |
2556 | } | | 2482 | } |
2557 | YY_BREAK | | 2483 | YY_BREAK |
2558 | | | 2484 | |
2559 | | | | |
2560 | case 52: | | 2485 | case 52: |
2561 | /* rule 52 can match eol */ | | 2486 | /* rule 52 can match eol */ |
2562 | YY_RULE_SETUP | | 2487 | YY_RULE_SETUP |
2563 | #line 328 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2564 | ++linenum; BEGIN(INITIAL); | | 2488 | ++linenum; BEGIN(INITIAL); |
2565 | YY_BREAK | | 2489 | YY_BREAK |
2566 | case 53: | | 2490 | case 53: |
2567 | YY_RULE_SETUP | | 2491 | YY_RULE_SETUP |
2568 | #line 329 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2569 | option_sense = true; | | 2492 | option_sense = true; |
2570 | YY_BREAK | | 2493 | YY_BREAK |
2571 | case 54: | | 2494 | case 54: |
2572 | YY_RULE_SETUP | | 2495 | YY_RULE_SETUP |
2573 | #line 331 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2574 | return '='; | | 2496 | return '='; |
2575 | YY_BREAK | | 2497 | YY_BREAK |
2576 | case 55: | | 2498 | case 55: |
2577 | YY_RULE_SETUP | | 2499 | YY_RULE_SETUP |
2578 | #line 333 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2579 | option_sense = ! option_sense; | | 2500 | option_sense = ! option_sense; |
2580 | YY_BREAK | | 2501 | YY_BREAK |
2581 | case 56: | | 2502 | case 56: |
2582 | YY_RULE_SETUP | | 2503 | YY_RULE_SETUP |
2583 | #line 335 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2584 | csize = option_sense ? 128 : 256; | | 2504 | csize = option_sense ? 128 : 256; |
2585 | YY_BREAK | | 2505 | YY_BREAK |
2586 | case 57: | | 2506 | case 57: |
2587 | YY_RULE_SETUP | | 2507 | YY_RULE_SETUP |
2588 | #line 336 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2589 | csize = option_sense ? 256 : 128; | | 2508 | csize = option_sense ? 256 : 128; |
2590 | YY_BREAK | | 2509 | YY_BREAK |
2591 | case 58: | | 2510 | case 58: |
2592 | YY_RULE_SETUP | | 2511 | YY_RULE_SETUP |
2593 | #line 338 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2594 | long_align = option_sense; | | 2512 | long_align = option_sense; |
2595 | YY_BREAK | | 2513 | YY_BREAK |
2596 | case 59: | | 2514 | case 59: |
2597 | YY_RULE_SETUP | | 2515 | YY_RULE_SETUP |
2598 | #line 339 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2599 | { | | 2516 | { |
2600 | ACTION_M4_IFDEF( "M4""_YY_ALWAYS_INTERACTIVE", option_sense ); | | 2517 | ACTION_M4_IFDEF( "M4""_YY_ALWAYS_INTERACTIVE", option_sense ); |
2601 | interactive = option_sense; | | 2518 | interactive = option_sense; |
2602 | } | | 2519 | } |
2603 | YY_BREAK | | 2520 | YY_BREAK |
2604 | case 60: | | 2521 | case 60: |
2605 | YY_RULE_SETUP | | 2522 | YY_RULE_SETUP |
2606 | #line 343 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2607 | yytext_is_array = option_sense; | | 2523 | yytext_is_array = option_sense; |
2608 | YY_BREAK | | 2524 | YY_BREAK |
2609 | case 61: | | 2525 | case 61: |
2610 | YY_RULE_SETUP | | 2526 | YY_RULE_SETUP |
2611 | #line 344 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2612 | ansi_func_defs = option_sense; | | 2527 | ansi_func_defs = option_sense; |
2613 | YY_BREAK | | 2528 | YY_BREAK |
2614 | case 62: | | 2529 | case 62: |
2615 | YY_RULE_SETUP | | 2530 | YY_RULE_SETUP |
2616 | #line 345 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2617 | ansi_func_protos = option_sense; | | 2531 | ansi_func_protos = option_sense; |
2618 | YY_BREAK | | 2532 | YY_BREAK |
2619 | case 63: | | 2533 | case 63: |
2620 | YY_RULE_SETUP | | 2534 | YY_RULE_SETUP |
2621 | #line 346 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2622 | backing_up_report = option_sense; | | 2535 | backing_up_report = option_sense; |
2623 | YY_BREAK | | 2536 | YY_BREAK |
2624 | case 64: | | 2537 | case 64: |
2625 | YY_RULE_SETUP | | 2538 | YY_RULE_SETUP |
2626 | #line 347 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2627 | interactive = ! option_sense; | | 2539 | interactive = ! option_sense; |
2628 | YY_BREAK | | 2540 | YY_BREAK |
2629 | case 65: | | 2541 | case 65: |
2630 | YY_RULE_SETUP | | 2542 | YY_RULE_SETUP |
2631 | #line 348 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2632 | bison_bridge_lval = option_sense; | | 2543 | bison_bridge_lval = option_sense; |
2633 | YY_BREAK | | 2544 | YY_BREAK |
2634 | case 66: | | 2545 | case 66: |
2635 | YY_RULE_SETUP | | 2546 | YY_RULE_SETUP |
2636 | #line 349 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2637 | { if((bison_bridge_lloc = option_sense)) | | 2547 | { if((bison_bridge_lloc = option_sense)) |
2638 | bison_bridge_lval = true; | | 2548 | bison_bridge_lval = true; |
2639 | } | | 2549 | } |
2640 | YY_BREAK | | 2550 | YY_BREAK |
2641 | case 67: | | 2551 | case 67: |
2642 | YY_RULE_SETUP | | 2552 | YY_RULE_SETUP |
2643 | #line 352 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2644 | C_plus_plus = option_sense; | | 2553 | C_plus_plus = option_sense; |
2645 | YY_BREAK | | 2554 | YY_BREAK |
2646 | case 68: | | 2555 | case 68: |
2647 | YY_RULE_SETUP | | 2556 | YY_RULE_SETUP |
2648 | #line 353 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2649 | sf_set_case_ins(!option_sense); | | 2557 | sf_set_case_ins(!option_sense); |
2650 | YY_BREAK | | 2558 | YY_BREAK |
2651 | case 69: | | 2559 | case 69: |
2652 | YY_RULE_SETUP | | 2560 | YY_RULE_SETUP |
2653 | #line 354 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2654 | sf_set_case_ins(option_sense); | | 2561 | sf_set_case_ins(option_sense); |
2655 | YY_BREAK | | 2562 | YY_BREAK |
2656 | case 70: | | 2563 | case 70: |
2657 | YY_RULE_SETUP | | 2564 | YY_RULE_SETUP |
2658 | #line 355 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2659 | ddebug = option_sense; | | 2565 | ddebug = option_sense; |
2660 | YY_BREAK | | 2566 | YY_BREAK |
2661 | case 71: | | 2567 | case 71: |
2662 | YY_RULE_SETUP | | 2568 | YY_RULE_SETUP |
2663 | #line 356 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2664 | spprdflt = ! option_sense; | | 2569 | spprdflt = ! option_sense; |
2665 | YY_BREAK | | 2570 | YY_BREAK |
2666 | case 72: | | 2571 | case 72: |
2667 | YY_RULE_SETUP | | 2572 | YY_RULE_SETUP |
2668 | #line 357 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2669 | useecs = option_sense; | | 2573 | useecs = option_sense; |
2670 | YY_BREAK | | 2574 | YY_BREAK |
2671 | case 73: | | 2575 | case 73: |
2672 | YY_RULE_SETUP | | 2576 | YY_RULE_SETUP |
2673 | #line 358 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2674 | { | | 2577 | { |
2675 | useecs = usemecs = false; | | 2578 | useecs = usemecs = false; |
2676 | use_read = fullspd = true; | | 2579 | use_read = fullspd = true; |
2677 | } | | 2580 | } |
2678 | YY_BREAK | | 2581 | YY_BREAK |
2679 | case 74: | | 2582 | case 74: |
2680 | YY_RULE_SETUP | | 2583 | YY_RULE_SETUP |
2681 | #line 362 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2682 | { | | 2584 | { |
2683 | useecs = usemecs = false; | | 2585 | useecs = usemecs = false; |
2684 | use_read = fulltbl = true; | | 2586 | use_read = fulltbl = true; |
2685 | } | | 2587 | } |
2686 | YY_BREAK | | 2588 | YY_BREAK |
2687 | case 75: | | 2589 | case 75: |
2688 | YY_RULE_SETUP | | 2590 | YY_RULE_SETUP |
2689 | #line 366 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2690 | ACTION_IFDEF("YY_NO_INPUT", ! option_sense); | | 2591 | ACTION_IFDEF("YY_NO_INPUT", ! option_sense); |
2691 | YY_BREAK | | 2592 | YY_BREAK |
2692 | case 76: | | 2593 | case 76: |
2693 | YY_RULE_SETUP | | 2594 | YY_RULE_SETUP |
2694 | #line 367 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2695 | interactive = option_sense; | | 2595 | interactive = option_sense; |
2696 | YY_BREAK | | 2596 | YY_BREAK |
2697 | case 77: | | 2597 | case 77: |
2698 | YY_RULE_SETUP | | 2598 | YY_RULE_SETUP |
2699 | #line 368 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2700 | lex_compat = option_sense; | | 2599 | lex_compat = option_sense; |
2701 | YY_BREAK | | 2600 | YY_BREAK |
2702 | case 78: | | 2601 | case 78: |
2703 | YY_RULE_SETUP | | 2602 | YY_RULE_SETUP |
2704 | #line 369 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2705 | posix_compat = option_sense; | | 2603 | posix_compat = option_sense; |
2706 | YY_BREAK | | 2604 | YY_BREAK |
2707 | case 79: | | 2605 | case 79: |
2708 | YY_RULE_SETUP | | 2606 | YY_RULE_SETUP |
2709 | #line 370 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2710 | { | | 2607 | { |
2711 | ACTION_M4_IFDEF( "M4""_YY_MAIN", option_sense); | | 2608 | ACTION_M4_IFDEF( "M4""_YY_MAIN", option_sense); |
2712 | /* Override yywrap */ | | 2609 | /* Override yywrap */ |
2713 | if( option_sense == true ) | | 2610 | if( option_sense == true ) |
2714 | do_yywrap = false; | | 2611 | do_yywrap = false; |
2715 | } | | 2612 | } |
2716 | YY_BREAK | | 2613 | YY_BREAK |
2717 | case 80: | | 2614 | case 80: |
2718 | YY_RULE_SETUP | | 2615 | YY_RULE_SETUP |
2719 | #line 376 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2720 | usemecs = option_sense; | | 2616 | usemecs = option_sense; |
2721 | YY_BREAK | | 2617 | YY_BREAK |
2722 | case 81: | | 2618 | case 81: |
2723 | YY_RULE_SETUP | | 2619 | YY_RULE_SETUP |
2724 | #line 377 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2725 | { | | 2620 | { |
2726 | ACTION_M4_IFDEF( "M4""_YY_NEVER_INTERACTIVE", option_sense ); | | 2621 | ACTION_M4_IFDEF( "M4""_YY_NEVER_INTERACTIVE", option_sense ); |
2727 | interactive = !option_sense; | | 2622 | interactive = !option_sense; |
2728 | } | | 2623 | } |
2729 | YY_BREAK | | 2624 | YY_BREAK |
2730 | case 82: | | 2625 | case 82: |
2731 | YY_RULE_SETUP | | 2626 | YY_RULE_SETUP |
2732 | #line 381 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2733 | performance_report += option_sense ? 1 : -1; | | 2627 | performance_report += option_sense ? 1 : -1; |
2734 | YY_BREAK | | 2628 | YY_BREAK |
2735 | case 83: | | 2629 | case 83: |
2736 | YY_RULE_SETUP | | 2630 | YY_RULE_SETUP |
2737 | #line 382 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2738 | yytext_is_array = ! option_sense; | | 2631 | yytext_is_array = ! option_sense; |
2739 | YY_BREAK | | 2632 | YY_BREAK |
2740 | case 84: | | 2633 | case 84: |
2741 | YY_RULE_SETUP | | 2634 | YY_RULE_SETUP |
2742 | #line 383 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2743 | use_read = option_sense; | | 2635 | use_read = option_sense; |
2744 | YY_BREAK | | 2636 | YY_BREAK |
2745 | case 85: | | 2637 | case 85: |
2746 | YY_RULE_SETUP | | 2638 | YY_RULE_SETUP |
2747 | #line 384 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2748 | reentrant = option_sense; | | 2639 | reentrant = option_sense; |
2749 | YY_BREAK | | 2640 | YY_BREAK |
2750 | case 86: | | 2641 | case 86: |
2751 | YY_RULE_SETUP | | 2642 | YY_RULE_SETUP |
2752 | #line 385 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2753 | reject_really_used = option_sense; | | 2643 | reject_really_used = option_sense; |
2754 | YY_BREAK | | 2644 | YY_BREAK |
2755 | case 87: | | 2645 | case 87: |
2756 | YY_RULE_SETUP | | 2646 | YY_RULE_SETUP |
2757 | #line 386 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2758 | ACTION_M4_IFDEF( "M4""_YY_STACK_USED", option_sense ); | | 2647 | ACTION_M4_IFDEF( "M4""_YY_STACK_USED", option_sense ); |
2759 | YY_BREAK | | 2648 | YY_BREAK |
2760 | case 88: | | 2649 | case 88: |
2761 | YY_RULE_SETUP | | 2650 | YY_RULE_SETUP |
2762 | #line 387 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2763 | do_stdinit = option_sense; | | 2651 | do_stdinit = option_sense; |
2764 | YY_BREAK | | 2652 | YY_BREAK |
2765 | case 89: | | 2653 | case 89: |
2766 | YY_RULE_SETUP | | 2654 | YY_RULE_SETUP |
2767 | #line 388 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2768 | use_stdout = option_sense; | | 2655 | use_stdout = option_sense; |
2769 | YY_BREAK | | 2656 | YY_BREAK |
2770 | case 90: | | 2657 | case 90: |
2771 | YY_RULE_SETUP | | 2658 | YY_RULE_SETUP |
2772 | #line 389 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2773 | ACTION_IFDEF("YY_NO_UNISTD_H", ! option_sense); | | 2659 | ACTION_IFDEF("YY_NO_UNISTD_H", ! option_sense); |
2774 | YY_BREAK | | 2660 | YY_BREAK |
2775 | case 91: | | 2661 | case 91: |
2776 | YY_RULE_SETUP | | 2662 | YY_RULE_SETUP |
2777 | #line 390 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2778 | ACTION_M4_IFDEF("M4""_YY_NO_UNPUT", ! option_sense); | | 2663 | ACTION_M4_IFDEF("M4""_YY_NO_UNPUT", ! option_sense); |
2779 | YY_BREAK | | 2664 | YY_BREAK |
2780 | case 92: | | 2665 | case 92: |
2781 | YY_RULE_SETUP | | 2666 | YY_RULE_SETUP |
2782 | #line 391 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2783 | printstats = option_sense; | | 2667 | printstats = option_sense; |
2784 | YY_BREAK | | 2668 | YY_BREAK |
2785 | case 93: | | 2669 | case 93: |
2786 | YY_RULE_SETUP | | 2670 | YY_RULE_SETUP |
2787 | #line 392 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2788 | nowarn = ! option_sense; | | 2671 | nowarn = ! option_sense; |
2789 | YY_BREAK | | 2672 | YY_BREAK |
2790 | case 94: | | 2673 | case 94: |
2791 | YY_RULE_SETUP | | 2674 | YY_RULE_SETUP |
2792 | #line 393 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2793 | do_yylineno = option_sense; ACTION_M4_IFDEF("M4""_YY_USE_LINENO", option_sense); | | 2675 | do_yylineno = option_sense; ACTION_M4_IFDEF("M4""_YY_USE_LINENO", option_sense); |
2794 | YY_BREAK | | 2676 | YY_BREAK |
2795 | case 95: | | 2677 | case 95: |
2796 | YY_RULE_SETUP | | 2678 | YY_RULE_SETUP |
2797 | #line 394 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2798 | yymore_really_used = option_sense; | | 2679 | yymore_really_used = option_sense; |
2799 | YY_BREAK | | 2680 | YY_BREAK |
2800 | case 96: | | 2681 | case 96: |
2801 | YY_RULE_SETUP | | 2682 | YY_RULE_SETUP |
2802 | #line 395 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2803 | do_yywrap = option_sense; | | 2683 | do_yywrap = option_sense; |
2804 | YY_BREAK | | 2684 | YY_BREAK |
2805 | case 97: | | 2685 | case 97: |
2806 | YY_RULE_SETUP | | 2686 | YY_RULE_SETUP |
2807 | #line 397 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2808 | ACTION_M4_IFDEF("M4""_YY_NO_PUSH_STATE", ! option_sense); | | 2687 | ACTION_M4_IFDEF("M4""_YY_NO_PUSH_STATE", ! option_sense); |
2809 | YY_BREAK | | 2688 | YY_BREAK |
2810 | case 98: | | 2689 | case 98: |
2811 | YY_RULE_SETUP | | 2690 | YY_RULE_SETUP |
2812 | #line 398 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2813 | ACTION_M4_IFDEF("M4""_YY_NO_POP_STATE", ! option_sense); | | 2691 | ACTION_M4_IFDEF("M4""_YY_NO_POP_STATE", ! option_sense); |
2814 | YY_BREAK | | 2692 | YY_BREAK |
2815 | case 99: | | 2693 | case 99: |
2816 | YY_RULE_SETUP | | 2694 | YY_RULE_SETUP |
2817 | #line 399 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2818 | ACTION_M4_IFDEF("M4""_YY_NO_TOP_STATE", ! option_sense); | | 2695 | ACTION_M4_IFDEF("M4""_YY_NO_TOP_STATE", ! option_sense); |
2819 | YY_BREAK | | 2696 | YY_BREAK |
2820 | case 100: | | 2697 | case 100: |
2821 | YY_RULE_SETUP | | 2698 | YY_RULE_SETUP |
2822 | #line 401 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2823 | ACTION_M4_IFDEF("M4""_YY_NO_SCAN_BUFFER", ! option_sense); | | 2699 | ACTION_M4_IFDEF("M4""_YY_NO_SCAN_BUFFER", ! option_sense); |
2824 | YY_BREAK | | 2700 | YY_BREAK |
2825 | case 101: | | 2701 | case 101: |
2826 | YY_RULE_SETUP | | 2702 | YY_RULE_SETUP |
2827 | #line 402 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2828 | ACTION_M4_IFDEF("M4""_YY_NO_SCAN_BYTES", ! option_sense); | | 2703 | ACTION_M4_IFDEF("M4""_YY_NO_SCAN_BYTES", ! option_sense); |
2829 | YY_BREAK | | 2704 | YY_BREAK |
2830 | case 102: | | 2705 | case 102: |
2831 | YY_RULE_SETUP | | 2706 | YY_RULE_SETUP |
2832 | #line 403 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2833 | ACTION_M4_IFDEF("M4""_YY_NO_SCAN_STRING", ! option_sense); | | 2707 | ACTION_M4_IFDEF("M4""_YY_NO_SCAN_STRING", ! option_sense); |
2834 | YY_BREAK | | 2708 | YY_BREAK |
2835 | case 103: | | 2709 | case 103: |
2836 | YY_RULE_SETUP | | 2710 | YY_RULE_SETUP |
2837 | #line 405 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2838 | ACTION_M4_IFDEF("M4""_YY_NO_FLEX_ALLOC", ! option_sense); | | 2711 | ACTION_M4_IFDEF("M4""_YY_NO_FLEX_ALLOC", ! option_sense); |
2839 | YY_BREAK | | 2712 | YY_BREAK |
2840 | case 104: | | 2713 | case 104: |
2841 | YY_RULE_SETUP | | 2714 | YY_RULE_SETUP |
2842 | #line 406 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2843 | ACTION_M4_IFDEF("M4""_YY_NO_FLEX_REALLOC", ! option_sense); | | 2715 | ACTION_M4_IFDEF("M4""_YY_NO_FLEX_REALLOC", ! option_sense); |
2844 | YY_BREAK | | 2716 | YY_BREAK |
2845 | case 105: | | 2717 | case 105: |
2846 | YY_RULE_SETUP | | 2718 | YY_RULE_SETUP |
2847 | #line 407 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2848 | ACTION_M4_IFDEF("M4""_YY_NO_FLEX_FREE", ! option_sense); | | 2719 | ACTION_M4_IFDEF("M4""_YY_NO_FLEX_FREE", ! option_sense); |
2849 | YY_BREAK | | 2720 | YY_BREAK |
2850 | case 106: | | 2721 | case 106: |
2851 | YY_RULE_SETUP | | 2722 | YY_RULE_SETUP |
2852 | #line 409 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2853 | ACTION_M4_IFDEF("M4""_YY_NO_GET_DEBUG", ! option_sense); | | 2723 | ACTION_M4_IFDEF("M4""_YY_NO_GET_DEBUG", ! option_sense); |
2854 | YY_BREAK | | 2724 | YY_BREAK |
2855 | case 107: | | 2725 | case 107: |
2856 | YY_RULE_SETUP | | 2726 | YY_RULE_SETUP |
2857 | #line 410 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2858 | ACTION_M4_IFDEF("M4""_YY_NO_SET_DEBUG", ! option_sense); | | 2727 | ACTION_M4_IFDEF("M4""_YY_NO_SET_DEBUG", ! option_sense); |
2859 | YY_BREAK | | 2728 | YY_BREAK |
2860 | case 108: | | 2729 | case 108: |
2861 | YY_RULE_SETUP | | 2730 | YY_RULE_SETUP |
2862 | #line 411 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2863 | ACTION_M4_IFDEF("M4""_YY_NO_GET_EXTRA", ! option_sense); | | 2731 | ACTION_M4_IFDEF("M4""_YY_NO_GET_EXTRA", ! option_sense); |
2864 | YY_BREAK | | 2732 | YY_BREAK |
2865 | case 109: | | 2733 | case 109: |
2866 | YY_RULE_SETUP | | 2734 | YY_RULE_SETUP |
2867 | #line 412 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2868 | ACTION_M4_IFDEF("M4""_YY_NO_SET_EXTRA", ! option_sense); | | 2735 | ACTION_M4_IFDEF("M4""_YY_NO_SET_EXTRA", ! option_sense); |
2869 | YY_BREAK | | 2736 | YY_BREAK |
2870 | case 110: | | 2737 | case 110: |
2871 | YY_RULE_SETUP | | 2738 | YY_RULE_SETUP |
2872 | #line 413 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2873 | ACTION_M4_IFDEF("M4""_YY_NO_GET_LENG", ! option_sense); | | 2739 | ACTION_M4_IFDEF("M4""_YY_NO_GET_LENG", ! option_sense); |
2874 | YY_BREAK | | 2740 | YY_BREAK |
2875 | case 111: | | 2741 | case 111: |
2876 | YY_RULE_SETUP | | 2742 | YY_RULE_SETUP |
2877 | #line 414 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2878 | ACTION_M4_IFDEF("M4""_YY_NO_GET_TEXT", ! option_sense); | | 2743 | ACTION_M4_IFDEF("M4""_YY_NO_GET_TEXT", ! option_sense); |
2879 | YY_BREAK | | 2744 | YY_BREAK |
2880 | case 112: | | 2745 | case 112: |
2881 | YY_RULE_SETUP | | 2746 | YY_RULE_SETUP |
2882 | #line 415 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2883 | ACTION_M4_IFDEF("M4""_YY_NO_GET_LINENO", ! option_sense); | | 2747 | ACTION_M4_IFDEF("M4""_YY_NO_GET_LINENO", ! option_sense); |
2884 | YY_BREAK | | 2748 | YY_BREAK |
2885 | case 113: | | 2749 | case 113: |
2886 | YY_RULE_SETUP | | 2750 | YY_RULE_SETUP |
2887 | #line 416 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2888 | ACTION_M4_IFDEF("M4""_YY_NO_SET_LINENO", ! option_sense); | | 2751 | ACTION_M4_IFDEF("M4""_YY_NO_SET_LINENO", ! option_sense); |
2889 | YY_BREAK | | 2752 | YY_BREAK |
2890 | case 114: | | 2753 | case 114: |
2891 | YY_RULE_SETUP | | 2754 | YY_RULE_SETUP |
2892 | #line 417 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2893 | ACTION_M4_IFDEF("M4""_YY_NO_GET_IN", ! option_sense); | | 2755 | ACTION_M4_IFDEF("M4""_YY_NO_GET_IN", ! option_sense); |
2894 | YY_BREAK | | 2756 | YY_BREAK |
2895 | case 115: | | 2757 | case 115: |
2896 | YY_RULE_SETUP | | 2758 | YY_RULE_SETUP |
2897 | #line 418 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2898 | ACTION_M4_IFDEF("M4""_YY_NO_SET_IN", ! option_sense); | | 2759 | ACTION_M4_IFDEF("M4""_YY_NO_SET_IN", ! option_sense); |
2899 | YY_BREAK | | 2760 | YY_BREAK |
2900 | case 116: | | 2761 | case 116: |
2901 | YY_RULE_SETUP | | 2762 | YY_RULE_SETUP |
2902 | #line 419 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2903 | ACTION_M4_IFDEF("M4""_YY_NO_GET_OUT", ! option_sense); | | 2763 | ACTION_M4_IFDEF("M4""_YY_NO_GET_OUT", ! option_sense); |
2904 | YY_BREAK | | 2764 | YY_BREAK |
2905 | case 117: | | 2765 | case 117: |
2906 | YY_RULE_SETUP | | 2766 | YY_RULE_SETUP |
2907 | #line 420 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2908 | ACTION_M4_IFDEF("M4""_YY_NO_SET_OUT", ! option_sense); | | 2767 | ACTION_M4_IFDEF("M4""_YY_NO_SET_OUT", ! option_sense); |
2909 | YY_BREAK | | 2768 | YY_BREAK |
2910 | case 118: | | 2769 | case 118: |
2911 | YY_RULE_SETUP | | 2770 | YY_RULE_SETUP |
2912 | #line 421 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2913 | ACTION_M4_IFDEF("M4""_YY_NO_GET_LVAL", ! option_sense); | | 2771 | ACTION_M4_IFDEF("M4""_YY_NO_GET_LVAL", ! option_sense); |
2914 | YY_BREAK | | 2772 | YY_BREAK |
2915 | case 119: | | 2773 | case 119: |
2916 | YY_RULE_SETUP | | 2774 | YY_RULE_SETUP |
2917 | #line 422 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2918 | ACTION_M4_IFDEF("M4""_YY_NO_SET_LVAL", ! option_sense); | | 2775 | ACTION_M4_IFDEF("M4""_YY_NO_SET_LVAL", ! option_sense); |
2919 | YY_BREAK | | 2776 | YY_BREAK |
2920 | case 120: | | 2777 | case 120: |
2921 | YY_RULE_SETUP | | 2778 | YY_RULE_SETUP |
2922 | #line 423 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2923 | ACTION_M4_IFDEF("M4""_YY_NO_GET_LLOC", ! option_sense); | | 2779 | ACTION_M4_IFDEF("M4""_YY_NO_GET_LLOC", ! option_sense); |
2924 | YY_BREAK | | 2780 | YY_BREAK |
2925 | case 121: | | 2781 | case 121: |
2926 | YY_RULE_SETUP | | 2782 | YY_RULE_SETUP |
2927 | #line 424 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2928 | ACTION_M4_IFDEF("M4""_YY_NO_SET_LLOC", ! option_sense); | | 2783 | ACTION_M4_IFDEF("M4""_YY_NO_SET_LLOC", ! option_sense); |
2929 | YY_BREAK | | 2784 | YY_BREAK |
2930 | case 122: | | 2785 | case 122: |
2931 | YY_RULE_SETUP | | 2786 | YY_RULE_SETUP |
2932 | #line 426 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2933 | return OPT_EXTRA_TYPE; | | 2787 | return OPT_EXTRA_TYPE; |
2934 | YY_BREAK | | 2788 | YY_BREAK |
2935 | case 123: | | 2789 | case 123: |
2936 | YY_RULE_SETUP | | 2790 | YY_RULE_SETUP |
2937 | #line 427 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2938 | return OPT_OUTFILE; | | 2791 | return OPT_OUTFILE; |
2939 | YY_BREAK | | 2792 | YY_BREAK |
2940 | case 124: | | 2793 | case 124: |
2941 | YY_RULE_SETUP | | 2794 | YY_RULE_SETUP |
2942 | #line 428 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2943 | return OPT_PREFIX; | | 2795 | return OPT_PREFIX; |
2944 | YY_BREAK | | 2796 | YY_BREAK |
2945 | case 125: | | 2797 | case 125: |
2946 | YY_RULE_SETUP | | 2798 | YY_RULE_SETUP |
2947 | #line 429 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2948 | return OPT_YYCLASS; | | 2799 | return OPT_YYCLASS; |
2949 | YY_BREAK | | 2800 | YY_BREAK |
2950 | case 126: | | 2801 | case 126: |
2951 | YY_RULE_SETUP | | 2802 | YY_RULE_SETUP |
2952 | #line 430 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2953 | return OPT_HEADER; | | 2803 | return OPT_HEADER; |
2954 | YY_BREAK | | 2804 | YY_BREAK |
2955 | case 127: | | 2805 | case 127: |
2956 | YY_RULE_SETUP | | 2806 | YY_RULE_SETUP |
2957 | #line 431 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2958 | return OPT_TABLES; | | 2807 | return OPT_TABLES; |
2959 | YY_BREAK | | 2808 | YY_BREAK |
2960 | case 128: | | 2809 | case 128: |
2961 | YY_RULE_SETUP | | 2810 | YY_RULE_SETUP |
2962 | #line 432 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2963 | { | | 2811 | { |
2964 | tablesverify = option_sense; | | 2812 | tablesverify = option_sense; |
2965 | if(!tablesext && option_sense) | | 2813 | if(!tablesext && option_sense) |
2966 | tablesext = true; | | 2814 | tablesext = true; |
2967 | } | | 2815 | } |
2968 | YY_BREAK | | 2816 | YY_BREAK |
2969 | case 129: | | 2817 | case 129: |
2970 | YY_RULE_SETUP | | 2818 | YY_RULE_SETUP |
2971 | #line 439 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2972 | { | | 2819 | { |
2973 | if(yyleng-1 < MAXLINE) | | 2820 | if(yyleng-1 < MAXLINE) |
2974 | { | | 2821 | { |
2975 | strlcpy( nmstr, yytext + 1, sizeof(nmstr) ); | | 2822 | strlcpy( nmstr, yytext + 1, sizeof(nmstr) ); |
2976 | } | | 2823 | } |
2977 | else | | 2824 | else |
2978 | { | | 2825 | { |
2979 | synerr( _("Option line too long\n")); | | 2826 | synerr( _("Option line too long\n")); |
2980 | FLEX_EXIT(EXIT_FAILURE); | | 2827 | FLEX_EXIT(EXIT_FAILURE); |
2981 | } | | 2828 | } |
2982 | nmstr[strlen( nmstr ) - 1] = '\0'; | | 2829 | nmstr[strlen( nmstr ) - 1] = '\0'; |
2983 | return NAME; | | 2830 | return NAME; |
2984 | } | | 2831 | } |
2985 | YY_BREAK | | 2832 | YY_BREAK |
2986 | case 130: | | 2833 | case 130: |
2987 | YY_RULE_SETUP | | 2834 | YY_RULE_SETUP |
2988 | #line 453 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
2989 | { | | 2835 | { |
2990 | format_synerr( _( "unrecognized %%option: %s" ), | | 2836 | format_synerr( _( "unrecognized %%option: %s" ), |
2991 | yytext ); | | 2837 | yytext ); |
2992 | BEGIN(RECOVER); | | 2838 | BEGIN(RECOVER); |
2993 | } | | 2839 | } |
2994 | YY_BREAK | | 2840 | YY_BREAK |
2995 | | | 2841 | |
2996 | case 131: | | 2842 | case 131: |
2997 | /* rule 131 can match eol */ | | 2843 | /* rule 131 can match eol */ |
2998 | YY_RULE_SETUP | | 2844 | YY_RULE_SETUP |
2999 | #line 460 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3000 | ++linenum; BEGIN(INITIAL); | | 2845 | ++linenum; BEGIN(INITIAL); |
3001 | YY_BREAK | | 2846 | YY_BREAK |
3002 | | | 2847 | |
3003 | case 132: | | 2848 | case 132: |
3004 | YY_RULE_SETUP | | 2849 | YY_RULE_SETUP |
3005 | #line 464 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3006 | ++bracelevel; yyless( 2 ); /* eat only %{ */ | | 2850 | ++bracelevel; yyless( 2 ); /* eat only %{ */ |
3007 | YY_BREAK | | 2851 | YY_BREAK |
3008 | case 133: | | 2852 | case 133: |
3009 | YY_RULE_SETUP | | 2853 | YY_RULE_SETUP |
3010 | #line 465 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3011 | --bracelevel; yyless( 2 ); /* eat only %} */ | | 2854 | --bracelevel; yyless( 2 ); /* eat only %} */ |
3012 | YY_BREAK | | 2855 | YY_BREAK |
3013 | case 134: | | 2856 | case 134: |
3014 | YY_RULE_SETUP | | 2857 | YY_RULE_SETUP |
3015 | #line 467 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3016 | ACTION_ECHO; /* indented code in prolog */ | | 2858 | ACTION_ECHO; /* indented code in prolog */ |
3017 | YY_BREAK | | 2859 | YY_BREAK |
3018 | case 135: | | 2860 | case 135: |
3019 | YY_RULE_SETUP | | 2861 | YY_RULE_SETUP |
3020 | #line 469 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3021 | { /* non-indented code */ | | 2862 | { /* non-indented code */ |
3022 | if ( bracelevel <= 0 ) | | 2863 | if ( bracelevel <= 0 ) |
3023 | { /* not in %{ ... %} */ | | 2864 | { /* not in %{ ... %} */ |
3024 | yyless( 0 ); /* put it all back */ | | 2865 | yyless( 0 ); /* put it all back */ |
3025 | yy_set_bol( 1 ); | | 2866 | yy_set_bol( 1 ); |
3026 | mark_prolog(); | | 2867 | mark_prolog(); |
3027 | BEGIN(SECT2); | | 2868 | BEGIN(SECT2); |
3028 | } | | 2869 | } |
3029 | else | | 2870 | else |
3030 | ACTION_ECHO; | | 2871 | ACTION_ECHO; |
3031 | } | | 2872 | } |
3032 | YY_BREAK | | 2873 | YY_BREAK |
3033 | case 136: | | 2874 | case 136: |
3034 | YY_RULE_SETUP | | 2875 | YY_RULE_SETUP |
3035 | #line 481 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3036 | ACTION_ECHO; | | 2876 | ACTION_ECHO; |
3037 | YY_BREAK | | 2877 | YY_BREAK |
3038 | case 137: | | 2878 | case 137: |
3039 | /* rule 137 can match eol */ | | 2879 | /* rule 137 can match eol */ |
3040 | YY_RULE_SETUP | | 2880 | YY_RULE_SETUP |
3041 | #line 482 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3042 | ++linenum; ACTION_ECHO; | | 2881 | ++linenum; ACTION_ECHO; |
3043 | YY_BREAK | | 2882 | YY_BREAK |
3044 | case YY_STATE_EOF(SECT2PROLOG): | | 2883 | case YY_STATE_EOF(SECT2PROLOG): |
3045 | #line 484 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3046 | { | | 2884 | { |
3047 | mark_prolog(); | | 2885 | mark_prolog(); |
3048 | sectnum = 0; | | 2886 | sectnum = 0; |
3049 | yyterminate(); /* to stop the parser */ | | 2887 | yyterminate(); /* to stop the parser */ |
3050 | } | | 2888 | } |
3051 | YY_BREAK | | 2889 | YY_BREAK |
3052 | | | 2890 | |
3053 | | | | |
3054 | case 138: | | 2891 | case 138: |
3055 | /* rule 138 can match eol */ | | 2892 | /* rule 138 can match eol */ |
3056 | YY_RULE_SETUP | | 2893 | YY_RULE_SETUP |
3057 | #line 492 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3058 | ++linenum; /* allow blank lines in section 2 */ | | 2894 | ++linenum; /* allow blank lines in section 2 */ |
3059 | YY_BREAK | | 2895 | YY_BREAK |
3060 | case 139: | | 2896 | case 139: |
3061 | YY_RULE_SETUP | | 2897 | YY_RULE_SETUP |
3062 | #line 494 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3063 | { | | 2898 | { |
3064 | indented_code = false; | | 2899 | indented_code = false; |
3065 | doing_codeblock = true; | | 2900 | doing_codeblock = true; |
3066 | bracelevel = 1; | | 2901 | bracelevel = 1; |
3067 | BEGIN(PERCENT_BRACE_ACTION); | | 2902 | BEGIN(PERCENT_BRACE_ACTION); |
3068 | } | | 2903 | } |
3069 | YY_BREAK | | 2904 | YY_BREAK |
3070 | case 140: | | 2905 | case 140: |
3071 | YY_RULE_SETUP | | 2906 | YY_RULE_SETUP |
3072 | #line 501 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3073 | { | | 2907 | { |
3074 | /* Allow "<" to appear in (?x) patterns. */ | | 2908 | /* Allow "<" to appear in (?x) patterns. */ |
3075 | if (!sf_skip_ws()) | | 2909 | if (!sf_skip_ws()) |
3076 | BEGIN(SC); | | 2910 | BEGIN(SC); |
3077 | return '<'; | | 2911 | return '<'; |
3078 | } | | 2912 | } |
3079 | YY_BREAK | | 2913 | YY_BREAK |
3080 | case 141: | | 2914 | case 141: |
3081 | YY_RULE_SETUP | | 2915 | YY_RULE_SETUP |
3082 | #line 507 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3083 | return '^'; | | 2916 | return '^'; |
3084 | YY_BREAK | | 2917 | YY_BREAK |
3085 | case 142: | | 2918 | case 142: |
3086 | YY_RULE_SETUP | | 2919 | YY_RULE_SETUP |
3087 | #line 508 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3088 | BEGIN(QUOTE); return '"'; | | 2920 | BEGIN(QUOTE); return '"'; |
3089 | YY_BREAK | | 2921 | YY_BREAK |
3090 | case 143: | | 2922 | case 143: |
3091 | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ | | 2923 | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ |
3092 | (yy_c_buf_p) = yy_cp = yy_bp + 1; | | 2924 | (yy_c_buf_p) = yy_cp = yy_bp + 1; |
3093 | YY_DO_BEFORE_ACTION; /* set up yytext again */ | | 2925 | YY_DO_BEFORE_ACTION; /* set up yytext again */ |
3094 | YY_RULE_SETUP | | 2926 | YY_RULE_SETUP |
3095 | #line 509 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3096 | { | | 2927 | { |
3097 | BEGIN(NUM); | | 2928 | BEGIN(NUM); |
3098 | if ( lex_compat || posix_compat ) | | 2929 | if ( lex_compat || posix_compat ) |
3099 | return BEGIN_REPEAT_POSIX; | | 2930 | return BEGIN_REPEAT_POSIX; |
3100 | else | | 2931 | else |
3101 | return BEGIN_REPEAT_FLEX; | | 2932 | return BEGIN_REPEAT_FLEX; |
3102 | } | | 2933 | } |
3103 | YY_BREAK | | 2934 | YY_BREAK |
3104 | case 144: | | 2935 | case 144: |
3105 | /* rule 144 can match eol */ | | 2936 | /* rule 144 can match eol */ |
3106 | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ | | 2937 | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ |
3107 | YY_LINENO_REWIND_TO(yy_bp + 1); | | 2938 | YY_LINENO_REWIND_TO(yy_bp + 1); |
3108 | (yy_c_buf_p) = yy_cp = yy_bp + 1; | | 2939 | (yy_c_buf_p) = yy_cp = yy_bp + 1; |
3109 | YY_DO_BEFORE_ACTION; /* set up yytext again */ | | 2940 | YY_DO_BEFORE_ACTION; /* set up yytext again */ |
3110 | YY_RULE_SETUP | | 2941 | YY_RULE_SETUP |
3111 | #line 516 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3112 | return '$'; | | 2942 | return '$'; |
3113 | YY_BREAK | | 2943 | YY_BREAK |
3114 | case 145: | | 2944 | case 145: |
3115 | YY_RULE_SETUP | | 2945 | YY_RULE_SETUP |
3116 | #line 518 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3117 | { | | 2946 | { |
3118 | bracelevel = 1; | | 2947 | bracelevel = 1; |
3119 | BEGIN(PERCENT_BRACE_ACTION); | | 2948 | BEGIN(PERCENT_BRACE_ACTION); |
3120 | | | 2949 | |
3121 | if ( in_rule ) | | 2950 | if ( in_rule ) |
3122 | { | | 2951 | { |
3123 | doing_rule_action = true; | | 2952 | doing_rule_action = true; |
3124 | in_rule = false; | | 2953 | in_rule = false; |
3125 | return '\n'; | | 2954 | return '\n'; |
3126 | } | | 2955 | } |
3127 | } | | 2956 | } |
3128 | YY_BREAK | | 2957 | YY_BREAK |
3129 | case 146: | | 2958 | case 146: |
3130 | /* rule 146 can match eol */ | | 2959 | /* rule 146 can match eol */ |
3131 | YY_RULE_SETUP | | 2960 | YY_RULE_SETUP |
3132 | #line 529 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3133 | { | | 2961 | { |
3134 | if (sf_skip_ws()){ | | 2962 | if (sf_skip_ws()){ |
3135 | /* We're in the middle of a (?x: ) pattern. */ | | 2963 | /* We're in the middle of a (?x: ) pattern. */ |
3136 | /* Push back everything starting at the "|" */ | | 2964 | /* Push back everything starting at the "|" */ |
3137 | size_t amt; | | 2965 | size_t amt; |
3138 | amt = strchr (yytext, '|') - yytext; | | 2966 | amt = strchr (yytext, '|') - yytext; |
3139 | yyless(amt); | | 2967 | yyless(amt); |
3140 | } | | 2968 | } |
3141 | else { | | 2969 | else { |
3142 | continued_action = true; | | 2970 | continued_action = true; |
3143 | ++linenum; | | 2971 | ++linenum; |
3144 | return '\n'; | | 2972 | return '\n'; |
3145 | } | | 2973 | } |
3146 | } | | 2974 | } |
3147 | YY_BREAK | | 2975 | YY_BREAK |
3148 | case 147: | | 2976 | case 147: |
3149 | YY_RULE_SETUP | | 2977 | YY_RULE_SETUP |
3150 | #line 544 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3151 | { | | 2978 | { |
3152 | | | 2979 | |
3153 | if (sf_skip_ws()){ | | 2980 | if (sf_skip_ws()){ |
3154 | /* We're in the middle of a (?x: ) pattern. */ | | 2981 | /* We're in the middle of a (?x: ) pattern. */ |
3155 | yy_push_state(COMMENT_DISCARD); | | 2982 | yy_push_state(COMMENT_DISCARD); |
3156 | } | | 2983 | } |
3157 | else{ | | 2984 | else{ |
3158 | yyless( yyleng - 2 ); /* put back '/', '*' */ | | 2985 | yyless( yyleng - 2 ); /* put back '/', '*' */ |
3159 | bracelevel = 0; | | 2986 | bracelevel = 0; |
3160 | continued_action = false; | | 2987 | continued_action = false; |
3161 | BEGIN(ACTION); | | 2988 | BEGIN(ACTION); |
3162 | } | | 2989 | } |
3163 | } | | 2990 | } |
3164 | YY_BREAK | | 2991 | YY_BREAK |
3165 | case 148: | | 2992 | case 148: |
3166 | YY_RULE_SETUP | | 2993 | YY_RULE_SETUP |
3167 | #line 558 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3168 | /* allow indented rules */ ; | | 2994 | /* allow indented rules */ ; |
3169 | YY_BREAK | | 2995 | YY_BREAK |
3170 | case 149: | | 2996 | case 149: |
3171 | YY_RULE_SETUP | | 2997 | YY_RULE_SETUP |
3172 | #line 560 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3173 | { | | 2998 | { |
3174 | if (sf_skip_ws()){ | | 2999 | if (sf_skip_ws()){ |
3175 | /* We're in the middle of a (?x: ) pattern. */ | | 3000 | /* We're in the middle of a (?x: ) pattern. */ |
3176 | } | | 3001 | } |
3177 | else{ | | 3002 | else{ |
3178 | /* This rule is separate from the one below because | | 3003 | /* This rule is separate from the one below because |
3179 | * otherwise we get variable trailing context, so | | 3004 | * otherwise we get variable trailing context, so |
3180 | * we can't build the scanner using -{f,F}. | | 3005 | * we can't build the scanner using -{f,F}. |
3181 | */ | | 3006 | */ |
3182 | bracelevel = 0; | | 3007 | bracelevel = 0; |
3183 | continued_action = false; | | 3008 | continued_action = false; |
3184 | BEGIN(ACTION); | | 3009 | BEGIN(ACTION); |
3185 | | | 3010 | |
3186 | if ( in_rule ) | | 3011 | if ( in_rule ) |
3187 | { | | 3012 | { |
3188 | doing_rule_action = true; | | 3013 | doing_rule_action = true; |
3189 | in_rule = false; | | 3014 | in_rule = false; |
3190 | return '\n'; | | 3015 | return '\n'; |
3191 | } | | 3016 | } |
3192 | } | | 3017 | } |
3193 | } | | 3018 | } |
3194 | YY_BREAK | | 3019 | YY_BREAK |
3195 | case 150: | | 3020 | case 150: |
3196 | /* rule 150 can match eol */ | | 3021 | /* rule 150 can match eol */ |
3197 | YY_RULE_SETUP | | 3022 | YY_RULE_SETUP |
3198 | #line 582 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3199 | { | | 3023 | { |
3200 | if (sf_skip_ws()){ | | 3024 | if (sf_skip_ws()){ |
3201 | /* We're in the middle of a (?x: ) pattern. */ | | 3025 | /* We're in the middle of a (?x: ) pattern. */ |
3202 | ++linenum; | | 3026 | ++linenum; |
3203 | } | | 3027 | } |
3204 | else{ | | 3028 | else{ |
3205 | bracelevel = 0; | | 3029 | bracelevel = 0; |
3206 | continued_action = false; | | 3030 | continued_action = false; |
3207 | BEGIN(ACTION); | | 3031 | BEGIN(ACTION); |
3208 | unput( '\n' ); /* so <ACTION> sees it */ | | 3032 | unput( '\n' ); /* so <ACTION> sees it */ |
3209 | | | 3033 | |
3210 | if ( in_rule ) | | 3034 | if ( in_rule ) |
3211 | { | | 3035 | { |
3212 | doing_rule_action = true; | | 3036 | doing_rule_action = true; |
3213 | in_rule = false; | | 3037 | in_rule = false; |
3214 | return '\n'; | | 3038 | return '\n'; |
3215 | } | | 3039 | } |
3216 | } | | 3040 | } |
3217 | } | | 3041 | } |
3218 | YY_BREAK | | 3042 | YY_BREAK |
3219 | case 151: | | 3043 | case 151: |
3220 | #line 603 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3221 | case 152: | | 3044 | case 152: |
3222 | YY_RULE_SETUP | | 3045 | YY_RULE_SETUP |
3223 | #line 603 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3224 | return EOF_OP; | | 3046 | return EOF_OP; |
3225 | YY_BREAK | | 3047 | YY_BREAK |
3226 | case 153: | | 3048 | case 153: |
3227 | YY_RULE_SETUP | | 3049 | YY_RULE_SETUP |
3228 | #line 605 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3229 | { | | 3050 | { |
3230 | sectnum = 3; | | 3051 | sectnum = 3; |
3231 | BEGIN(SECT3); | | 3052 | BEGIN(SECT3); |
3232 | outn("/* Begin user sect3 */"); | | 3053 | outn("/* Begin user sect3 */"); |
3233 | yyterminate(); /* to stop the parser */ | | 3054 | yyterminate(); /* to stop the parser */ |
3234 | } | | 3055 | } |
3235 | YY_BREAK | | 3056 | YY_BREAK |
3236 | case 154: | | 3057 | case 154: |
3237 | YY_RULE_SETUP | | 3058 | YY_RULE_SETUP |
3238 | #line 612 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3239 | { | | 3059 | { |
3240 | int cclval; | | 3060 | int cclval; |
3241 | | | 3061 | |
3242 | if(yyleng < MAXLINE) | | 3062 | if(yyleng < MAXLINE) |
3243 | { | | 3063 | { |
3244 | strlcpy( nmstr, yytext, sizeof(nmstr) ); | | 3064 | strlcpy( nmstr, yytext, sizeof(nmstr) ); |
3245 | } | | 3065 | } |
3246 | else | | 3066 | else |
3247 | { | | 3067 | { |
3248 | synerr( _("Input line too long\n")); | | 3068 | synerr( _("Input line too long\n")); |
3249 | FLEX_EXIT(EXIT_FAILURE); | | 3069 | FLEX_EXIT(EXIT_FAILURE); |
3250 | } | | 3070 | } |
3251 | | | 3071 | |
| @@ -3275,42 +3095,39 @@ YY_RULE_SETUP | | | @@ -3275,42 +3095,39 @@ YY_RULE_SETUP |
3275 | | | 3095 | |
3276 | /* Push back everything but the leading bracket | | 3096 | /* Push back everything but the leading bracket |
3277 | * so the ccl can be rescanned. | | 3097 | * so the ccl can be rescanned. |
3278 | */ | | 3098 | */ |
3279 | yyless( 1 ); | | 3099 | yyless( 1 ); |
3280 | | | 3100 | |
3281 | BEGIN(FIRSTCCL); | | 3101 | BEGIN(FIRSTCCL); |
3282 | return '['; | | 3102 | return '['; |
3283 | } | | 3103 | } |
3284 | } | | 3104 | } |
3285 | YY_BREAK | | 3105 | YY_BREAK |
3286 | case 155: | | 3106 | case 155: |
3287 | YY_RULE_SETUP | | 3107 | YY_RULE_SETUP |
3288 | #line 658 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3289 | return CCL_OP_DIFF; | | 3108 | return CCL_OP_DIFF; |
3290 | YY_BREAK | | 3109 | YY_BREAK |
3291 | case 156: | | 3110 | case 156: |
3292 | YY_RULE_SETUP | | 3111 | YY_RULE_SETUP |
3293 | #line 659 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3294 | return CCL_OP_UNION; | | 3112 | return CCL_OP_UNION; |
3295 | YY_BREAK | | 3113 | YY_BREAK |
3296 | /* Check for :space: at the end of the rule so we don't | | 3114 | /* Check for :space: at the end of the rule so we don't |
3297 | * wrap the expanded regex in '(' ')' -- breaking trailing | | 3115 | * wrap the expanded regex in '(' ')' -- breaking trailing |
3298 | * context. | | 3116 | * context. |
3299 | */ | | 3117 | */ |
3300 | case 157: | | 3118 | case 157: |
3301 | /* rule 157 can match eol */ | | 3119 | /* rule 157 can match eol */ |
3302 | YY_RULE_SETUP | | 3120 | YY_RULE_SETUP |
3303 | #line 666 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3304 | { | | 3121 | { |
3305 | Char *nmdefptr; | | 3122 | Char *nmdefptr; |
3306 | int end_is_ws, end_ch; | | 3123 | int end_is_ws, end_ch; |
3307 | | | 3124 | |
3308 | end_ch = yytext[yyleng-1]; | | 3125 | end_ch = yytext[yyleng-1]; |
3309 | end_is_ws = end_ch != '}' ? 1 : 0; | | 3126 | end_is_ws = end_ch != '}' ? 1 : 0; |
3310 | | | 3127 | |
3311 | if(yyleng-1 < MAXLINE) | | 3128 | if(yyleng-1 < MAXLINE) |
3312 | { | | 3129 | { |
3313 | strlcpy( nmstr, yytext + 1, sizeof(nmstr) ); | | 3130 | strlcpy( nmstr, yytext + 1, sizeof(nmstr) ); |
3314 | } | | 3131 | } |
3315 | else | | 3132 | else |
3316 | { | | 3133 | { |
| @@ -3341,664 +3158,557 @@ nmstr[yyleng - 2 - end_is_ws] = '\0'; / | | | @@ -3341,664 +3158,557 @@ nmstr[yyleng - 2 - end_is_ws] = '\0'; / |
3341 | } | | 3158 | } |
3342 | | | 3159 | |
3343 | else | | 3160 | else |
3344 | { | | 3161 | { |
3345 | unput(')'); | | 3162 | unput(')'); |
3346 | PUT_BACK_STRING((char *) nmdefptr, 0); | | 3163 | PUT_BACK_STRING((char *) nmdefptr, 0); |
3347 | unput('('); | | 3164 | unput('('); |
3348 | } | | 3165 | } |
3349 | } | | 3166 | } |
3350 | } | | 3167 | } |
3351 | YY_BREAK | | 3168 | YY_BREAK |
3352 | case 158: | | 3169 | case 158: |
3353 | YY_RULE_SETUP | | 3170 | YY_RULE_SETUP |
3354 | #line 714 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3355 | { | | 3171 | { |
3356 | if (sf_skip_ws()) | | 3172 | if (sf_skip_ws()) |
3357 | yy_push_state(COMMENT_DISCARD); | | 3173 | yy_push_state(COMMENT_DISCARD); |
3358 | else{ | | 3174 | else{ |
3359 | /* Push back the "*" and return "/" as usual. */ | | 3175 | /* Push back the "*" and return "/" as usual. */ |
3360 | yyless(1); | | 3176 | yyless(1); |
3361 | return '/'; | | 3177 | return '/'; |
3362 | } | | 3178 | } |
3363 | } | | 3179 | } |
3364 | YY_BREAK | | 3180 | YY_BREAK |
3365 | case 159: | | 3181 | case 159: |
3366 | YY_RULE_SETUP | | 3182 | YY_RULE_SETUP |
3367 | #line 724 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3368 | { | | 3183 | { |
3369 | if (lex_compat || posix_compat){ | | 3184 | if (lex_compat || posix_compat){ |
3370 | /* Push back the "?#" and treat it like a normal parens. */ | | 3185 | /* Push back the "?#" and treat it like a normal parens. */ |
3371 | yyless(1); | | 3186 | yyless(1); |
3372 | sf_push(); | | 3187 | sf_push(); |
3373 | return '('; | | 3188 | return '('; |
3374 | } | | 3189 | } |
3375 | else | | 3190 | else |
3376 | yy_push_state(EXTENDED_COMMENT); | | 3191 | yy_push_state(EXTENDED_COMMENT); |
3377 | } | | 3192 | } |
3378 | YY_BREAK | | 3193 | YY_BREAK |
3379 | case 160: | | 3194 | case 160: |
3380 | YY_RULE_SETUP | | 3195 | YY_RULE_SETUP |
3381 | #line 734 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3382 | { | | 3196 | { |
3383 | sf_push(); | | 3197 | sf_push(); |
3384 | if (lex_compat || posix_compat) | | 3198 | if (lex_compat || posix_compat) |
3385 | /* Push back the "?" and treat it like a normal parens. */ | | 3199 | /* Push back the "?" and treat it like a normal parens. */ |
3386 | yyless(1); | | 3200 | yyless(1); |
3387 | else | | 3201 | else |
3388 | BEGIN(GROUP_WITH_PARAMS); | | 3202 | BEGIN(GROUP_WITH_PARAMS); |
3389 | return '('; | | 3203 | return '('; |
3390 | } | | 3204 | } |
3391 | YY_BREAK | | 3205 | YY_BREAK |
3392 | case 161: | | 3206 | case 161: |
3393 | YY_RULE_SETUP | | 3207 | YY_RULE_SETUP |
3394 | #line 743 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3395 | sf_push(); return '('; | | 3208 | sf_push(); return '('; |
3396 | YY_BREAK | | 3209 | YY_BREAK |
3397 | case 162: | | 3210 | case 162: |
3398 | YY_RULE_SETUP | | 3211 | YY_RULE_SETUP |
3399 | #line 744 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3400 | sf_pop(); return ')'; | | 3212 | sf_pop(); return ')'; |
3401 | YY_BREAK | | 3213 | YY_BREAK |
3402 | case 163: | | 3214 | case 163: |
3403 | YY_RULE_SETUP | | 3215 | YY_RULE_SETUP |
3404 | #line 746 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3405 | return (unsigned char) yytext[0]; | | 3216 | return (unsigned char) yytext[0]; |
3406 | YY_BREAK | | 3217 | YY_BREAK |
3407 | case 164: | | 3218 | case 164: |
3408 | YY_RULE_SETUP | | 3219 | YY_RULE_SETUP |
3409 | #line 747 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3410 | RETURNCHAR; | | 3220 | RETURNCHAR; |
3411 | YY_BREAK | | 3221 | YY_BREAK |
3412 | | | 3222 | |
3413 | | | | |
3414 | case 165: | | 3223 | case 165: |
3415 | /* rule 165 can match eol */ | | 3224 | /* rule 165 can match eol */ |
3416 | YY_RULE_SETUP | | 3225 | YY_RULE_SETUP |
3417 | #line 752 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3418 | ++linenum; /* Allow blank lines & continuations */ | | 3226 | ++linenum; /* Allow blank lines & continuations */ |
3419 | YY_BREAK | | 3227 | YY_BREAK |
3420 | case 166: | | 3228 | case 166: |
3421 | YY_RULE_SETUP | | 3229 | YY_RULE_SETUP |
3422 | #line 753 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3423 | return (unsigned char) yytext[0]; | | 3230 | return (unsigned char) yytext[0]; |
3424 | YY_BREAK | | 3231 | YY_BREAK |
3425 | case 167: | | 3232 | case 167: |
3426 | YY_RULE_SETUP | | 3233 | YY_RULE_SETUP |
3427 | #line 754 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3428 | BEGIN(SECT2); return '>'; | | 3234 | BEGIN(SECT2); return '>'; |
3429 | YY_BREAK | | 3235 | YY_BREAK |
3430 | case 168: | | 3236 | case 168: |
3431 | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ | | 3237 | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ |
3432 | (yy_c_buf_p) = yy_cp = yy_bp + 1; | | 3238 | (yy_c_buf_p) = yy_cp = yy_bp + 1; |
3433 | YY_DO_BEFORE_ACTION; /* set up yytext again */ | | 3239 | YY_DO_BEFORE_ACTION; /* set up yytext again */ |
3434 | YY_RULE_SETUP | | 3240 | YY_RULE_SETUP |
3435 | #line 755 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3436 | BEGIN(CARETISBOL); return '>'; | | 3241 | BEGIN(CARETISBOL); return '>'; |
3437 | YY_BREAK | | 3242 | YY_BREAK |
3438 | case 169: | | 3243 | case 169: |
3439 | YY_RULE_SETUP | | 3244 | YY_RULE_SETUP |
3440 | #line 756 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3441 | RETURNNAME; | | 3245 | RETURNNAME; |
3442 | YY_BREAK | | 3246 | YY_BREAK |
3443 | case 170: | | 3247 | case 170: |
3444 | YY_RULE_SETUP | | 3248 | YY_RULE_SETUP |
3445 | #line 757 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3446 | { | | 3249 | { |
3447 | format_synerr( _( "bad <start condition>: %s" ), | | 3250 | format_synerr( _( "bad <start condition>: %s" ), |
3448 | yytext ); | | 3251 | yytext ); |
3449 | } | | 3252 | } |
3450 | YY_BREAK | | 3253 | YY_BREAK |
3451 | | | 3254 | |
3452 | case 171: | | 3255 | case 171: |
3453 | YY_RULE_SETUP | | 3256 | YY_RULE_SETUP |
3454 | #line 763 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3455 | BEGIN(SECT2); return '^'; | | 3257 | BEGIN(SECT2); return '^'; |
3456 | YY_BREAK | | 3258 | YY_BREAK |
3457 | | | 3259 | |
3458 | case 172: | | 3260 | case 172: |
3459 | YY_RULE_SETUP | | 3261 | YY_RULE_SETUP |
3460 | #line 767 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3461 | RETURNCHAR; | | 3262 | RETURNCHAR; |
3462 | YY_BREAK | | 3263 | YY_BREAK |
3463 | case 173: | | 3264 | case 173: |
3464 | YY_RULE_SETUP | | 3265 | YY_RULE_SETUP |
3465 | #line 768 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3466 | BEGIN(SECT2); return '"'; | | 3266 | BEGIN(SECT2); return '"'; |
3467 | YY_BREAK | | 3267 | YY_BREAK |
3468 | case 174: | | 3268 | case 174: |
3469 | /* rule 174 can match eol */ | | 3269 | /* rule 174 can match eol */ |
3470 | YY_RULE_SETUP | | 3270 | YY_RULE_SETUP |
3471 | #line 770 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3472 | { | | 3271 | { |
3473 | synerr( _( "missing quote" ) ); | | 3272 | synerr( _( "missing quote" ) ); |
3474 | BEGIN(SECT2); | | 3273 | BEGIN(SECT2); |
3475 | ++linenum; | | 3274 | ++linenum; |
3476 | return '"'; | | 3275 | return '"'; |
3477 | } | | 3276 | } |
3478 | YY_BREAK | | 3277 | YY_BREAK |
3479 | | | 3278 | |
3480 | | | | |
3481 | case 175: | | 3279 | case 175: |
3482 | YY_RULE_SETUP | | 3280 | YY_RULE_SETUP |
3483 | #line 779 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3484 | BEGIN(SECT2); | | 3281 | BEGIN(SECT2); |
3485 | YY_BREAK | | 3282 | YY_BREAK |
3486 | case 176: | | 3283 | case 176: |
3487 | YY_RULE_SETUP | | 3284 | YY_RULE_SETUP |
3488 | #line 780 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3489 | BEGIN(GROUP_MINUS_PARAMS); | | 3285 | BEGIN(GROUP_MINUS_PARAMS); |
3490 | YY_BREAK | | 3286 | YY_BREAK |
3491 | case 177: | | 3287 | case 177: |
3492 | YY_RULE_SETUP | | 3288 | YY_RULE_SETUP |
3493 | #line 781 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3494 | sf_set_case_ins(1); | | 3289 | sf_set_case_ins(1); |
3495 | YY_BREAK | | 3290 | YY_BREAK |
3496 | case 178: | | 3291 | case 178: |
3497 | YY_RULE_SETUP | | 3292 | YY_RULE_SETUP |
3498 | #line 782 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3499 | sf_set_dot_all(1); | | 3293 | sf_set_dot_all(1); |
3500 | YY_BREAK | | 3294 | YY_BREAK |
3501 | case 179: | | 3295 | case 179: |
3502 | YY_RULE_SETUP | | 3296 | YY_RULE_SETUP |
3503 | #line 783 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3504 | sf_set_skip_ws(1); | | 3297 | sf_set_skip_ws(1); |
3505 | YY_BREAK | | 3298 | YY_BREAK |
3506 | | | 3299 | |
3507 | | | | |
3508 | case 180: | | 3300 | case 180: |
3509 | YY_RULE_SETUP | | 3301 | YY_RULE_SETUP |
3510 | #line 786 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3511 | BEGIN(SECT2); | | 3302 | BEGIN(SECT2); |
3512 | YY_BREAK | | 3303 | YY_BREAK |
3513 | case 181: | | 3304 | case 181: |
3514 | YY_RULE_SETUP | | 3305 | YY_RULE_SETUP |
3515 | #line 787 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3516 | sf_set_case_ins(0); | | 3306 | sf_set_case_ins(0); |
3517 | YY_BREAK | | 3307 | YY_BREAK |
3518 | case 182: | | 3308 | case 182: |
3519 | YY_RULE_SETUP | | 3309 | YY_RULE_SETUP |
3520 | #line 788 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3521 | sf_set_dot_all(0); | | 3310 | sf_set_dot_all(0); |
3522 | YY_BREAK | | 3311 | YY_BREAK |
3523 | case 183: | | 3312 | case 183: |
3524 | YY_RULE_SETUP | | 3313 | YY_RULE_SETUP |
3525 | #line 789 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3526 | sf_set_skip_ws(0); | | 3314 | sf_set_skip_ws(0); |
3527 | YY_BREAK | | 3315 | YY_BREAK |
3528 | | | 3316 | |
3529 | | | | |
3530 | case 184: | | 3317 | case 184: |
3531 | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ | | 3318 | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ |
3532 | (yy_c_buf_p) = yy_cp = yy_bp + 1; | | 3319 | (yy_c_buf_p) = yy_cp = yy_bp + 1; |
3533 | YY_DO_BEFORE_ACTION; /* set up yytext again */ | | 3320 | YY_DO_BEFORE_ACTION; /* set up yytext again */ |
3534 | YY_RULE_SETUP | | 3321 | YY_RULE_SETUP |
3535 | #line 793 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3536 | BEGIN(CCL); return '^'; | | 3322 | BEGIN(CCL); return '^'; |
3537 | YY_BREAK | | 3323 | YY_BREAK |
3538 | case 185: | | 3324 | case 185: |
3539 | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ | | 3325 | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ |
3540 | (yy_c_buf_p) = yy_cp = yy_bp + 1; | | 3326 | (yy_c_buf_p) = yy_cp = yy_bp + 1; |
3541 | YY_DO_BEFORE_ACTION; /* set up yytext again */ | | 3327 | YY_DO_BEFORE_ACTION; /* set up yytext again */ |
3542 | YY_RULE_SETUP | | 3328 | YY_RULE_SETUP |
3543 | #line 794 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3544 | return '^'; | | 3329 | return '^'; |
3545 | YY_BREAK | | 3330 | YY_BREAK |
3546 | case 186: | | 3331 | case 186: |
3547 | YY_RULE_SETUP | | 3332 | YY_RULE_SETUP |
3548 | #line 795 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3549 | BEGIN(CCL); RETURNCHAR; | | 3333 | BEGIN(CCL); RETURNCHAR; |
3550 | YY_BREAK | | 3334 | YY_BREAK |
3551 | | | 3335 | |
3552 | | | | |
3553 | case 187: | | 3336 | case 187: |
3554 | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ | | 3337 | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ |
3555 | (yy_c_buf_p) = yy_cp = yy_bp + 1; | | 3338 | (yy_c_buf_p) = yy_cp = yy_bp + 1; |
3556 | YY_DO_BEFORE_ACTION; /* set up yytext again */ | | 3339 | YY_DO_BEFORE_ACTION; /* set up yytext again */ |
3557 | YY_RULE_SETUP | | 3340 | YY_RULE_SETUP |
3558 | #line 799 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3559 | return '-'; | | 3341 | return '-'; |
3560 | YY_BREAK | | 3342 | YY_BREAK |
3561 | case 188: | | 3343 | case 188: |
3562 | YY_RULE_SETUP | | 3344 | YY_RULE_SETUP |
3563 | #line 800 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3564 | RETURNCHAR; | | 3345 | RETURNCHAR; |
3565 | YY_BREAK | | 3346 | YY_BREAK |
3566 | case 189: | | 3347 | case 189: |
3567 | YY_RULE_SETUP | | 3348 | YY_RULE_SETUP |
3568 | #line 801 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3569 | BEGIN(SECT2); return ']'; | | 3349 | BEGIN(SECT2); return ']'; |
3570 | YY_BREAK | | 3350 | YY_BREAK |
3571 | case 190: | | 3351 | case 190: |
3572 | /* rule 190 can match eol */ | | 3352 | /* rule 190 can match eol */ |
3573 | YY_RULE_SETUP | | 3353 | YY_RULE_SETUP |
3574 | #line 802 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3575 | { | | 3354 | { |
3576 | synerr( _( "bad character class" ) ); | | 3355 | synerr( _( "bad character class" ) ); |
3577 | BEGIN(SECT2); | | 3356 | BEGIN(SECT2); |
3578 | return ']'; | | 3357 | return ']'; |
3579 | } | | 3358 | } |
3580 | YY_BREAK | | 3359 | YY_BREAK |
3581 | | | 3360 | |
3582 | | | | |
3583 | case 191: | | 3361 | case 191: |
3584 | YY_RULE_SETUP | | 3362 | YY_RULE_SETUP |
3585 | #line 810 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3586 | BEGIN(CCL); return CCE_ALNUM; | | 3363 | BEGIN(CCL); return CCE_ALNUM; |
3587 | YY_BREAK | | 3364 | YY_BREAK |
3588 | case 192: | | 3365 | case 192: |
3589 | YY_RULE_SETUP | | 3366 | YY_RULE_SETUP |
3590 | #line 811 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3591 | BEGIN(CCL); return CCE_ALPHA; | | 3367 | BEGIN(CCL); return CCE_ALPHA; |
3592 | YY_BREAK | | 3368 | YY_BREAK |
3593 | case 193: | | 3369 | case 193: |
3594 | YY_RULE_SETUP | | 3370 | YY_RULE_SETUP |
3595 | #line 812 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3596 | BEGIN(CCL); return CCE_BLANK; | | 3371 | BEGIN(CCL); return CCE_BLANK; |
3597 | YY_BREAK | | 3372 | YY_BREAK |
3598 | case 194: | | 3373 | case 194: |
3599 | YY_RULE_SETUP | | 3374 | YY_RULE_SETUP |
3600 | #line 813 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3601 | BEGIN(CCL); return CCE_CNTRL; | | 3375 | BEGIN(CCL); return CCE_CNTRL; |
3602 | YY_BREAK | | 3376 | YY_BREAK |
3603 | case 195: | | 3377 | case 195: |
3604 | YY_RULE_SETUP | | 3378 | YY_RULE_SETUP |
3605 | #line 814 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3606 | BEGIN(CCL); return CCE_DIGIT; | | 3379 | BEGIN(CCL); return CCE_DIGIT; |
3607 | YY_BREAK | | 3380 | YY_BREAK |
3608 | case 196: | | 3381 | case 196: |
3609 | YY_RULE_SETUP | | 3382 | YY_RULE_SETUP |
3610 | #line 815 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3611 | BEGIN(CCL); return CCE_GRAPH; | | 3383 | BEGIN(CCL); return CCE_GRAPH; |
3612 | YY_BREAK | | 3384 | YY_BREAK |
3613 | case 197: | | 3385 | case 197: |
3614 | YY_RULE_SETUP | | 3386 | YY_RULE_SETUP |
3615 | #line 816 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3616 | BEGIN(CCL); return CCE_LOWER; | | 3387 | BEGIN(CCL); return CCE_LOWER; |
3617 | YY_BREAK | | 3388 | YY_BREAK |
3618 | case 198: | | 3389 | case 198: |
3619 | YY_RULE_SETUP | | 3390 | YY_RULE_SETUP |
3620 | #line 817 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3621 | BEGIN(CCL); return CCE_PRINT; | | 3391 | BEGIN(CCL); return CCE_PRINT; |
3622 | YY_BREAK | | 3392 | YY_BREAK |
3623 | case 199: | | 3393 | case 199: |
3624 | YY_RULE_SETUP | | 3394 | YY_RULE_SETUP |
3625 | #line 818 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3626 | BEGIN(CCL); return CCE_PUNCT; | | 3395 | BEGIN(CCL); return CCE_PUNCT; |
3627 | YY_BREAK | | 3396 | YY_BREAK |
3628 | case 200: | | 3397 | case 200: |
3629 | YY_RULE_SETUP | | 3398 | YY_RULE_SETUP |
3630 | #line 819 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3631 | BEGIN(CCL); return CCE_SPACE; | | 3399 | BEGIN(CCL); return CCE_SPACE; |
3632 | YY_BREAK | | 3400 | YY_BREAK |
3633 | case 201: | | 3401 | case 201: |
3634 | YY_RULE_SETUP | | 3402 | YY_RULE_SETUP |
3635 | #line 820 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3636 | BEGIN(CCL); return CCE_UPPER; | | 3403 | BEGIN(CCL); return CCE_UPPER; |
3637 | YY_BREAK | | 3404 | YY_BREAK |
3638 | case 202: | | 3405 | case 202: |
3639 | YY_RULE_SETUP | | 3406 | YY_RULE_SETUP |
3640 | #line 821 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3641 | BEGIN(CCL); return CCE_XDIGIT; | | 3407 | BEGIN(CCL); return CCE_XDIGIT; |
3642 | YY_BREAK | | 3408 | YY_BREAK |
3643 | case 203: | | 3409 | case 203: |
3644 | YY_RULE_SETUP | | 3410 | YY_RULE_SETUP |
3645 | #line 823 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3646 | BEGIN(CCL); return CCE_NEG_ALNUM; | | 3411 | BEGIN(CCL); return CCE_NEG_ALNUM; |
3647 | YY_BREAK | | 3412 | YY_BREAK |
3648 | case 204: | | 3413 | case 204: |
3649 | YY_RULE_SETUP | | 3414 | YY_RULE_SETUP |
3650 | #line 824 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3651 | BEGIN(CCL); return CCE_NEG_ALPHA; | | 3415 | BEGIN(CCL); return CCE_NEG_ALPHA; |
3652 | YY_BREAK | | 3416 | YY_BREAK |
3653 | case 205: | | 3417 | case 205: |
3654 | YY_RULE_SETUP | | 3418 | YY_RULE_SETUP |
3655 | #line 825 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3656 | BEGIN(CCL); return CCE_NEG_BLANK; | | 3419 | BEGIN(CCL); return CCE_NEG_BLANK; |
3657 | YY_BREAK | | 3420 | YY_BREAK |
3658 | case 206: | | 3421 | case 206: |
3659 | YY_RULE_SETUP | | 3422 | YY_RULE_SETUP |
3660 | #line 826 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3661 | BEGIN(CCL); return CCE_NEG_CNTRL; | | 3423 | BEGIN(CCL); return CCE_NEG_CNTRL; |
3662 | YY_BREAK | | 3424 | YY_BREAK |
3663 | case 207: | | 3425 | case 207: |
3664 | YY_RULE_SETUP | | 3426 | YY_RULE_SETUP |
3665 | #line 827 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3666 | BEGIN(CCL); return CCE_NEG_DIGIT; | | 3427 | BEGIN(CCL); return CCE_NEG_DIGIT; |
3667 | YY_BREAK | | 3428 | YY_BREAK |
3668 | case 208: | | 3429 | case 208: |
3669 | YY_RULE_SETUP | | 3430 | YY_RULE_SETUP |
3670 | #line 828 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3671 | BEGIN(CCL); return CCE_NEG_GRAPH; | | 3431 | BEGIN(CCL); return CCE_NEG_GRAPH; |
3672 | YY_BREAK | | 3432 | YY_BREAK |
3673 | case 209: | | 3433 | case 209: |
3674 | YY_RULE_SETUP | | 3434 | YY_RULE_SETUP |
3675 | #line 829 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3676 | BEGIN(CCL); return CCE_NEG_LOWER; | | 3435 | BEGIN(CCL); return CCE_NEG_LOWER; |
3677 | YY_BREAK | | 3436 | YY_BREAK |
3678 | case 210: | | 3437 | case 210: |
3679 | YY_RULE_SETUP | | 3438 | YY_RULE_SETUP |
3680 | #line 830 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3681 | BEGIN(CCL); return CCE_NEG_PRINT; | | 3439 | BEGIN(CCL); return CCE_NEG_PRINT; |
3682 | YY_BREAK | | 3440 | YY_BREAK |
3683 | case 211: | | 3441 | case 211: |
3684 | YY_RULE_SETUP | | 3442 | YY_RULE_SETUP |
3685 | #line 831 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3686 | BEGIN(CCL); return CCE_NEG_PUNCT; | | 3443 | BEGIN(CCL); return CCE_NEG_PUNCT; |
3687 | YY_BREAK | | 3444 | YY_BREAK |
3688 | case 212: | | 3445 | case 212: |
3689 | YY_RULE_SETUP | | 3446 | YY_RULE_SETUP |
3690 | #line 832 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3691 | BEGIN(CCL); return CCE_NEG_SPACE; | | 3447 | BEGIN(CCL); return CCE_NEG_SPACE; |
3692 | YY_BREAK | | 3448 | YY_BREAK |
3693 | case 213: | | 3449 | case 213: |
3694 | YY_RULE_SETUP | | 3450 | YY_RULE_SETUP |
3695 | #line 833 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3696 | BEGIN(CCL); return CCE_NEG_UPPER; | | 3451 | BEGIN(CCL); return CCE_NEG_UPPER; |
3697 | YY_BREAK | | 3452 | YY_BREAK |
3698 | case 214: | | 3453 | case 214: |
3699 | YY_RULE_SETUP | | 3454 | YY_RULE_SETUP |
3700 | #line 834 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3701 | BEGIN(CCL); return CCE_NEG_XDIGIT; | | 3455 | BEGIN(CCL); return CCE_NEG_XDIGIT; |
3702 | YY_BREAK | | 3456 | YY_BREAK |
3703 | case 215: | | 3457 | case 215: |
3704 | YY_RULE_SETUP | | 3458 | YY_RULE_SETUP |
3705 | #line 835 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3706 | { | | 3459 | { |
3707 | format_synerr( | | 3460 | format_synerr( |
3708 | _( "bad character class expression: %s" ), | | 3461 | _( "bad character class expression: %s" ), |
3709 | yytext ); | | 3462 | yytext ); |
3710 | BEGIN(CCL); return CCE_ALNUM; | | 3463 | BEGIN(CCL); return CCE_ALNUM; |
3711 | } | | 3464 | } |
3712 | YY_BREAK | | 3465 | YY_BREAK |
3713 | | | 3466 | |
3714 | | | | |
3715 | case 216: | | 3467 | case 216: |
3716 | YY_RULE_SETUP | | 3468 | YY_RULE_SETUP |
3717 | #line 844 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3718 | { | | 3469 | { |
3719 | yylval = myctoi( yytext ); | | 3470 | yylval = myctoi( yytext ); |
3720 | return NUMBER; | | 3471 | return NUMBER; |
3721 | } | | 3472 | } |
3722 | YY_BREAK | | 3473 | YY_BREAK |
3723 | case 217: | | 3474 | case 217: |
3724 | YY_RULE_SETUP | | 3475 | YY_RULE_SETUP |
3725 | #line 849 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3726 | return ','; | | 3476 | return ','; |
3727 | YY_BREAK | | 3477 | YY_BREAK |
3728 | case 218: | | 3478 | case 218: |
3729 | YY_RULE_SETUP | | 3479 | YY_RULE_SETUP |
3730 | #line 850 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3731 | { | | 3480 | { |
3732 | BEGIN(SECT2); | | 3481 | BEGIN(SECT2); |
3733 | if ( lex_compat || posix_compat ) | | 3482 | if ( lex_compat || posix_compat ) |
3734 | return END_REPEAT_POSIX; | | 3483 | return END_REPEAT_POSIX; |
3735 | else | | 3484 | else |
3736 | return END_REPEAT_FLEX; | | 3485 | return END_REPEAT_FLEX; |
3737 | } | | 3486 | } |
3738 | YY_BREAK | | 3487 | YY_BREAK |
3739 | case 219: | | 3488 | case 219: |
3740 | YY_RULE_SETUP | | 3489 | YY_RULE_SETUP |
3741 | #line 858 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3742 | { | | 3490 | { |
3743 | synerr( _( "bad character inside {}'s" ) ); | | 3491 | synerr( _( "bad character inside {}'s" ) ); |
3744 | BEGIN(SECT2); | | 3492 | BEGIN(SECT2); |
3745 | return '}'; | | 3493 | return '}'; |
3746 | } | | 3494 | } |
3747 | YY_BREAK | | 3495 | YY_BREAK |
3748 | case 220: | | 3496 | case 220: |
3749 | /* rule 220 can match eol */ | | 3497 | /* rule 220 can match eol */ |
3750 | YY_RULE_SETUP | | 3498 | YY_RULE_SETUP |
3751 | #line 864 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3752 | { | | 3499 | { |
3753 | synerr( _( "missing }" ) ); | | 3500 | synerr( _( "missing }" ) ); |
3754 | BEGIN(SECT2); | | 3501 | BEGIN(SECT2); |
3755 | ++linenum; | | 3502 | ++linenum; |
3756 | return '}'; | | 3503 | return '}'; |
3757 | } | | 3504 | } |
3758 | YY_BREAK | | 3505 | YY_BREAK |
3759 | | | 3506 | |
3760 | | | | |
3761 | case 221: | | 3507 | case 221: |
3762 | YY_RULE_SETUP | | 3508 | YY_RULE_SETUP |
3763 | #line 874 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3764 | bracelevel = 0; | | 3509 | bracelevel = 0; |
3765 | YY_BREAK | | 3510 | YY_BREAK |
3766 | case 222: | | 3511 | case 222: |
3767 | YY_RULE_SETUP | | 3512 | YY_RULE_SETUP |
3768 | #line 876 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3769 | ACTION_ECHO; yy_push_state( COMMENT ); | | 3513 | ACTION_ECHO; yy_push_state( COMMENT ); |
3770 | YY_BREAK | | 3514 | YY_BREAK |
3771 | | | 3515 | |
3772 | case 223: | | 3516 | case 223: |
3773 | YY_RULE_SETUP | | 3517 | YY_RULE_SETUP |
3774 | #line 879 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3775 | { | | 3518 | { |
3776 | ACTION_ECHO; | | 3519 | ACTION_ECHO; |
3777 | CHECK_RE_JECT(yytext); | | 3520 | CHECK_RE_JECT(yytext); |
3778 | } | | 3521 | } |
3779 | YY_BREAK | | 3522 | YY_BREAK |
3780 | case 224: | | 3523 | case 224: |
3781 | YY_RULE_SETUP | | 3524 | YY_RULE_SETUP |
3782 | #line 883 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3783 | { | | 3525 | { |
3784 | ACTION_ECHO; | | 3526 | ACTION_ECHO; |
3785 | CHECK_YYMORE(yytext); | | 3527 | CHECK_YYMORE(yytext); |
3786 | } | | 3528 | } |
3787 | YY_BREAK | | 3529 | YY_BREAK |
3788 | | | 3530 | |
3789 | case 225: | | 3531 | case 225: |
3790 | YY_RULE_SETUP | | 3532 | YY_RULE_SETUP |
3791 | #line 889 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3792 | ACTION_ECHO_QSTART; | | 3533 | ACTION_ECHO_QSTART; |
3793 | YY_BREAK | | 3534 | YY_BREAK |
3794 | case 226: | | 3535 | case 226: |
3795 | YY_RULE_SETUP | | 3536 | YY_RULE_SETUP |
3796 | #line 890 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3797 | ACTION_ECHO_QEND; | | 3537 | ACTION_ECHO_QEND; |
3798 | YY_BREAK | | 3538 | YY_BREAK |
3799 | case 227: | | 3539 | case 227: |
3800 | YY_RULE_SETUP | | 3540 | YY_RULE_SETUP |
3801 | #line 891 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3802 | ACTION_ECHO; | | 3541 | ACTION_ECHO; |
3803 | YY_BREAK | | 3542 | YY_BREAK |
3804 | case 228: | | 3543 | case 228: |
3805 | /* rule 228 can match eol */ | | 3544 | /* rule 228 can match eol */ |
3806 | YY_RULE_SETUP | | 3545 | YY_RULE_SETUP |
3807 | #line 892 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3808 | { | | 3546 | { |
3809 | ++linenum; | | 3547 | ++linenum; |
3810 | ACTION_ECHO; | | 3548 | ACTION_ECHO; |
3811 | if ( bracelevel == 0 || | | 3549 | if ( bracelevel == 0 || |
3812 | (doing_codeblock && indented_code) ) | | 3550 | (doing_codeblock && indented_code) ) |
3813 | { | | 3551 | { |
3814 | if ( doing_rule_action ) | | 3552 | if ( doing_rule_action ) |
3815 | add_action( "\tYY_BREAK\n" ); | | 3553 | add_action( "\tYY_BREAK\n" ); |
3816 | | | 3554 | |
3817 | doing_rule_action = doing_codeblock = false; | | 3555 | doing_rule_action = doing_codeblock = false; |
3818 | BEGIN(SECT2); | | 3556 | BEGIN(SECT2); |
3819 | } | | 3557 | } |
3820 | } | | 3558 | } |
3821 | YY_BREAK | | 3559 | YY_BREAK |
3822 | | | 3560 | |
3823 | /* Reject and YYmore() are checked for above, in PERCENT_BRACE_ACTION */ | | 3561 | /* Reject and YYmore() are checked for above, in PERCENT_BRACE_ACTION */ |
3824 | | | 3562 | |
3825 | case 229: | | 3563 | case 229: |
3826 | YY_RULE_SETUP | | 3564 | YY_RULE_SETUP |
3827 | #line 910 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3828 | ACTION_ECHO; ++bracelevel; | | 3565 | ACTION_ECHO; ++bracelevel; |
3829 | YY_BREAK | | 3566 | YY_BREAK |
3830 | case 230: | | 3567 | case 230: |
3831 | YY_RULE_SETUP | | 3568 | YY_RULE_SETUP |
3832 | #line 911 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3833 | ACTION_ECHO; --bracelevel; | | 3569 | ACTION_ECHO; --bracelevel; |
3834 | YY_BREAK | | 3570 | YY_BREAK |
3835 | case 231: | | 3571 | case 231: |
3836 | YY_RULE_SETUP | | 3572 | YY_RULE_SETUP |
3837 | #line 912 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3838 | ACTION_ECHO_QSTART; | | 3573 | ACTION_ECHO_QSTART; |
3839 | YY_BREAK | | 3574 | YY_BREAK |
3840 | case 232: | | 3575 | case 232: |
3841 | YY_RULE_SETUP | | 3576 | YY_RULE_SETUP |
3842 | #line 913 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3843 | ACTION_ECHO_QEND; | | 3577 | ACTION_ECHO_QEND; |
3844 | YY_BREAK | | 3578 | YY_BREAK |
3845 | case 233: | | 3579 | case 233: |
3846 | YY_RULE_SETUP | | 3580 | YY_RULE_SETUP |
3847 | #line 914 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3848 | ACTION_ECHO; | | 3581 | ACTION_ECHO; |
3849 | YY_BREAK | | 3582 | YY_BREAK |
3850 | case 234: | | 3583 | case 234: |
3851 | YY_RULE_SETUP | | 3584 | YY_RULE_SETUP |
3852 | #line 915 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3853 | ACTION_ECHO; | | 3585 | ACTION_ECHO; |
3854 | YY_BREAK | | 3586 | YY_BREAK |
3855 | case 235: | | 3587 | case 235: |
3856 | YY_RULE_SETUP | | 3588 | YY_RULE_SETUP |
3857 | #line 916 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3858 | ACTION_ECHO; | | 3589 | ACTION_ECHO; |
3859 | YY_BREAK | | 3590 | YY_BREAK |
3860 | case 236: | | 3591 | case 236: |
3861 | YY_RULE_SETUP | | 3592 | YY_RULE_SETUP |
3862 | #line 917 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3863 | ACTION_ECHO; /* character constant */ | | 3593 | ACTION_ECHO; /* character constant */ |
3864 | YY_BREAK | | 3594 | YY_BREAK |
3865 | case 237: | | 3595 | case 237: |
3866 | YY_RULE_SETUP | | 3596 | YY_RULE_SETUP |
3867 | #line 918 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3868 | ACTION_ECHO; BEGIN(ACTION_STRING); | | 3597 | ACTION_ECHO; BEGIN(ACTION_STRING); |
3869 | YY_BREAK | | 3598 | YY_BREAK |
3870 | case 238: | | 3599 | case 238: |
3871 | /* rule 238 can match eol */ | | 3600 | /* rule 238 can match eol */ |
3872 | YY_RULE_SETUP | | 3601 | YY_RULE_SETUP |
3873 | #line 919 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3874 | { | | 3602 | { |
3875 | ++linenum; | | 3603 | ++linenum; |
3876 | ACTION_ECHO; | | 3604 | ACTION_ECHO; |
3877 | if ( bracelevel == 0 ) | | 3605 | if ( bracelevel == 0 ) |
3878 | { | | 3606 | { |
3879 | if ( doing_rule_action ) | | 3607 | if ( doing_rule_action ) |
3880 | add_action( "\tYY_BREAK\n" ); | | 3608 | add_action( "\tYY_BREAK\n" ); |
3881 | | | 3609 | |
3882 | doing_rule_action = false; | | 3610 | doing_rule_action = false; |
3883 | BEGIN(SECT2); | | 3611 | BEGIN(SECT2); |
3884 | } | | 3612 | } |
3885 | } | | 3613 | } |
3886 | YY_BREAK | | 3614 | YY_BREAK |
3887 | case 239: | | 3615 | case 239: |
3888 | YY_RULE_SETUP | | 3616 | YY_RULE_SETUP |
3889 | #line 931 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3890 | ACTION_ECHO; | | 3617 | ACTION_ECHO; |
3891 | YY_BREAK | | 3618 | YY_BREAK |
3892 | | | 3619 | |
3893 | | | | |
3894 | case 240: | | 3620 | case 240: |
3895 | YY_RULE_SETUP | | 3621 | YY_RULE_SETUP |
3896 | #line 935 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3897 | ACTION_ECHO; | | 3622 | ACTION_ECHO; |
3898 | YY_BREAK | | 3623 | YY_BREAK |
3899 | case 241: | | 3624 | case 241: |
3900 | YY_RULE_SETUP | | 3625 | YY_RULE_SETUP |
3901 | #line 936 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3902 | ACTION_ECHO; | | 3626 | ACTION_ECHO; |
3903 | YY_BREAK | | 3627 | YY_BREAK |
3904 | case 242: | | 3628 | case 242: |
3905 | /* rule 242 can match eol */ | | 3629 | /* rule 242 can match eol */ |
3906 | YY_RULE_SETUP | | 3630 | YY_RULE_SETUP |
3907 | #line 937 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3908 | ++linenum; ACTION_ECHO; BEGIN(ACTION); | | 3631 | ++linenum; ACTION_ECHO; BEGIN(ACTION); |
3909 | YY_BREAK | | 3632 | YY_BREAK |
3910 | case 243: | | 3633 | case 243: |
3911 | YY_RULE_SETUP | | 3634 | YY_RULE_SETUP |
3912 | #line 938 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3913 | ACTION_ECHO; BEGIN(ACTION); | | 3635 | ACTION_ECHO; BEGIN(ACTION); |
3914 | YY_BREAK | | 3636 | YY_BREAK |
3915 | case 244: | | 3637 | case 244: |
3916 | YY_RULE_SETUP | | 3638 | YY_RULE_SETUP |
3917 | #line 939 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3918 | ACTION_ECHO; | | 3639 | ACTION_ECHO; |
3919 | YY_BREAK | | 3640 | YY_BREAK |
3920 | | | 3641 | |
3921 | case YY_STATE_EOF(COMMENT): | | 3642 | case YY_STATE_EOF(COMMENT): |
3922 | case YY_STATE_EOF(COMMENT_DISCARD): | | 3643 | case YY_STATE_EOF(COMMENT_DISCARD): |
3923 | case YY_STATE_EOF(ACTION): | | 3644 | case YY_STATE_EOF(ACTION): |
3924 | case YY_STATE_EOF(ACTION_STRING): | | 3645 | case YY_STATE_EOF(ACTION_STRING): |
3925 | #line 942 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3926 | { | | 3646 | { |
3927 | synerr( _( "EOF encountered inside an action" ) ); | | 3647 | synerr( _( "EOF encountered inside an action" ) ); |
3928 | yyterminate(); | | 3648 | yyterminate(); |
3929 | } | | 3649 | } |
3930 | YY_BREAK | | 3650 | YY_BREAK |
3931 | case YY_STATE_EOF(EXTENDED_COMMENT): | | 3651 | case YY_STATE_EOF(EXTENDED_COMMENT): |
3932 | case YY_STATE_EOF(GROUP_WITH_PARAMS): | | 3652 | case YY_STATE_EOF(GROUP_WITH_PARAMS): |
3933 | case YY_STATE_EOF(GROUP_MINUS_PARAMS): | | 3653 | case YY_STATE_EOF(GROUP_MINUS_PARAMS): |
3934 | #line 947 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3935 | { | | 3654 | { |
3936 | synerr( _( "EOF encountered inside pattern" ) ); | | 3655 | synerr( _( "EOF encountered inside pattern" ) ); |
3937 | yyterminate(); | | 3656 | yyterminate(); |
3938 | } | | 3657 | } |
3939 | YY_BREAK | | 3658 | YY_BREAK |
3940 | case 245: | | 3659 | case 245: |
3941 | YY_RULE_SETUP | | 3660 | YY_RULE_SETUP |
3942 | #line 952 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3943 | { | | 3661 | { |
3944 | yylval = myesc( (Char *) yytext ); | | 3662 | yylval = myesc( (Char *) yytext ); |
3945 | | | 3663 | |
3946 | if ( YY_START == FIRSTCCL ) | | 3664 | if ( YY_START == FIRSTCCL ) |
3947 | BEGIN(CCL); | | 3665 | BEGIN(CCL); |
3948 | | | 3666 | |
3949 | return CHAR; | | 3667 | return CHAR; |
3950 | } | | 3668 | } |
3951 | YY_BREAK | | 3669 | YY_BREAK |
3952 | | | 3670 | |
3953 | case 246: | | 3671 | case 246: |
3954 | YY_RULE_SETUP | | 3672 | YY_RULE_SETUP |
3955 | #line 963 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3956 | fwrite (escaped_qstart, 1, strlen(escaped_qstart), yyout); | | 3673 | fwrite (escaped_qstart, 1, strlen(escaped_qstart), yyout); |
3957 | YY_BREAK | | 3674 | YY_BREAK |
3958 | case 247: | | 3675 | case 247: |
3959 | YY_RULE_SETUP | | 3676 | YY_RULE_SETUP |
3960 | #line 964 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3961 | fwrite (escaped_qend, 1, strlen(escaped_qend), yyout); | | 3677 | fwrite (escaped_qend, 1, strlen(escaped_qend), yyout); |
3962 | YY_BREAK | | 3678 | YY_BREAK |
3963 | case 248: | | 3679 | case 248: |
3964 | /* rule 248 can match eol */ | | 3680 | /* rule 248 can match eol */ |
3965 | YY_RULE_SETUP | | 3681 | YY_RULE_SETUP |
3966 | #line 965 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3967 | ECHO; | | 3682 | ECHO; |
3968 | YY_BREAK | | 3683 | YY_BREAK |
3969 | case 249: | | 3684 | case 249: |
3970 | /* rule 249 can match eol */ | | 3685 | /* rule 249 can match eol */ |
3971 | YY_RULE_SETUP | | 3686 | YY_RULE_SETUP |
3972 | #line 966 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3973 | ECHO; | | 3687 | ECHO; |
3974 | YY_BREAK | | 3688 | YY_BREAK |
3975 | case YY_STATE_EOF(SECT3): | | 3689 | case YY_STATE_EOF(SECT3): |
3976 | #line 967 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3977 | sectnum = 0; yyterminate(); | | 3690 | sectnum = 0; yyterminate(); |
3978 | YY_BREAK | | 3691 | YY_BREAK |
3979 | | | 3692 | |
3980 | case 250: | | 3693 | case 250: |
3981 | /* rule 250 can match eol */ | | 3694 | /* rule 250 can match eol */ |
3982 | YY_RULE_SETUP | | 3695 | YY_RULE_SETUP |
3983 | #line 970 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3984 | format_synerr( _( "bad character: %s" ), yytext ); | | 3696 | format_synerr( _( "bad character: %s" ), yytext ); |
3985 | YY_BREAK | | 3697 | YY_BREAK |
3986 | case 251: | | 3698 | case 251: |
3987 | YY_RULE_SETUP | | 3699 | YY_RULE_SETUP |
3988 | #line 972 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
3989 | YY_FATAL_ERROR( "flex scanner jammed" ); | | 3700 | YY_FATAL_ERROR( "flex scanner jammed" ); |
3990 | YY_BREAK | | 3701 | YY_BREAK |
3991 | #line 3992 "<stdout>" | | | |
3992 | case YY_STATE_EOF(INITIAL): | | 3702 | case YY_STATE_EOF(INITIAL): |
3993 | case YY_STATE_EOF(SECT2): | | 3703 | case YY_STATE_EOF(SECT2): |
3994 | case YY_STATE_EOF(CODEBLOCK): | | 3704 | case YY_STATE_EOF(CODEBLOCK): |
3995 | case YY_STATE_EOF(PICKUPDEF): | | 3705 | case YY_STATE_EOF(PICKUPDEF): |
3996 | case YY_STATE_EOF(SC): | | 3706 | case YY_STATE_EOF(SC): |
3997 | case YY_STATE_EOF(CARETISBOL): | | 3707 | case YY_STATE_EOF(CARETISBOL): |
3998 | case YY_STATE_EOF(NUM): | | 3708 | case YY_STATE_EOF(NUM): |
3999 | case YY_STATE_EOF(QUOTE): | | 3709 | case YY_STATE_EOF(QUOTE): |
4000 | case YY_STATE_EOF(FIRSTCCL): | | 3710 | case YY_STATE_EOF(FIRSTCCL): |
4001 | case YY_STATE_EOF(CCL): | | 3711 | case YY_STATE_EOF(CCL): |
4002 | case YY_STATE_EOF(RECOVER): | | 3712 | case YY_STATE_EOF(RECOVER): |
4003 | case YY_STATE_EOF(PERCENT_BRACE_ACTION): | | 3713 | case YY_STATE_EOF(PERCENT_BRACE_ACTION): |
4004 | case YY_STATE_EOF(OPTION): | | 3714 | case YY_STATE_EOF(OPTION): |
| @@ -4266,28 +3976,26 @@ static int yy_get_next_buffer (void) | | | @@ -4266,28 +3976,26 @@ static int yy_get_next_buffer (void) |
4266 | } | | 3976 | } |
4267 | | | 3977 | |
4268 | (yy_n_chars) += number_to_move; | | 3978 | (yy_n_chars) += number_to_move; |
4269 | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR; | | 3979 | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR; |
4270 | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR; | | 3980 | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR; |
4271 | | | 3981 | |
4272 | (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; | | 3982 | (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; |
4273 | | | 3983 | |
4274 | return ret_val; | | 3984 | return ret_val; |
4275 | } | | 3985 | } |
4276 | | | 3986 | |
4277 | /* yy_get_previous_state - get the state just before the EOB char was reached */ | | 3987 | /* yy_get_previous_state - get the state just before the EOB char was reached */ |
4278 | | | 3988 | |
4279 | #ifndef YY_NO_UNPUT | | | |
4280 | | | | |
4281 | static yy_state_type yy_get_previous_state (void) | | 3989 | static yy_state_type yy_get_previous_state (void) |
4282 | { | | 3990 | { |
4283 | yy_state_type yy_current_state; | | 3991 | yy_state_type yy_current_state; |
4284 | char *yy_cp; | | 3992 | char *yy_cp; |
4285 | | | 3993 | |
4286 | yy_current_state = (yy_start); | | 3994 | yy_current_state = (yy_start); |
4287 | yy_current_state += YY_AT_BOL(); | | 3995 | yy_current_state += YY_AT_BOL(); |
4288 | | | 3996 | |
4289 | for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) | | 3997 | for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) |
4290 | { | | 3998 | { |
4291 | YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); | | 3999 | YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); |
4292 | if ( yy_accept[yy_current_state] ) | | 4000 | if ( yy_accept[yy_current_state] ) |
4293 | { | | 4001 | { |
| @@ -4440,27 +4148,26 @@ static int yy_get_next_buffer (void) | | | @@ -4440,27 +4148,26 @@ static int yy_get_next_buffer (void) |
4440 | } | | 4148 | } |
4441 | } | | 4149 | } |
4442 | } | | 4150 | } |
4443 | | | 4151 | |
4444 | c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ | | 4152 | c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ |
4445 | *(yy_c_buf_p) = '\0'; /* preserve yytext */ | | 4153 | *(yy_c_buf_p) = '\0'; /* preserve yytext */ |
4446 | (yy_hold_char) = *++(yy_c_buf_p); | | 4154 | (yy_hold_char) = *++(yy_c_buf_p); |
4447 | | | 4155 | |
4448 | YY_CURRENT_BUFFER_LVALUE->yy_at_bol = (c == '\n'); | | 4156 | YY_CURRENT_BUFFER_LVALUE->yy_at_bol = (c == '\n'); |
4449 | | | 4157 | |
4450 | return c; | | 4158 | return c; |
4451 | } | | 4159 | } |
4452 | #endif /* ifndef YY_NO_INPUT */ | | 4160 | #endif /* ifndef YY_NO_INPUT */ |
4453 | #endif | | | |
4454 | | | 4161 | |
4455 | /** Immediately switch to a different input stream. | | 4162 | /** Immediately switch to a different input stream. |
4456 | * @param input_file A readable stream. | | 4163 | * @param input_file A readable stream. |
4457 | * | | 4164 | * |
4458 | * @note This function does not reset the start condition to @c INITIAL . | | 4165 | * @note This function does not reset the start condition to @c INITIAL . |
4459 | */ | | 4166 | */ |
4460 | void yyrestart (FILE * input_file ) | | 4167 | void yyrestart (FILE * input_file ) |
4461 | { | | 4168 | { |
4462 | | | 4169 | |
4463 | if ( ! YY_CURRENT_BUFFER ){ | | 4170 | if ( ! YY_CURRENT_BUFFER ){ |
4464 | yyensure_buffer_stack (); | | 4171 | yyensure_buffer_stack (); |
4465 | YY_CURRENT_BUFFER_LVALUE = | | 4172 | YY_CURRENT_BUFFER_LVALUE = |
4466 | yy_create_buffer(yyin,YY_BUF_SIZE ); | | 4173 | yy_create_buffer(yyin,YY_BUF_SIZE ); |
| @@ -5038,68 +4745,61 @@ void *yyrealloc (void * ptr, yy_size_t | | | @@ -5038,68 +4745,61 @@ void *yyrealloc (void * ptr, yy_size_t |
5038 | * any pointer type to void*, and deal with argument conversions | | 4745 | * any pointer type to void*, and deal with argument conversions |
5039 | * as though doing an assignment. | | 4746 | * as though doing an assignment. |
5040 | */ | | 4747 | */ |
5041 | return (void *) realloc( (char *) ptr, size ); | | 4748 | return (void *) realloc( (char *) ptr, size ); |
5042 | } | | 4749 | } |
5043 | | | 4750 | |
5044 | void yyfree (void * ptr ) | | 4751 | void yyfree (void * ptr ) |
5045 | { | | 4752 | { |
5046 | free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ | | 4753 | free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ |
5047 | } | | 4754 | } |
5048 | | | 4755 | |
5049 | #define YYTABLES_NAME "yytables" | | 4756 | #define YYTABLES_NAME "yytables" |
5050 | | | 4757 | |
5051 | #line 972 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l" | | | |
5052 | | | | |
5053 | | | | |
5054 | | | | |
5055 | | | | |
5056 | int yywrap() | | 4758 | int yywrap() |
5057 | { | | 4759 | { |
5058 | if ( --num_input_files > 0 ) | | 4760 | if ( --num_input_files > 0 ) |
5059 | { | | 4761 | { |
5060 | set_input_file( *++input_files ); | | 4762 | set_input_file( *++input_files ); |
5061 | return 0; | | 4763 | return 0; |
5062 | } | | 4764 | } |
5063 | | | 4765 | |
5064 | else | | 4766 | else |
5065 | return 1; | | 4767 | return 1; |
5066 | } | | 4768 | } |
5067 | | | 4769 | |
5068 | | | | |
5069 | /* set_input_file - open the given file (if NULL, stdin) for scanning */ | | 4770 | /* set_input_file - open the given file (if NULL, stdin) for scanning */ |
5070 | | | 4771 | |
5071 | void set_input_file( file ) | | 4772 | void set_input_file( file ) |
5072 | char *file; | | 4773 | char *file; |
5073 | { | | 4774 | { |
5074 | if ( file && strcmp( file, "-" ) ) | | 4775 | if ( file && strcmp( file, "-" ) ) |
5075 | { | | 4776 | { |
5076 | infilename = copy_string( file ); | | 4777 | infilename = copy_string( file ); |
5077 | yyin = fopen( infilename, "r" ); | | 4778 | yyin = fopen( infilename, "r" ); |
5078 | | | 4779 | |
5079 | if ( yyin == NULL ) | | 4780 | if ( yyin == NULL ) |
5080 | lerr( _( "can't open %s" ), file ); | | 4781 | lerr( _( "can't open %s" ), file ); |
5081 | } | | 4782 | } |
5082 | | | 4783 | |
5083 | else | | 4784 | else |
5084 | { | | 4785 | { |
5085 | yyin = stdin; | | 4786 | yyin = stdin; |
5086 | infilename = copy_string( "<stdin>" ); | | 4787 | infilename = copy_string( "<stdin>" ); |
5087 | } | | 4788 | } |
5088 | | | 4789 | |
5089 | linenum = 1; | | 4790 | linenum = 1; |
5090 | } | | 4791 | } |
5091 | | | 4792 | |
5092 | | | | |
5093 | /* Wrapper routines for accessing the scanner's malloc routines. */ | | 4793 | /* Wrapper routines for accessing the scanner's malloc routines. */ |
5094 | | | 4794 | |
5095 | void *flex_alloc( size ) | | 4795 | void *flex_alloc( size ) |
5096 | size_t size; | | 4796 | size_t size; |
5097 | { | | 4797 | { |
5098 | return (void *) malloc( size ); | | 4798 | return (void *) malloc( size ); |
5099 | } | | 4799 | } |
5100 | | | 4800 | |
5101 | void *flex_realloc( ptr, size ) | | 4801 | void *flex_realloc( ptr, size ) |
5102 | void *ptr; | | 4802 | void *ptr; |
5103 | size_t size; | | 4803 | size_t size; |
5104 | { | | 4804 | { |
5105 | return (void *) realloc( ptr, size ); | | 4805 | return (void *) realloc( ptr, size ); |