OLD | NEW |
(Empty) | |
| 1 diff -ipuwr --binary --strip-trailing-cr -x '*.bak' -x '*.orig' -x '*.rej' -x '*
.new' -x '*~' -x debian -x '*.po' -x '*.pot' bison-2.4.1-orig/doc/bison.1 bison-
2.4.1-src/doc/bison.1 |
| 2 --- bison-2.4.1-orig/doc/bison.1 2008-12-11 23:07:25.000000000 +0100 |
| 3 +++ bison-2.4.1-src/doc/bison.1 2008-12-14 13:03:25.203125000 +0100 |
| 4 @@ -3,7 +3,7 @@ |
| 5 .SH NAME |
| 6 bison \- GNU Project parser generator (yacc replacement) |
| 7 .SH SYNOPSIS |
| 8 -.B bison |
| 9 +.B j:\Devel\bison\2.4.1\bison-2.4.1\src\bison.exe |
| 10 [\fIOPTION\fR]... \fIFILE\fR |
| 11 .SH DESCRIPTION |
| 12 .I Bison |
| 13 @@ -60,9 +60,12 @@ connect the option name and the argument |
| 14 .PP |
| 15 Generate LALR(1) and GLR parsers. |
| 16 .PP |
| 17 + |
| 18 Mandatory arguments to long options are mandatory for short options too. |
| 19 The same is true for optional arguments. |
| 20 -.SS "Operation modes:" |
| 21 +.PP |
| 22 + |
| 23 +Operation modes: |
| 24 .TP |
| 25 \fB\-h\fR, \fB\-\-help\fR |
| 26 display this help and exit |
| 27 @@ -81,7 +84,9 @@ emulate POSIX Yacc |
| 28 .TP |
| 29 \fB\-W\fR, \fB\-\-warnings\fR=\fI[CATEGORY]\fR |
| 30 report the warnings falling in CATEGORY |
| 31 -.SS "Parser:" |
| 32 +.PP |
| 33 + |
| 34 +Parser: |
| 35 .TP |
| 36 \fB\-L\fR, \fB\-\-language\fR=\fILANGUAGE\fR |
| 37 specify the output programming language |
| 38 @@ -104,7 +109,9 @@ don't generate `#line' directives |
| 39 .TP |
| 40 \fB\-k\fR, \fB\-\-token\-table\fR |
| 41 include a table of token names |
| 42 -.SS "Output:" |
| 43 +.PP |
| 44 + |
| 45 +Output: |
| 46 .TP |
| 47 \fB\-\-defines\fR[=\fIFILE\fR] |
| 48 also produce a header file |
| 49 @@ -133,7 +140,9 @@ also output a graph of the automaton |
| 50 \fB\-x\fR, \fB\-\-xml\fR[=\fIFILE\fR] |
| 51 also output an XML report of the automaton |
| 52 (the XML schema is experimental) |
| 53 -.SS "Warning categories include:" |
| 54 +.PP |
| 55 + |
| 56 +Warning categories include: |
| 57 .TP |
| 58 `midrule\-values' |
| 59 unset or unused midrule values |
| 60 @@ -152,7 +161,9 @@ turn off all the warnings |
| 61 .TP |
| 62 `error' |
| 63 treat warnings as errors |
| 64 -.SS "THINGS is a list of comma separated words that can include:" |
| 65 +.PP |
| 66 + |
| 67 +THINGS is a list of comma separated words that can include: |
| 68 .TP |
| 69 `state' |
| 70 describe the states |
| 71 @@ -171,15 +182,17 @@ include all the above information |
| 72 .TP |
| 73 `none' |
| 74 disable the report |
| 75 +.PP |
| 76 + |
| 77 .SH AUTHOR |
| 78 Written by Robert Corbett and Richard Stallman. |
| 79 -.SH "REPORTING BUGS" |
| 80 -Report bugs to <bug\-bison@gnu.org>. |
| 81 -.SH COPYRIGHT |
| 82 -Copyright \(co 2008 Free Software Foundation, Inc. |
| 83 -.br |
| 84 +.PP |
| 85 + |
| 86 +Copyright (C) 2008 Free Software Foundation, Inc. |
| 87 This is free software; see the source for copying conditions. There is NO |
| 88 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| 89 +.SH "REPORTING BUGS" |
| 90 +Report bugs to <bug\-bison@gnu.org>. |
| 91 .SH "SEE ALSO" |
| 92 .BR lex (1), |
| 93 .BR flex (1), |
| 94 diff -ipuwr --binary --strip-trailing-cr -x '*.bak' -x '*.orig' -x '*.rej' -x '*
.new' -x '*~' -x debian -x '*.po' -x '*.pot' bison-2.4.1-orig/doc/bison.info bis
on-2.4.1-src/doc/bison.info |
| 95 --- bison-2.4.1-orig/doc/bison.info 2008-12-11 23:07:25.000000000 +0100 |
| 96 +++ bison-2.4.1-src/doc/bison.info 2008-12-14 13:03:22.312500000 +0100 |
| 97 @@ -1,5 +1,5 @@ |
| 98 -This is bison.info, produced by makeinfo version 4.11 from |
| 99 -bison.texinfo. |
| 100 +This is ../../bison-2.4.1-src/doc/bison.info, produced by makeinfo |
| 101 +version 4.8 from ../../bison-2.4.1-src/doc/bison.texinfo. |
| 102 |
| 103 This manual (19 November 2008) is for GNU Bison (version 2.4.1), the |
| 104 GNU parser generator. |
| 105 @@ -3501,8 +3501,8 @@ underscores and periods. Periods make s |
| 106 By convention, a literal string token is used only to represent a |
| 107 token that consists of that particular string. Thus, you should |
| 108 use the token type `"<="' to represent the string `<=' as a token. |
| 109 - Bison does not enforce this convention, but if you depart from it, |
| 110 - people who read your program will be confused. |
| 111 + Bison does not enforce this convention, but if you depart from |
| 112 + it, people who read your program will be confused. |
| 113 |
| 114 All the escape sequences used in string literals in C can be used |
| 115 in Bison as well, except that you must not use a null character |
| 116 @@ -10178,60 +10178,65 @@ Index |
| 117 * Menu: |
| 118 |
| 119 * $ <1>: Table of Symbols. (line 19) |
| 120 -* $ <2>: Java Action Features. |
| 121 +* $ <2>: Action Features. (line 14) |
| 122 +* $: Java Action Features. |
| 123 (line 13) |
| 124 -* $: Action Features. (line 14) |
| 125 -* $$ <1>: Table of Symbols. (line 15) |
| 126 +* $$ <1>: Action Features. (line 10) |
| 127 * $$ <2>: Java Action Features. |
| 128 (line 21) |
| 129 -* $$ <3>: Action Features. (line 10) |
| 130 -* $$: Actions. (line 6) |
| 131 +* $$ <3>: Actions. (line 6) |
| 132 +* $$: Table of Symbols. (line 15) |
| 133 * $< <1>: Java Action Features. |
| 134 (line 17) |
| 135 +* $< <2>: Action Features. (line 23) |
| 136 +* $< <3>: Java Action Features. |
| 137 + (line 29) |
| 138 * $<: Action Features. (line 18) |
| 139 * $accept: Table of Symbols. (line 65) |
| 140 * $end: Table of Symbols. (line 104) |
| 141 * $N: Actions. (line 6) |
| 142 * $undefined: Table of Symbols. (line 212) |
| 143 -* % <1>: Table of Symbols. (line 28) |
| 144 -* %: Java Declarations Summary. |
| 145 +* % <1>: Java Declarations Summary. |
| 146 (line 53) |
| 147 +* %: Table of Symbols. (line 28) |
| 148 * %% <1>: Table of Symbols. (line 23) |
| 149 * %%: Java Declarations Summary. |
| 150 (line 49) |
| 151 -* %code <1>: Table of Symbols. (line 70) |
| 152 -* %code <2>: Java Declarations Summary. |
| 153 - (line 37) |
| 154 -* %code <3>: Calc++ Parser. (line 64) |
| 155 -* %code <4>: Decl Summary. (line 46) |
| 156 -* %code: Prologue Alternatives. |
| 157 +* %code <1>: Table of Symbols. (line 71) |
| 158 +* %code <2>: Prologue Alternatives. |
| 159 (line 6) |
| 160 +* %code <3>: Java Declarations Summary. |
| 161 + (line 37) |
| 162 +* %code <4>: Calc++ Parser. (line 64) |
| 163 +* %code: Decl Summary. (line 63) |
| 164 * %code imports <1>: Java Declarations Summary. |
| 165 (line 41) |
| 166 * %code imports: Decl Summary. (line 115) |
| 167 * %code lexer: Java Declarations Summary. |
| 168 (line 45) |
| 169 -* %code provides <1>: Decl Summary. (line 86) |
| 170 -* %code provides: Prologue Alternatives. |
| 171 +* %code provides <1>: Prologue Alternatives. |
| 172 (line 6) |
| 173 -* %code requires <1>: Calc++ Parser. (line 17) |
| 174 -* %code requires <2>: Decl Summary. (line 72) |
| 175 +* %code provides: Decl Summary. (line 303) |
| 176 +* %code requires <1>: Decl Summary. (line 72) |
| 177 +* %code requires <2>: Calc++ Parser. (line 17) |
| 178 * %code requires: Prologue Alternatives. |
| 179 (line 6) |
| 180 * %code top <1>: Decl Summary. (line 98) |
| 181 * %code top: Prologue Alternatives. |
| 182 (line 6) |
| 183 -* %debug <1>: Table of Symbols. (line 75) |
| 184 +* %debug <1>: Table of Symbols. (line 78) |
| 185 * %debug <2>: Tracing. (line 23) |
| 186 -* %debug: Decl Summary. (line 134) |
| 187 +* %debug <3>: Decl Summary. (line 134) |
| 188 +* %debug: Table of Symbols. (line 75) |
| 189 * %define <1>: Table of Symbols. (line 81) |
| 190 -* %define: Decl Summary. (line 139) |
| 191 +* %define <2>: Decl Summary. (line 140) |
| 192 +* %define: Table of Symbols. (line 82) |
| 193 * %define abstract: Java Declarations Summary. |
| 194 (line 57) |
| 195 * %define api.pure <1>: Decl Summary. (line 166) |
| 196 * %define api.pure: Pure Decl. (line 6) |
| 197 -* %define api.push_pull <1>: Decl Summary. (line 177) |
| 198 -* %define api.push_pull: Push Decl. (line 6) |
| 199 +* %define api.push_pull <1>: Push Decl. (line 6) |
| 200 +* %define api.push_pull: Decl Summary. (line 177) |
| 201 * %define extends: Java Declarations Summary. |
| 202 (line 61) |
| 203 * %define final: Java Declarations Summary. |
| 204 @@ -10243,8 +10248,8 @@ Index |
| 205 * %define location_type: Java Declarations Summary. |
| 206 (line 78) |
| 207 * %define lr.keep_unreachable_states: Decl Summary. (line 190) |
| 208 -* %define namespace <1>: C++ Bison Interface. (line 10) |
| 209 -* %define namespace: Decl Summary. (line 232) |
| 210 +* %define namespace <1>: Decl Summary. (line 232) |
| 211 +* %define namespace: C++ Bison Interface. (line 10) |
| 212 * %define package: Java Declarations Summary. |
| 213 (line 84) |
| 214 * %define parser_class_name: Java Declarations Summary. |
| 215 @@ -10259,12 +10264,15 @@ Index |
| 216 (line 101) |
| 217 * %define throws: Java Declarations Summary. |
| 218 (line 109) |
| 219 -* %defines <1>: Table of Symbols. (line 86) |
| 220 -* %defines: Decl Summary. (line 274) |
| 221 -* %destructor <1>: Table of Symbols. (line 94) |
| 222 +* %defines <1>: Table of Symbols. (line 90) |
| 223 +* %defines <2>: Decl Summary. (line 307) |
| 224 +* %defines: Table of Symbols. (line 86) |
| 225 +* %destructor <1>: Destructor Decl. (line 22) |
| 226 * %destructor <2>: Decl Summary. (line 310) |
| 227 * %destructor <3>: Destructor Decl. (line 6) |
| 228 -* %destructor: Mid-Rule Actions. (line 59) |
| 229 +* %destructor <4>: Mid-Rule Actions. (line 59) |
| 230 +* %destructor <5>: Table of Symbols. (line 94) |
| 231 +* %destructor: Destructor Decl. (line 22) |
| 232 * %dprec <1>: Table of Symbols. (line 99) |
| 233 * %dprec: Merging GLR Parses. (line 6) |
| 234 * %error-verbose <1>: Table of Symbols. (line 118) |
| 235 @@ -10273,41 +10281,42 @@ Index |
| 236 * %expect: Expect Decl. (line 6) |
| 237 * %expect-rr <1>: Expect Decl. (line 6) |
| 238 * %expect-rr: Simple GLR Parsers. (line 6) |
| 239 -* %file-prefix <1>: Table of Symbols. (line 122) |
| 240 -* %file-prefix: Decl Summary. (line 315) |
| 241 -* %glr-parser <1>: Table of Symbols. (line 126) |
| 242 -* %glr-parser <2>: Simple GLR Parsers. (line 6) |
| 243 +* %file-prefix <1>: Decl Summary. (line 315) |
| 244 +* %file-prefix: Table of Symbols. (line 122) |
| 245 +* %glr-parser <1>: Simple GLR Parsers. (line 6) |
| 246 +* %glr-parser <2>: Table of Symbols. (line 126) |
| 247 * %glr-parser: GLR Parsers. (line 6) |
| 248 * %initial-action <1>: Table of Symbols. (line 130) |
| 249 -* %initial-action: Initial Action Decl. (line 6) |
| 250 -* %language <1>: Table of Symbols. (line 134) |
| 251 -* %language: Decl Summary. (line 319) |
| 252 +* %initial-action: Initial Action Decl. (line 11) |
| 253 +* %language <1>: Decl Summary. (line 319) |
| 254 +* %language: Table of Symbols. (line 134) |
| 255 * %language "Java": Java Declarations Summary. |
| 256 (line 10) |
| 257 -* %left <1>: Table of Symbols. (line 138) |
| 258 -* %left <2>: Using Precedence. (line 6) |
| 259 -* %left: Decl Summary. (line 21) |
| 260 +* %left <1>: Using Precedence. (line 6) |
| 261 +* %left <2>: Decl Summary. (line 21) |
| 262 +* %left: Table of Symbols. (line 138) |
| 263 * %lex-param <1>: Table of Symbols. (line 142) |
| 264 -* %lex-param <2>: Java Declarations Summary. |
| 265 +* %lex-param <2>: Pure Calling. (line 31) |
| 266 +* %lex-param: Java Declarations Summary. |
| 267 (line 13) |
| 268 -* %lex-param: Pure Calling. (line 31) |
| 269 * %locations: Decl Summary. (line 327) |
| 270 -* %merge <1>: Table of Symbols. (line 147) |
| 271 -* %merge: Merging GLR Parses. (line 6) |
| 272 -* %name-prefix <1>: Table of Symbols. (line 154) |
| 273 -* %name-prefix <2>: Java Declarations Summary. |
| 274 +* %merge <1>: Merging GLR Parses. (line 6) |
| 275 +* %merge: Table of Symbols. (line 147) |
| 276 +* %name-prefix <1>: Java Declarations Summary. |
| 277 (line 19) |
| 278 -* %name-prefix: Decl Summary. (line 334) |
| 279 -* %no-lines <1>: Table of Symbols. (line 158) |
| 280 -* %no-lines: Decl Summary. (line 346) |
| 281 +* %name-prefix <2>: Decl Summary. (line 334) |
| 282 +* %name-prefix: Table of Symbols. (line 154) |
| 283 +* %no-lines <1>: Decl Summary. (line 346) |
| 284 +* %no-lines: Table of Symbols. (line 158) |
| 285 * %nonassoc <1>: Table of Symbols. (line 162) |
| 286 * %nonassoc <2>: Using Precedence. (line 6) |
| 287 * %nonassoc: Decl Summary. (line 25) |
| 288 -* %output <1>: Table of Symbols. (line 166) |
| 289 -* %output: Decl Summary. (line 354) |
| 290 -* %parse-param <1>: Table of Symbols. (line 170) |
| 291 -* %parse-param <2>: Java Declarations Summary. |
| 292 +* %output <1>: Decl Summary. (line 354) |
| 293 +* %output: Table of Symbols. (line 166) |
| 294 +* %parse-param <1>: Java Declarations Summary. |
| 295 (line 24) |
| 296 +* %parse-param <2>: Parser Function. (line 36) |
| 297 +* %parse-param <3>: Table of Symbols. (line 170) |
| 298 * %parse-param: Parser Function. (line 36) |
| 299 * %prec <1>: Table of Symbols. (line 175) |
| 300 * %prec: Contextual Precedence. |
| 301 @@ -10315,31 +10324,31 @@ Index |
| 302 * %pure-parser <1>: Table of Symbols. (line 179) |
| 303 * %pure-parser: Decl Summary. (line 357) |
| 304 * %require <1>: Table of Symbols. (line 184) |
| 305 -* %require <2>: Decl Summary. (line 362) |
| 306 -* %require: Require Decl. (line 6) |
| 307 -* %right <1>: Table of Symbols. (line 188) |
| 308 -* %right <2>: Using Precedence. (line 6) |
| 309 -* %right: Decl Summary. (line 17) |
| 310 -* %skeleton <1>: Table of Symbols. (line 192) |
| 311 -* %skeleton: Decl Summary. (line 366) |
| 312 +* %require <2>: Require Decl. (line 6) |
| 313 +* %require: Decl Summary. (line 362) |
| 314 +* %right <1>: Using Precedence. (line 6) |
| 315 +* %right <2>: Decl Summary. (line 17) |
| 316 +* %right: Table of Symbols. (line 188) |
| 317 +* %skeleton <1>: Decl Summary. (line 366) |
| 318 +* %skeleton: Table of Symbols. (line 192) |
| 319 * %start <1>: Table of Symbols. (line 196) |
| 320 * %start <2>: Decl Summary. (line 34) |
| 321 * %start: Start Decl. (line 6) |
| 322 -* %token <1>: Table of Symbols. (line 200) |
| 323 -* %token <2>: Java Declarations Summary. |
| 324 +* %token <1>: Decl Summary. (line 13) |
| 325 +* %token <2>: Token Decl. (line 6) |
| 326 +* %token <3>: Java Declarations Summary. |
| 327 (line 29) |
| 328 -* %token <3>: Decl Summary. (line 13) |
| 329 -* %token: Token Decl. (line 6) |
| 330 -* %token-table <1>: Table of Symbols. (line 204) |
| 331 -* %token-table: Decl Summary. (line 374) |
| 332 -* %type <1>: Table of Symbols. (line 208) |
| 333 -* %type <2>: Java Declarations Summary. |
| 334 +* %token: Table of Symbols. (line 200) |
| 335 +* %token-table <1>: Decl Summary. (line 374) |
| 336 +* %token-table: Table of Symbols. (line 204) |
| 337 +* %type <1>: Java Declarations Summary. |
| 338 (line 33) |
| 339 -* %type <3>: Decl Summary. (line 30) |
| 340 -* %type: Type Decl. (line 6) |
| 341 -* %union <1>: Table of Symbols. (line 217) |
| 342 -* %union <2>: Decl Summary. (line 9) |
| 343 -* %union: Union Decl. (line 6) |
| 344 +* %type <2>: Type Decl. (line 6) |
| 345 +* %type <3>: Table of Symbols. (line 208) |
| 346 +* %type: Decl Summary. (line 30) |
| 347 +* %union <1>: Decl Summary. (line 9) |
| 348 +* %union <2>: Union Decl. (line 6) |
| 349 +* %union: Table of Symbols. (line 217) |
| 350 * %verbose: Decl Summary. (line 407) |
| 351 * %yacc: Decl Summary. (line 413) |
| 352 * *yypstate_new: Parser Create Function. |
| 353 @@ -10347,29 +10356,30 @@ Index |
| 354 * /*: Table of Symbols. (line 33) |
| 355 * :: Table of Symbols. (line 36) |
| 356 * ;: Table of Symbols. (line 40) |
| 357 -* <*> <1>: Table of Symbols. (line 47) |
| 358 -* <*>: Destructor Decl. (line 6) |
| 359 -* <> <1>: Table of Symbols. (line 56) |
| 360 -* <>: Destructor Decl. (line 6) |
| 361 -* @$ <1>: Table of Symbols. (line 7) |
| 362 +* <*> <1>: Destructor Decl. (line 6) |
| 363 +* <*>: Table of Symbols. (line 47) |
| 364 +* <> <1>: Destructor Decl. (line 6) |
| 365 +* <>: Table of Symbols. (line 56) |
| 366 +* @$ <1>: Action Features. (line 98) |
| 367 * @$ <2>: Java Action Features. |
| 368 (line 39) |
| 369 -* @$ <3>: Action Features. (line 98) |
| 370 +* @$ <3>: Table of Symbols. (line 7) |
| 371 * @$: Actions and Locations. |
| 372 (line 6) |
| 373 -* @N <1>: Table of Symbols. (line 11) |
| 374 -* @N <2>: Java Action Features. |
| 375 - (line 35) |
| 376 -* @N <3>: Action Features. (line 104) |
| 377 -* @N: Actions and Locations. |
| 378 +* @N <1>: Action Features. (line 104) |
| 379 +* @N <2>: Actions and Locations. |
| 380 (line 6) |
| 381 +* @N <3>: Table of Symbols. (line 11) |
| 382 +* @N <4>: Action Features. (line 104) |
| 383 +* @N: Java Action Features. |
| 384 + (line 35) |
| 385 * abstract syntax tree: Implementing Gotos/Loops. |
| 386 (line 17) |
| 387 * action: Actions. (line 6) |
| 388 * action data types: Action Types. (line 6) |
| 389 * action features summary: Action Features. (line 6) |
| 390 -* actions in mid-rule <1>: Destructor Decl. (line 88) |
| 391 -* actions in mid-rule: Mid-Rule Actions. (line 6) |
| 392 +* actions in mid-rule <1>: Mid-Rule Actions. (line 6) |
| 393 +* actions in mid-rule: Destructor Decl. (line 88) |
| 394 * actions, location: Actions and Locations. |
| 395 (line 6) |
| 396 * actions, semantic: Semantic Actions. (line 6) |
| 397 @@ -10422,8 +10432,8 @@ Index |
| 398 * compiling the parser: Rpcalc Compile. (line 6) |
| 399 * conflicts <1>: Shift/Reduce. (line 6) |
| 400 * conflicts <2>: Merging GLR Parses. (line 6) |
| 401 -* conflicts <3>: Simple GLR Parsers. (line 6) |
| 402 -* conflicts: GLR Parsers. (line 6) |
| 403 +* conflicts <3>: GLR Parsers. (line 6) |
| 404 +* conflicts: Simple GLR Parsers. (line 6) |
| 405 * conflicts, reduce/reduce: Reduce/Reduce. (line 6) |
| 406 * conflicts, suppressing warnings of: Expect Decl. (line 6) |
| 407 * context-dependent precedence: Contextual Precedence. |
| 408 @@ -10467,8 +10477,8 @@ Index |
| 409 (line 22) |
| 410 * end on location: C++ Location Values. (line 45) |
| 411 * epilogue: Epilogue. (line 6) |
| 412 -* error <1>: Table of Symbols. (line 108) |
| 413 -* error: Error Recovery. (line 20) |
| 414 +* error <1>: Error Recovery. (line 20) |
| 415 +* error: Table of Symbols. (line 108) |
| 416 * error on parser: C++ Parser Interface. |
| 417 (line 37) |
| 418 * error recovery: Error Recovery. (line 6) |
| 419 @@ -10488,9 +10498,9 @@ Index |
| 420 * frequently asked questions: FAQ. (line 6) |
| 421 * generalized LR (GLR) parsing <1>: Generalized LR Parsing. |
| 422 (line 6) |
| 423 -* generalized LR (GLR) parsing <2>: GLR Parsers. (line 6) |
| 424 -* generalized LR (GLR) parsing: Language and Grammar. |
| 425 +* generalized LR (GLR) parsing <2>: Language and Grammar. |
| 426 (line 33) |
| 427 +* generalized LR (GLR) parsing: GLR Parsers. (line 6) |
| 428 * generalized LR (GLR) parsing, ambiguous grammars: Merging GLR Parses. |
| 429 (line 6) |
| 430 * generalized LR (GLR) parsing, unambiguous grammars: Simple GLR Parsers. |
| 431 @@ -10522,11 +10532,11 @@ Index |
| 432 (line 6) |
| 433 * GLR parsers and yylval: GLR Semantic Actions. |
| 434 (line 10) |
| 435 -* GLR parsing <1>: Generalized LR Parsing. |
| 436 - (line 6) |
| 437 -* GLR parsing <2>: GLR Parsers. (line 6) |
| 438 -* GLR parsing: Language and Grammar. |
| 439 +* GLR parsing <1>: Language and Grammar. |
| 440 (line 33) |
| 441 +* GLR parsing <2>: Generalized LR Parsing. |
| 442 + (line 6) |
| 443 +* GLR parsing: GLR Parsers. (line 6) |
| 444 * GLR parsing, ambiguous grammars: Merging GLR Parses. (line 6) |
| 445 * GLR parsing, unambiguous grammars: Simple GLR Parsers. (line 6) |
| 446 * grammar file: Grammar Layout. (line 6) |
| 447 @@ -10566,8 +10576,8 @@ Index |
| 448 * lines on position: C++ Location Values. (line 22) |
| 449 * literal string token: Symbols. (line 53) |
| 450 * literal token: Symbols. (line 31) |
| 451 -* location <1>: Locations. (line 6) |
| 452 -* location: Locations Overview. (line 6) |
| 453 +* location <1>: Locations Overview. (line 6) |
| 454 +* location: Locations. (line 6) |
| 455 * location actions: Actions and Locations. |
| 456 (line 6) |
| 457 * Location on Location: Java Location Values. |
| 458 @@ -10632,8 +10642,9 @@ Index |
| 459 * precedence, unary operator: Contextual Precedence. |
| 460 (line 6) |
| 461 * preventing warnings about conflicts: Expect Decl. (line 6) |
| 462 -* Prologue <1>: Decl Summary. (line 50) |
| 463 -* Prologue: Prologue. (line 6) |
| 464 +* Prologue <1>: Decl Summary. (line 129) |
| 465 +* Prologue <2>: Prologue. (line 6) |
| 466 +* Prologue: Decl Summary. (line 50) |
| 467 * Prologue Alternatives: Prologue Alternatives. |
| 468 (line 6) |
| 469 * pure parser: Pure Decl. (line 6) |
| 470 @@ -10646,9 +10657,9 @@ Index |
| 471 * recovery from errors: Error Recovery. (line 6) |
| 472 * recursive rule: Recursion. (line 6) |
| 473 * reduce/reduce conflict: Reduce/Reduce. (line 6) |
| 474 -* reduce/reduce conflicts <1>: Merging GLR Parses. (line 6) |
| 475 +* reduce/reduce conflicts <1>: GLR Parsers. (line 6) |
| 476 * reduce/reduce conflicts <2>: Simple GLR Parsers. (line 6) |
| 477 -* reduce/reduce conflicts: GLR Parsers. (line 6) |
| 478 +* reduce/reduce conflicts: Merging GLR Parses. (line 6) |
| 479 * reduction: Algorithm. (line 6) |
| 480 * reentrant parser: Pure Decl. (line 6) |
| 481 * requiring a version of Bison: Require Decl. (line 6) |
| 482 @@ -10681,8 +10692,8 @@ Index |
| 483 (line 68) |
| 484 * setDebugStream on YYParser: Java Parser Interface. |
| 485 (line 63) |
| 486 -* shift/reduce conflicts <1>: Shift/Reduce. (line 6) |
| 487 -* shift/reduce conflicts <2>: Simple GLR Parsers. (line 6) |
| 488 +* shift/reduce conflicts <1>: Simple GLR Parsers. (line 6) |
| 489 +* shift/reduce conflicts <2>: Shift/Reduce. (line 6) |
| 490 * shift/reduce conflicts: GLR Parsers. (line 6) |
| 491 * shifting: Algorithm. (line 6) |
| 492 * simple examples: Examples. (line 6) |
| 493 @@ -10709,8 +10720,8 @@ Index |
| 494 * syntax error: Error Reporting. (line 6) |
| 495 * syntax of grammar rules: Rules. (line 6) |
| 496 * terminal symbol: Symbols. (line 6) |
| 497 -* textual location <1>: Locations. (line 6) |
| 498 -* textual location: Locations Overview. (line 6) |
| 499 +* textual location <1>: Locations Overview. (line 6) |
| 500 +* textual location: Locations. (line 6) |
| 501 * token: Language and Grammar. |
| 502 (line 47) |
| 503 * token type: Symbols. (line 6) |
| 504 @@ -10740,20 +10751,20 @@ Index |
| 505 * YYACCEPT;: Action Features. (line 32) |
| 506 * YYBACKUP <1>: Table of Symbols. (line 238) |
| 507 * YYBACKUP: Action Features. (line 36) |
| 508 -* yychar <1>: Table of Symbols. (line 242) |
| 509 +* yychar <1>: Action Features. (line 69) |
| 510 * yychar <2>: Lookahead. (line 47) |
| 511 -* yychar <3>: Action Features. (line 69) |
| 512 +* yychar <3>: Table of Symbols. (line 242) |
| 513 * yychar: GLR Semantic Actions. |
| 514 (line 10) |
| 515 -* yyclearin <1>: Table of Symbols. (line 248) |
| 516 -* yyclearin <2>: Error Recovery. (line 97) |
| 517 -* yyclearin: GLR Semantic Actions. |
| 518 +* yyclearin <1>: GLR Semantic Actions. |
| 519 (line 18) |
| 520 +* yyclearin <2>: Table of Symbols. (line 248) |
| 521 +* yyclearin: Error Recovery. (line 97) |
| 522 * yyclearin;: Action Features. (line 76) |
| 523 +* yydebug <1>: Tracing. (line 6) |
| 524 * yydebug: Table of Symbols. (line 256) |
| 525 * YYDEBUG <1>: Table of Symbols. (line 252) |
| 526 * YYDEBUG: Tracing. (line 12) |
| 527 -* yydebug: Tracing. (line 6) |
| 528 * YYEMPTY: Action Features. (line 49) |
| 529 * YYENABLE_NLS: Internationalization. |
| 530 (line 27) |
| 531 @@ -10761,11 +10772,11 @@ Index |
| 532 * yyerrok <1>: Table of Symbols. (line 261) |
| 533 * yyerrok: Error Recovery. (line 92) |
| 534 * yyerrok;: Action Features. (line 81) |
| 535 -* yyerror: Table of Symbols. (line 274) |
| 536 -* YYERROR: Table of Symbols. (line 265) |
| 537 +* YYERROR: Action Features. (line 56) |
| 538 * yyerror: Java Action Features. |
| 539 (line 64) |
| 540 -* YYERROR: Action Features. (line 56) |
| 541 +* YYERROR: Table of Symbols. (line 265) |
| 542 +* yyerror <1>: Table of Symbols. (line 274) |
| 543 * yyerror: Error Reporting. (line 6) |
| 544 * YYERROR: GLR Semantic Actions. |
| 545 (line 28) |
| 546 @@ -10782,29 +10793,29 @@ Index |
| 547 * yylex on parser: C++ Scanner Interface. |
| 548 (line 12) |
| 549 * YYLEX_PARAM: Table of Symbols. (line 294) |
| 550 -* yylloc <1>: Table of Symbols. (line 300) |
| 551 -* yylloc <2>: Lookahead. (line 47) |
| 552 -* yylloc <3>: Action Features. (line 86) |
| 553 -* yylloc <4>: Token Locations. (line 6) |
| 554 -* yylloc <5>: Actions and Locations. |
| 555 - (line 60) |
| 556 -* yylloc: GLR Semantic Actions. |
| 557 +* yylloc <1>: Token Locations. (line 6) |
| 558 +* yylloc <2>: Table of Symbols. (line 300) |
| 559 +* yylloc <3>: GLR Semantic Actions. |
| 560 (line 10) |
| 561 +* yylloc <4>: Action Features. (line 86) |
| 562 +* yylloc <5>: Lookahead. (line 47) |
| 563 +* yylloc: Actions and Locations. |
| 564 + (line 60) |
| 565 * YYLLOC_DEFAULT: Location Default Action. |
| 566 (line 6) |
| 567 * YYLTYPE <1>: Table of Symbols. (line 310) |
| 568 * YYLTYPE: Token Locations. (line 19) |
| 569 -* yylval <1>: Table of Symbols. (line 314) |
| 570 -* yylval <2>: Lookahead. (line 47) |
| 571 -* yylval <3>: Action Features. (line 92) |
| 572 -* yylval <4>: Token Values. (line 6) |
| 573 -* yylval <5>: Actions. (line 74) |
| 574 -* yylval: GLR Semantic Actions. |
| 575 +* yylval <1>: Actions. (line 74) |
| 576 +* yylval <2>: Action Features. (line 92) |
| 577 +* yylval <3>: Table of Symbols. (line 314) |
| 578 +* yylval <4>: GLR Semantic Actions. |
| 579 (line 10) |
| 580 +* yylval <5>: Lookahead. (line 47) |
| 581 +* yylval: Token Values. (line 6) |
| 582 * YYMAXDEPTH <1>: Table of Symbols. (line 322) |
| 583 * YYMAXDEPTH: Memory Management. (line 14) |
| 584 -* yynerrs <1>: Table of Symbols. (line 326) |
| 585 -* yynerrs: Error Reporting. (line 92) |
| 586 +* yynerrs <1>: Error Reporting. (line 92) |
| 587 +* yynerrs: Table of Symbols. (line 326) |
| 588 * yyparse <1>: Table of Symbols. (line 332) |
| 589 * yyparse: Parser Function. (line 6) |
| 590 * YYPARSE_PARAM: Table of Symbols. (line 365) |
| 591 @@ -10814,18 +10825,21 @@ Index |
| 592 * yypstate_delete <1>: Table of Symbols. (line 336) |
| 593 * yypstate_delete: Parser Delete Function. |
| 594 (line 6) |
| 595 -* yypstate_new <1>: Table of Symbols. (line 344) |
| 596 -* yypstate_new: Parser Create Function. |
| 597 +* yypstate_new <1>: Parser Create Function. |
| 598 (line 6) |
| 599 -* yypull_parse <1>: Table of Symbols. (line 351) |
| 600 -* yypull_parse: Pull Parser Function. |
| 601 - (line 6) |
| 602 -* yypush_parse <1>: Table of Symbols. (line 358) |
| 603 -* yypush_parse: Push Parser Function. |
| 604 +* yypstate_new: Table of Symbols. (line 344) |
| 605 +* yypull_parse <1>: Pull Parser Function. |
| 606 (line 6) |
| 607 -* YYRECOVERING <1>: Table of Symbols. (line 371) |
| 608 +* yypull_parse <2>: Table of Symbols. (line 351) |
| 609 +* yypull_parse: Pull Parser Function. |
| 610 + (line 14) |
| 611 +* yypush_parse <1>: Push Parser Function. |
| 612 + (line 15) |
| 613 +* yypush_parse: Table of Symbols. (line 358) |
| 614 +* YYRECOVERING <1>: Action Features. (line 64) |
| 615 * YYRECOVERING <2>: Error Recovery. (line 109) |
| 616 -* YYRECOVERING: Action Features. (line 64) |
| 617 +* YYRECOVERING <3>: Action Features. (line 64) |
| 618 +* YYRECOVERING: Table of Symbols. (line 371) |
| 619 * YYSTACK_USE_ALLOCA: Table of Symbols. (line 376) |
| 620 * YYSTYPE: Table of Symbols. (line 392) |
| 621 * | <1>: Table of Symbols. (line 43) |
| 622 @@ -10834,162 +10848,162 @@ Index |
| 623 |
| 624 |
| 625 Tag Table: |
| 626 -Node: Top1120 |
| 627 -Node: Introduction13685 |
| 628 -Node: Conditions14948 |
| 629 -Node: Copying16839 |
| 630 -Node: Concepts54377 |
| 631 -Node: Language and Grammar55558 |
| 632 -Node: Grammar in Bison61447 |
| 633 -Node: Semantic Values63376 |
| 634 -Node: Semantic Actions65482 |
| 635 -Node: GLR Parsers66669 |
| 636 -Node: Simple GLR Parsers69416 |
| 637 -Node: Merging GLR Parses76068 |
| 638 -Node: GLR Semantic Actions80637 |
| 639 -Node: Compiler Requirements82527 |
| 640 -Node: Locations Overview83263 |
| 641 -Node: Bison Parser84716 |
| 642 -Node: Stages87656 |
| 643 -Node: Grammar Layout88944 |
| 644 -Node: Examples90276 |
| 645 -Node: RPN Calc91479 |
| 646 -Node: Rpcalc Declarations92479 |
| 647 -Node: Rpcalc Rules94407 |
| 648 -Node: Rpcalc Input96223 |
| 649 -Node: Rpcalc Line97698 |
| 650 -Node: Rpcalc Expr98826 |
| 651 -Node: Rpcalc Lexer100793 |
| 652 -Node: Rpcalc Main103387 |
| 653 -Node: Rpcalc Error103794 |
| 654 -Node: Rpcalc Generate104827 |
| 655 -Node: Rpcalc Compile105962 |
| 656 -Node: Infix Calc106841 |
| 657 -Node: Simple Error Recovery109604 |
| 658 -Node: Location Tracking Calc111499 |
| 659 -Node: Ltcalc Declarations112195 |
| 660 -Node: Ltcalc Rules113284 |
| 661 -Node: Ltcalc Lexer115300 |
| 662 -Node: Multi-function Calc117623 |
| 663 -Node: Mfcalc Declarations119199 |
| 664 -Node: Mfcalc Rules121246 |
| 665 -Node: Mfcalc Symbol Table122641 |
| 666 -Node: Exercises128817 |
| 667 -Node: Grammar File129331 |
| 668 -Node: Grammar Outline130180 |
| 669 -Node: Prologue131030 |
| 670 -Node: Prologue Alternatives132819 |
| 671 -Node: Bison Declarations142504 |
| 672 -Node: Grammar Rules142932 |
| 673 -Node: Epilogue143403 |
| 674 -Node: Symbols144419 |
| 675 -Node: Rules151122 |
| 676 -Node: Recursion153601 |
| 677 -Node: Semantics155319 |
| 678 -Node: Value Type156418 |
| 679 -Node: Multiple Types157253 |
| 680 -Node: Actions158420 |
| 681 -Node: Action Types161835 |
| 682 -Node: Mid-Rule Actions163147 |
| 683 -Node: Locations169612 |
| 684 -Node: Location Type170263 |
| 685 -Node: Actions and Locations171049 |
| 686 -Node: Location Default Action173510 |
| 687 -Node: Declarations177230 |
| 688 -Node: Require Decl178757 |
| 689 -Node: Token Decl179076 |
| 690 -Node: Precedence Decl181502 |
| 691 -Node: Union Decl183512 |
| 692 -Node: Type Decl185286 |
| 693 -Node: Initial Action Decl186212 |
| 694 -Node: Destructor Decl186983 |
| 695 -Node: Expect Decl192447 |
| 696 -Node: Start Decl194440 |
| 697 -Node: Pure Decl194828 |
| 698 -Node: Push Decl196578 |
| 699 -Node: Decl Summary201077 |
| 700 -Ref: Decl Summary-Footnote-1217963 |
| 701 -Node: Multiple Parsers218167 |
| 702 -Node: Interface219806 |
| 703 -Node: Parser Function221124 |
| 704 -Node: Push Parser Function223140 |
| 705 -Node: Pull Parser Function223950 |
| 706 -Node: Parser Create Function224601 |
| 707 -Node: Parser Delete Function225424 |
| 708 -Node: Lexical226195 |
| 709 -Node: Calling Convention227627 |
| 710 -Node: Token Values230587 |
| 711 -Node: Token Locations231751 |
| 712 -Node: Pure Calling232645 |
| 713 -Node: Error Reporting234526 |
| 714 -Node: Action Features238656 |
| 715 -Node: Internationalization242958 |
| 716 -Node: Algorithm245499 |
| 717 -Node: Lookahead247865 |
| 718 -Node: Shift/Reduce250074 |
| 719 -Node: Precedence252969 |
| 720 -Node: Why Precedence253625 |
| 721 -Node: Using Precedence255498 |
| 722 -Node: Precedence Examples256475 |
| 723 -Node: How Precedence257185 |
| 724 -Node: Contextual Precedence258342 |
| 725 -Node: Parser States260138 |
| 726 -Node: Reduce/Reduce261382 |
| 727 -Node: Mystery Conflicts264923 |
| 728 -Node: Generalized LR Parsing268630 |
| 729 -Node: Memory Management273249 |
| 730 -Node: Error Recovery275462 |
| 731 -Node: Context Dependency280765 |
| 732 -Node: Semantic Tokens281614 |
| 733 -Node: Lexical Tie-ins284684 |
| 734 -Node: Tie-in Recovery286261 |
| 735 -Node: Debugging288438 |
| 736 -Node: Understanding289104 |
| 737 -Node: Tracing300263 |
| 738 -Node: Invocation304365 |
| 739 -Node: Bison Options305764 |
| 740 -Node: Option Cross Key312768 |
| 741 -Node: Yacc Library313820 |
| 742 -Node: Other Languages314645 |
| 743 -Node: C++ Parsers314972 |
| 744 -Node: C++ Bison Interface315469 |
| 745 -Node: C++ Semantic Values316737 |
| 746 -Ref: C++ Semantic Values-Footnote-1317679 |
| 747 -Node: C++ Location Values317832 |
| 748 -Node: C++ Parser Interface320205 |
| 749 -Node: C++ Scanner Interface321922 |
| 750 -Node: A Complete C++ Example322624 |
| 751 -Node: Calc++ --- C++ Calculator323566 |
| 752 -Node: Calc++ Parsing Driver324080 |
| 753 -Node: Calc++ Parser327861 |
| 754 -Node: Calc++ Scanner331651 |
| 755 -Node: Calc++ Top Level335077 |
| 756 -Node: Java Parsers335726 |
| 757 -Node: Java Bison Interface336403 |
| 758 -Node: Java Semantic Values338366 |
| 759 -Node: Java Location Values339980 |
| 760 -Node: Java Parser Interface341536 |
| 761 -Node: Java Scanner Interface344774 |
| 762 -Node: Java Action Features346959 |
| 763 -Node: Java Differences349686 |
| 764 -Ref: Java Differences-Footnote-1352261 |
| 765 -Node: Java Declarations Summary352411 |
| 766 -Node: FAQ356659 |
| 767 -Node: Memory Exhausted357606 |
| 768 -Node: How Can I Reset the Parser357916 |
| 769 -Node: Strings are Destroyed360185 |
| 770 -Node: Implementing Gotos/Loops361774 |
| 771 -Node: Multiple start-symbols363057 |
| 772 -Node: Secure? Conform?364602 |
| 773 -Node: I can't build Bison365050 |
| 774 -Node: Where can I find help?365768 |
| 775 -Node: Bug Reports366561 |
| 776 -Node: More Languages368022 |
| 777 -Node: Beta Testing368380 |
| 778 -Node: Mailing Lists369254 |
| 779 -Node: Table of Symbols369465 |
| 780 -Node: Glossary384847 |
| 781 -Node: Copying This Manual391744 |
| 782 -Node: Index414137 |
| 783 +Node: Top1174 |
| 784 +Node: Introduction13739 |
| 785 +Node: Conditions15002 |
| 786 +Node: Copying16893 |
| 787 +Node: Concepts54431 |
| 788 +Node: Language and Grammar55612 |
| 789 +Node: Grammar in Bison61501 |
| 790 +Node: Semantic Values63430 |
| 791 +Node: Semantic Actions65536 |
| 792 +Node: GLR Parsers66723 |
| 793 +Node: Simple GLR Parsers69470 |
| 794 +Node: Merging GLR Parses76122 |
| 795 +Node: GLR Semantic Actions80691 |
| 796 +Node: Compiler Requirements82581 |
| 797 +Node: Locations Overview83317 |
| 798 +Node: Bison Parser84770 |
| 799 +Node: Stages87710 |
| 800 +Node: Grammar Layout88998 |
| 801 +Node: Examples90330 |
| 802 +Node: RPN Calc91533 |
| 803 +Node: Rpcalc Declarations92533 |
| 804 +Node: Rpcalc Rules94461 |
| 805 +Node: Rpcalc Input96277 |
| 806 +Node: Rpcalc Line97752 |
| 807 +Node: Rpcalc Expr98880 |
| 808 +Node: Rpcalc Lexer100847 |
| 809 +Node: Rpcalc Main103441 |
| 810 +Node: Rpcalc Error103848 |
| 811 +Node: Rpcalc Generate104881 |
| 812 +Node: Rpcalc Compile106016 |
| 813 +Node: Infix Calc106895 |
| 814 +Node: Simple Error Recovery109658 |
| 815 +Node: Location Tracking Calc111553 |
| 816 +Node: Ltcalc Declarations112249 |
| 817 +Node: Ltcalc Rules113338 |
| 818 +Node: Ltcalc Lexer115354 |
| 819 +Node: Multi-function Calc117677 |
| 820 +Node: Mfcalc Declarations119253 |
| 821 +Node: Mfcalc Rules121300 |
| 822 +Node: Mfcalc Symbol Table122695 |
| 823 +Node: Exercises128871 |
| 824 +Node: Grammar File129385 |
| 825 +Node: Grammar Outline130234 |
| 826 +Node: Prologue131084 |
| 827 +Node: Prologue Alternatives132873 |
| 828 +Node: Bison Declarations142558 |
| 829 +Node: Grammar Rules142986 |
| 830 +Node: Epilogue143457 |
| 831 +Node: Symbols144473 |
| 832 +Node: Rules151176 |
| 833 +Node: Recursion153655 |
| 834 +Node: Semantics155373 |
| 835 +Node: Value Type156472 |
| 836 +Node: Multiple Types157307 |
| 837 +Node: Actions158474 |
| 838 +Node: Action Types161889 |
| 839 +Node: Mid-Rule Actions163201 |
| 840 +Node: Locations169666 |
| 841 +Node: Location Type170317 |
| 842 +Node: Actions and Locations171103 |
| 843 +Node: Location Default Action173564 |
| 844 +Node: Declarations177284 |
| 845 +Node: Require Decl178811 |
| 846 +Node: Token Decl179130 |
| 847 +Node: Precedence Decl181556 |
| 848 +Node: Union Decl183566 |
| 849 +Node: Type Decl185340 |
| 850 +Node: Initial Action Decl186266 |
| 851 +Node: Destructor Decl187037 |
| 852 +Node: Expect Decl192501 |
| 853 +Node: Start Decl194494 |
| 854 +Node: Pure Decl194882 |
| 855 +Node: Push Decl196632 |
| 856 +Node: Decl Summary201131 |
| 857 +Ref: Decl Summary-Footnote-1218017 |
| 858 +Node: Multiple Parsers218221 |
| 859 +Node: Interface219860 |
| 860 +Node: Parser Function221178 |
| 861 +Node: Push Parser Function223194 |
| 862 +Node: Pull Parser Function224004 |
| 863 +Node: Parser Create Function224655 |
| 864 +Node: Parser Delete Function225478 |
| 865 +Node: Lexical226249 |
| 866 +Node: Calling Convention227681 |
| 867 +Node: Token Values230641 |
| 868 +Node: Token Locations231805 |
| 869 +Node: Pure Calling232699 |
| 870 +Node: Error Reporting234580 |
| 871 +Node: Action Features238710 |
| 872 +Node: Internationalization243012 |
| 873 +Node: Algorithm245553 |
| 874 +Node: Lookahead247919 |
| 875 +Node: Shift/Reduce250128 |
| 876 +Node: Precedence253023 |
| 877 +Node: Why Precedence253679 |
| 878 +Node: Using Precedence255552 |
| 879 +Node: Precedence Examples256529 |
| 880 +Node: How Precedence257239 |
| 881 +Node: Contextual Precedence258396 |
| 882 +Node: Parser States260192 |
| 883 +Node: Reduce/Reduce261436 |
| 884 +Node: Mystery Conflicts264977 |
| 885 +Node: Generalized LR Parsing268684 |
| 886 +Node: Memory Management273303 |
| 887 +Node: Error Recovery275516 |
| 888 +Node: Context Dependency280819 |
| 889 +Node: Semantic Tokens281668 |
| 890 +Node: Lexical Tie-ins284738 |
| 891 +Node: Tie-in Recovery286315 |
| 892 +Node: Debugging288492 |
| 893 +Node: Understanding289158 |
| 894 +Node: Tracing300317 |
| 895 +Node: Invocation304419 |
| 896 +Node: Bison Options305818 |
| 897 +Node: Option Cross Key312822 |
| 898 +Node: Yacc Library313874 |
| 899 +Node: Other Languages314699 |
| 900 +Node: C++ Parsers315026 |
| 901 +Node: C++ Bison Interface315523 |
| 902 +Node: C++ Semantic Values316791 |
| 903 +Ref: C++ Semantic Values-Footnote-1317733 |
| 904 +Node: C++ Location Values317886 |
| 905 +Node: C++ Parser Interface320259 |
| 906 +Node: C++ Scanner Interface321976 |
| 907 +Node: A Complete C++ Example322678 |
| 908 +Node: Calc++ --- C++ Calculator323620 |
| 909 +Node: Calc++ Parsing Driver324134 |
| 910 +Node: Calc++ Parser327915 |
| 911 +Node: Calc++ Scanner331705 |
| 912 +Node: Calc++ Top Level335131 |
| 913 +Node: Java Parsers335780 |
| 914 +Node: Java Bison Interface336457 |
| 915 +Node: Java Semantic Values338420 |
| 916 +Node: Java Location Values340034 |
| 917 +Node: Java Parser Interface341590 |
| 918 +Node: Java Scanner Interface344828 |
| 919 +Node: Java Action Features347013 |
| 920 +Node: Java Differences349740 |
| 921 +Ref: Java Differences-Footnote-1352315 |
| 922 +Node: Java Declarations Summary352465 |
| 923 +Node: FAQ356713 |
| 924 +Node: Memory Exhausted357660 |
| 925 +Node: How Can I Reset the Parser357970 |
| 926 +Node: Strings are Destroyed360239 |
| 927 +Node: Implementing Gotos/Loops361828 |
| 928 +Node: Multiple start-symbols363111 |
| 929 +Node: Secure? Conform?364656 |
| 930 +Node: I can't build Bison365104 |
| 931 +Node: Where can I find help?365822 |
| 932 +Node: Bug Reports366615 |
| 933 +Node: More Languages368076 |
| 934 +Node: Beta Testing368434 |
| 935 +Node: Mailing Lists369308 |
| 936 +Node: Table of Symbols369519 |
| 937 +Node: Glossary384901 |
| 938 +Node: Copying This Manual391798 |
| 939 +Node: Index414191 |
| 940 |
| 941 End Tag Table |
| 942 diff -ipuwr --binary --strip-trailing-cr -x '*.bak' -x '*.orig' -x '*.rej' -x '*
.new' -x '*~' -x debian -x '*.po' -x '*.pot' bison-2.4.1-orig/lib/Makefile.in bi
son-2.4.1-src/lib/Makefile.in |
| 943 --- bison-2.4.1-orig/lib/Makefile.in 2008-12-11 23:05:55.000000000 +0100 |
| 944 +++ bison-2.4.1-src/lib/Makefile.in 2008-12-14 12:51:16.812500000 +0100 |
| 945 @@ -132,7 +132,8 @@ am_libbison_a_OBJECTS = c-ctype.$(OBJEXT |
| 946 mbswidth.$(OBJEXT) uniwidth/width.$(OBJEXT) \ |
| 947 xalloc-die.$(OBJEXT) xstrndup.$(OBJEXT) get-errno.$(OBJEXT) \ |
| 948 subpipe.$(OBJEXT) $(am__objects_1) $(am__objects_2) \ |
| 949 - $(am__objects_3) |
| 950 + $(am__objects_3) \ |
| 951 + progname.$(OBJEXT) progreloc.$(OBJEXT) relocatable.$(OBJEXT) |
| 952 libbison_a_OBJECTS = $(am_libbison_a_OBJECTS) |
| 953 liby_a_AR = $(AR) $(ARFLAGS) |
| 954 liby_a_LIBADD = |
| 955 diff -ipuwr --binary --strip-trailing-cr -x '*.bak' -x '*.orig' -x '*.rej' -x '*
.new' -x '*~' -x debian -x '*.po' -x '*.pot' bison-2.4.1-orig/lib/config.hin bis
on-2.4.1-src/lib/config.hin |
| 956 --- bison-2.4.1-orig/lib/config.hin 2008-12-11 23:05:52.000000000 +0100 |
| 957 +++ bison-2.4.1-src/lib/config.hin 2008-12-14 13:00:12.984375000 +0100 |
| 958 @@ -551,3 +551,5 @@ |
| 959 |
| 960 /* Define as `fork' if `vfork' does not work. */ |
| 961 #undef vfork |
| 962 + |
| 963 +#include "confsys.h" |
| 964 diff -ipuwr --binary --strip-trailing-cr -x '*.bak' -x '*.orig' -x '*.rej' -x '*
.new' -x '*~' -x debian -x '*.po' -x '*.pot' bison-2.4.1-orig/lib/pipe-safer.c b
ison-2.4.1-src/lib/pipe-safer.c |
| 965 --- bison-2.4.1-orig/lib/pipe-safer.c 2008-11-03 20:07:17.000000000 +0100 |
| 966 +++ bison-2.4.1-src/lib/pipe-safer.c 2008-12-14 14:25:38.687500000 +0100 |
| 967 @@ -19,6 +19,7 @@ |
| 968 #include <config.h> |
| 969 |
| 970 #include "unistd-safer.h" |
| 971 +#include "subpipe.h" |
| 972 |
| 973 #include <unistd.h> |
| 974 #include <errno.h> |
| 975 diff -ipuwr --binary --strip-trailing-cr -x '*.bak' -x '*.orig' -x '*.rej' -x '*
.new' -x '*~' -x debian -x '*.po' -x '*.pot' bison-2.4.1-orig/lib/subpipe.c biso
n-2.4.1-src/lib/subpipe.c |
| 976 --- bison-2.4.1-orig/lib/subpipe.c 2008-11-03 19:54:12.000000000 +0100 |
| 977 +++ bison-2.4.1-src/lib/subpipe.c 2008-12-13 18:14:40.906250000 +0100 |
| 978 @@ -78,7 +78,6 @@ |
| 979 # define ATTRIBUTE_UNUSED __attribute__ ((__unused__)) |
| 980 #endif |
| 981 |
| 982 - |
| 983 /* Initialize this module. */ |
| 984 |
| 985 void |
| 986 @@ -114,6 +113,45 @@ create_subpipe (char const * const *argv |
| 987 fd[1] = pipe_fd[0]; |
| 988 child_fd[1] = pipe_fd[1]; |
| 989 |
| 990 +/* WIN32 patch taken from the Mingw port: |
| 991 + http://prdownloads.sourceforge.net/mingw/bison-1.875-2003.02.10-1-src.tar.bz
2?download |
| 992 +*/ |
| 993 +#ifdef _WIN32 |
| 994 + /* In windows we must control what the child inherits with the parent process |
| 995 + * and then use a spawn function instead of a fork/exec pair. |
| 996 + * |
| 997 + * So, in assigning the pipe pair we must dup stdio to save the originals, |
| 998 + * dup2 the pipe handles to the stdio handles, spawn and then dup2 the saved |
| 999 + * handles back to stdio and close the dupped ones. |
| 1000 + */ |
| 1001 + int osi, oso; |
| 1002 + |
| 1003 + if ((osi = dup (STDIN_FILENO)) < 0) |
| 1004 + error (EXIT_FAILURE, errno, "pipe"); |
| 1005 + setmode(osi, O_NOINHERIT); |
| 1006 + if ((oso = dup (STDOUT_FILENO)) < 0) |
| 1007 + error (EXIT_FAILURE, errno, "pipe"); |
| 1008 + setmode(oso, O_NOINHERIT); |
| 1009 + |
| 1010 + if (dup2(child_fd[0], STDIN_FILENO) < 0) |
| 1011 + error (EXIT_FAILURE, errno, "pipe"); |
| 1012 + if (dup2(child_fd[1], STDOUT_FILENO) < 0) |
| 1013 + error (EXIT_FAILURE, errno, "pipe"); |
| 1014 + |
| 1015 +#include <conio.h> |
| 1016 + pid = spawnvp(P_NOWAIT, argv[0], argv); |
| 1017 + if (pid < 0) { |
| 1018 + printf ("spawnvp: %s\n", argv[0]); |
| 1019 + error (EXIT_FAILURE, errno, argv[0]); |
| 1020 + } |
| 1021 + if (dup2 (osi, STDIN_FILENO)) |
| 1022 + error (EXIT_FAILURE, errno, "dup2"); |
| 1023 + close (osi); |
| 1024 + if (dup2 (oso, STDOUT_FILENO)) |
| 1025 + error (EXIT_FAILURE, errno, "dup2"); |
| 1026 + close (oso); |
| 1027 + |
| 1028 +#else |
| 1029 pid = vfork (); |
| 1030 if (pid < 0) |
| 1031 error (EXIT_FAILURE, errno, "fork"); |
| 1032 @@ -135,7 +173,7 @@ create_subpipe (char const * const *argv |
| 1033 |
| 1034 _exit (errno == ENOENT ? 127 : 126); |
| 1035 } |
| 1036 - |
| 1037 +#endif /* _WIN32 */ |
| 1038 /* Parent. */ |
| 1039 close (child_fd[0]); |
| 1040 close (child_fd[1]); |
| 1041 diff -ipuwr --binary --strip-trailing-cr -x '*.bak' -x '*.orig' -x '*.rej' -x '*
.new' -x '*~' -x debian -x '*.po' -x '*.pot' bison-2.4.1-orig/lib/subpipe.h biso
n-2.4.1-src/lib/subpipe.h |
| 1042 --- bison-2.4.1-orig/lib/subpipe.h 2008-11-03 19:54:12.000000000 +0100 |
| 1043 +++ bison-2.4.1-src/lib/subpipe.h 2008-12-13 18:14:41.000000000 +0100 |
| 1044 @@ -25,3 +25,8 @@ void init_subpipe (void); |
| 1045 pid_t create_subpipe (char const * const *, int[2]); |
| 1046 void end_of_output_subpipe (pid_t, int[2]); |
| 1047 void reap_subpipe (pid_t, char const *); |
| 1048 +#ifdef _WIN32 |
| 1049 +# include <io.h> |
| 1050 +# include <fcntl.h> |
| 1051 +# define pipe(a) _pipe((a), 0, O_NOINHERIT) |
| 1052 +#endif |
| 1053 diff -ipuwr --binary --strip-trailing-cr -x '*.bak' -x '*.orig' -x '*.rej' -x '*
.new' -x '*~' -x debian -x '*.po' -x '*.pot' bison-2.4.1-orig/src/Makefile.in bi
son-2.4.1-src/src/Makefile.in |
| 1054 --- bison-2.4.1-orig/src/Makefile.in 2008-12-11 23:05:55.000000000 +0100 |
| 1055 +++ bison-2.4.1-src/src/Makefile.in 2008-12-13 18:22:23.468750000 +0100 |
| 1056 @@ -110,7 +110,7 @@ am_bison_OBJECTS = LR0.$(OBJEXT) assoc.$ |
| 1057 relation.$(OBJEXT) scan-code-c.$(OBJEXT) scan-gram-c.$(OBJEXT) \ |
| 1058 scan-skel-c.$(OBJEXT) state.$(OBJEXT) symlist.$(OBJEXT) \ |
| 1059 symtab.$(OBJEXT) tables.$(OBJEXT) uniqstr.$(OBJEXT) \ |
| 1060 - graphviz.$(OBJEXT) |
| 1061 + graphviz.$(OBJEXT) bison-res.$(OBJEXT) |
| 1062 bison_OBJECTS = $(am_bison_OBJECTS) |
| 1063 bison_LDADD = $(LDADD) |
| 1064 am__DEPENDENCIES_1 = |
| 1065 @@ -367,7 +367,7 @@ LOCALCHARSET_TESTS_ENVIRONMENT = @LOCALC |
| 1066 LTLIBICONV = @LTLIBICONV@ |
| 1067 LTLIBINTL = @LTLIBINTL@ |
| 1068 LTLIBOBJS = @LTLIBOBJS@ |
| 1069 -M4 = @M4@ |
| 1070 +M4 = m4.exe |
| 1071 MAKEINFO = @MAKEINFO@ |
| 1072 MKDIR_P = @MKDIR_P@ |
| 1073 MSGFMT = @MSGFMT@ |
| 1074 @@ -430,6 +430,9 @@ UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAV |
| 1075 USE_NLS = @USE_NLS@ |
| 1076 VALGRIND = @VALGRIND@ |
| 1077 VERSION = @VERSION@ |
| 1078 +MAJOR=$(shell echo $(VERSION) | sed -e "s/\..*$$//") |
| 1079 +MINOR=$(shell echo $(VERSION) | sed -e "s/^[^\.]*\.0*\([0-9]\+\).*$$/\1/") |
| 1080 +LDFLAGS += -Wl,--major-image-version=$(MAJOR) -Wl,--minor-image-version=$(MINOR
) |
| 1081 VOID_UNSETENV = @VOID_UNSETENV@ |
| 1082 WARN_CFLAGS = @WARN_CFLAGS@ |
| 1083 WARN_CXXFLAGS = @WARN_CXXFLAGS@ |
| 1084 @@ -508,7 +511,7 @@ top_srcdir = @top_srcdir@ |
| 1085 AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS) |
| 1086 AM_CPPFLAGS = -I$(top_srcdir)/lib |
| 1087 AM_YFLAGS = "-dv" |
| 1088 -LDADD = ../lib/libbison.a $(LIBINTL) |
| 1089 +LDADD = ../lib/libbison.a $(LIBINTL) $(VERSADD) |
| 1090 bin_SCRIPTS = $(YACC_SCRIPT) |
| 1091 EXTRA_SCRIPTS = yacc |
| 1092 bison_SOURCES = \ |
| 1093 @@ -558,7 +561,7 @@ all: $(BUILT_SOURCES) |
| 1094 $(MAKE) $(AM_MAKEFLAGS) all-am |
| 1095 |
| 1096 .SUFFIXES: |
| 1097 -.SUFFIXES: .c .l .o .obj .y |
| 1098 +.SUFFIXES: .c .l .o .obj .y .rc |
| 1099 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) |
| 1100 @for dep in $?; do \ |
| 1101 case '$(am__configure_deps)' in \ |
| 1102 @@ -706,6 +709,12 @@ distclean-compile: |
| 1103 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tables.Po@am__quote@ |
| 1104 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/uniqstr.Po@am__quote@ |
| 1105 |
| 1106 +# Rule to make compiled resource (Windows) |
| 1107 +resdir = @top_builddir@/resource |
| 1108 +vpath %-res.rc $(resdir) |
| 1109 +%-res.o: %-res.rc |
| 1110 + windres --include-dir $(resdir) -i $< -o $@ |
| 1111 + |
| 1112 .c.o: |
| 1113 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@
$< |
| 1114 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po |
| 1115 diff -ipuwr --binary --strip-trailing-cr -x '*.bak' -x '*.orig' -x '*.rej' -x '*
.new' -x '*~' -x debian -x '*.po' -x '*.pot' bison-2.4.1-orig/src/getargs.c biso
n-2.4.1-src/src/getargs.c |
| 1116 --- bison-2.4.1-orig/src/getargs.c 2008-11-19 17:57:30.000000000 +0100 |
| 1117 +++ bison-2.4.1-src/src/getargs.c 2008-12-14 13:02:51.015625000 +0100 |
| 1118 @@ -76,8 +76,6 @@ int language_prio = default_prio; |
| 1119 struct bison_language const *language = &valid_languages[0]; |
| 1120 const char *include = NULL; |
| 1121 |
| 1122 -char *program_name; |
| 1123 - |
| 1124 |
| 1125 /** Decode an option's set of keys. |
| 1126 * |
| 1127 diff -ipuwr --binary --strip-trailing-cr -x '*.bak' -x '*.orig' -x '*.rej' -x '*
.new' -x '*~' -x debian -x '*.po' -x '*.pot' bison-2.4.1-orig/src/getargs.h biso
n-2.4.1-src/src/getargs.h |
| 1128 --- bison-2.4.1-orig/src/getargs.h 2008-11-19 17:57:30.000000000 +0100 |
| 1129 +++ bison-2.4.1-src/src/getargs.h 2008-12-14 13:02:13.437500000 +0100 |
| 1130 @@ -23,7 +23,7 @@ |
| 1131 |
| 1132 #include "location.h" |
| 1133 |
| 1134 -extern char *program_name; |
| 1135 +#include "progname.h" |
| 1136 enum { command_line_prio, grammar_prio, default_prio }; |
| 1137 |
| 1138 /* flags set by % directives */ |
| 1139 diff -ipuwr --binary --strip-trailing-cr -x '*.bak' -x '*.orig' -x '*.rej' -x '*
.new' -x '*~' -x debian -x '*.po' -x '*.pot' bison-2.4.1-orig/src/main.c bison-2
.4.1-src/src/main.c |
| 1140 --- bison-2.4.1-orig/src/main.c 2008-11-19 17:57:30.000000000 +0100 |
| 1141 +++ bison-2.4.1-src/src/main.c 2008-12-14 13:03:00.234375000 +0100 |
| 1142 @@ -55,7 +55,7 @@ |
| 1143 int |
| 1144 main (int argc, char *argv[]) |
| 1145 { |
| 1146 - program_name = argv[0]; |
| 1147 + set_program_name (argv[0]); |
| 1148 setlocale (LC_ALL, ""); |
| 1149 (void) bindtextdomain (PACKAGE, LOCALEDIR); |
| 1150 (void) bindtextdomain ("bison-runtime", LOCALEDIR); |
| 1151 diff -ipuwr --binary --strip-trailing-cr -x '*.bak' -x '*.orig' -x '*.rej' -x '*
.new' -x '*~' -x debian -x '*.po' -x '*.pot' bison-2.4.1-orig/src/output.c bison
-2.4.1-src/src/output.c |
| 1152 --- bison-2.4.1-orig/src/output.c 2008-11-19 17:57:30.000000000 +0100 |
| 1153 +++ bison-2.4.1-src/src/output.c 2008-12-14 12:49:25.203125000 +0100 |
| 1154 @@ -39,6 +39,7 @@ |
| 1155 #include "scan-skel.h" |
| 1156 #include "symtab.h" |
| 1157 #include "tables.h" |
| 1158 +#include <relocatable.h> |
| 1159 |
| 1160 |
| 1161 static struct obstack format_obstack; |
| 1162 @@ -672,5 +673,5 @@ char const * |
| 1163 compute_pkgdatadir (void) |
| 1164 { |
| 1165 char const *pkgdatadir = getenv ("BISON_PKGDATADIR"); |
| 1166 - return pkgdatadir ? pkgdatadir : PKGDATADIR; |
| 1167 + return pkgdatadir ? pkgdatadir : relocate (PKGDATADIR); |
| 1168 } |
| 1169 diff -ipuwr --binary --strip-trailing-cr -x '*.bak' -x '*.orig' -x '*.rej' -x '*
.new' -x '*~' -x debian -x '*.po' -x '*.pot' bison-2.4.1-orig/tests/Makefile.in
bison-2.4.1-src/tests/Makefile.in |
| 1170 --- bison-2.4.1-orig/tests/Makefile.in 2008-12-11 23:05:55.000000000 +0100 |
| 1171 +++ bison-2.4.1-src/tests/Makefile.in 2008-12-14 22:46:56.578125000 +0100 |
| 1172 @@ -514,7 +514,7 @@ $(top_srcdir)/configure: $(am__configur |
| 1173 $(ACLOCAL_M4): $(am__aclocal_m4_deps) |
| 1174 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh |
| 1175 atlocal: $(top_builddir)/config.status $(srcdir)/atlocal.in |
| 1176 - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ |
| 1177 + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ && sed -i.or
ig -e 's/\\\"\$$(/$$/g;s/)\\\"//g' $(subdir)/$@ |
| 1178 bison: $(top_builddir)/config.status $(srcdir)/bison.in |
| 1179 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ |
| 1180 tags: TAGS |
| 1181 @@ -661,7 +661,7 @@ $(srcdir)/package.m4: $(top_srcdir)/conf |
| 1182 } >$(srcdir)/package.m4 |
| 1183 $(TESTSUITE): package.m4 $(TESTSUITE_AT) |
| 1184 $(AUTOTEST) -I $(srcdir) testsuite.at -o $@.tmp |
| 1185 - mv $@.tmp $@ |
| 1186 + sed -e "s/diff -u/diff -u --strip-trailing-cr/g" $@.tmp > $@ |
| 1187 |
| 1188 atconfig: $(top_builddir)/config.status |
| 1189 cd $(top_builddir) && ./config.status tests/$@ |
| 1190 diff -ipuwr --binary --strip-trailing-cr -x '*.bak' -x '*.orig' -x '*.rej' -x '*
.new' -x '*~' -x debian -x '*.po' -x '*.pot' bison-2.4.1-orig/tests/atlocal.in b
ison-2.4.1-src/tests/atlocal.in |
| 1191 --- bison-2.4.1-orig/tests/atlocal.in 2008-12-11 22:01:35.000000000 +0100 |
| 1192 +++ bison-2.4.1-src/tests/atlocal.in 2008-12-14 21:29:01.171875000 +0100 |
| 1193 @@ -4,6 +4,13 @@ |
| 1194 # Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free |
| 1195 # Software Foundation, Inc. |
| 1196 |
| 1197 +EXEEXT='@EXEEXT@' |
| 1198 +exec_prefix='@exec_prefix@' |
| 1199 +bindir='@bindir@' |
| 1200 +prefix='@prefix@' |
| 1201 +buildlibdir=$(cygpath -m $abs_top_builddir/lib) |
| 1202 +srclibdir=$(cygpath -m $abs_top_srcdir/lib) |
| 1203 + |
| 1204 # We need a C compiler. |
| 1205 CC='@CC@' |
| 1206 |
| 1207 @@ -11,7 +18,7 @@ CC='@CC@' |
| 1208 CFLAGS='@O0CFLAGS@ @WARN_CFLAGS@ @WERROR_CFLAGS@' |
| 1209 |
| 1210 # We need `config.h'. |
| 1211 -CPPFLAGS="-I$abs_top_builddir/lib @CPPFLAGS@" |
| 1212 +CPPFLAGS="-I$buildlibdir -I$srclibdir @CPPFLAGS@" |
| 1213 |
| 1214 # Is the compiler GCC? |
| 1215 GCC='@GCC@' |
| 1216 @@ -29,7 +36,7 @@ CXXFLAGS='@O0CXXFLAGS@ @WARN_CXXFLAGS@ @ |
| 1217 LDFLAGS='@LDFLAGS@' |
| 1218 |
| 1219 # Are special libraries needed? |
| 1220 -LIBS='@LIBS@ @INTLLIBS@' |
| 1221 +LIBS="@LIBS@ @INTLLIBS@ $buildlibdir/libbison.a" |
| 1222 |
| 1223 # Empty if no javac was found |
| 1224 CONF_JAVAC='@CONF_JAVAC@' |
| 1225 diff -ipuwr --binary --strip-trailing-cr -x '*.bak' -x '*.orig' -x '*.rej' -x '*
.new' -x '*~' -x debian -x '*.po' -x '*.pot' bison-2.4.1-orig/tests/bison.in bis
on-2.4.1-src/tests/bison.in |
| 1226 --- bison-2.4.1-orig/tests/bison.in 2008-07-14 11:56:12.000000000 +0200 |
| 1227 +++ bison-2.4.1-src/tests/bison.in 2008-12-13 18:14:41.109375000 +0100 |
| 1228 @@ -3,6 +3,6 @@ |
| 1229 # Wrapper around a non installed bison to make it work as an installed one. |
| 1230 |
| 1231 # Use the shipped files, not those installed. |
| 1232 -BISON_PKGDATADIR='@abs_top_srcdir@/data' |
| 1233 +BISON_PKGDATADIR=$(cygpath -m '@abs_top_srcdir@/data') |
| 1234 export BISON_PKGDATADIR |
| 1235 -exec $PREBISON '@abs_top_builddir@/src/bison' ${1+"$@"} |
| 1236 +exec $PREBISON $(cygpath -m '@abs_top_builddir@/src/bison') ${1+"$@"} |
| 1237 diff -ipuwr --binary --strip-trailing-cr -x '*.bak' -x '*.orig' -x '*.rej' -x '*
.new' -x '*~' -x debian -x '*.po' -x '*.pot' bison-2.4.1-orig/tests/calc.at biso
n-2.4.1-src/tests/calc.at |
| 1238 --- bison-2.4.1-orig/tests/calc.at 2008-11-19 17:57:30.000000000 +0100 |
| 1239 +++ bison-2.4.1-src/tests/calc.at 2008-12-14 23:06:11.296875000 +0100 |
| 1240 @@ -186,7 +186,7 @@ extern FILE *input;]AT_SKEL_CC_IF([[ |
| 1241 %code { |
| 1242 #include <stdlib.h> |
| 1243 #include <string.h> |
| 1244 -#if HAVE_UNISTD_H |
| 1245 +#if HAVE_UNISTD_H && !_WIN32 |
| 1246 # include <unistd.h> |
| 1247 #else |
| 1248 # undef alarm |
| 1249 @@ -500,7 +500,7 @@ _AT_CHECK_CALC_ERROR([$1], [1], |
| 1250 [20], |
| 1251 [2.1: syntax error, unexpected '+']) |
| 1252 # Exercise error messages with EOF: work on an empty file. |
| 1253 -_AT_CHECK_CALC_ERROR([$1], [1], [/dev/null], [4], |
| 1254 +_AT_CHECK_CALC_ERROR([$1], [1], [NUL], [4], |
| 1255 [1.1: syntax error, unexpected end of input]) |
| 1256 |
| 1257 # Exercise the error token: without it, we die at the first error, |
| 1258 diff -ipuwr --binary --strip-trailing-cr -x '*.bak' -x '*.orig' -x '*.rej' -x '*
.new' -x '*~' -x debian -x '*.po' -x '*.pot' bison-2.4.1-orig/tests/testsuite bi
son-2.4.1-src/tests/testsuite |
| 1259 --- bison-2.4.1-orig/tests/testsuite 2008-12-11 23:07:46.000000000 +0100 |
| 1260 +++ bison-2.4.1-src/tests/testsuite 2009-05-04 21:39:11.562500000 +0200 |
| 1261 @@ -1,5 +1,5 @@ |
| 1262 #! /bin/sh |
| 1263 -# Generated from local.at by GNU Autoconf 2.62. |
| 1264 +# Generated from ../../bison-2.4.1-src/tests/local.at by GNU Autoconf 2.63. |
| 1265 # |
| 1266 # Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 |
| 1267 # Free Software Foundation, Inc. |
| 1268 @@ -470,7 +470,8 @@ test \$exitcode = 0") || { |
| 1269 s/-\n.*// |
| 1270 ' >$as_me.lineno && |
| 1271 chmod +x "$as_me.lineno" || |
| 1272 - { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX
shell" >&2 |
| 1273 + { { $as_echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun wit
h a POSIX shell" >&5 |
| 1274 +$as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell"
>&2;} |
| 1275 { (exit 1); exit 1; }; } |
| 1276 |
| 1277 # Don't try to exec as it changes $[0], causing all sort of problems |
| 1278 @@ -868,17 +869,27 @@ at_help_all="1;input.at:27;Invalid \$n a |
| 1279 240;push.at:155;Push Parsing: Unsupported Skeletons;; |
| 1280 " |
| 1281 |
| 1282 -# at_func_validate_ranges [N...] |
| 1283 -# ------------------------------ |
| 1284 -# validate test group ranges |
| 1285 +# at_func_validate_ranges [NAME...] |
| 1286 +# --------------------------------- |
| 1287 +# Validate and normalize the test group number contained in each |
| 1288 +# variable NAME. Leading zeroes are treated as decimal. |
| 1289 at_func_validate_ranges () |
| 1290 { |
| 1291 for at_grp |
| 1292 do |
| 1293 - if test $at_grp -lt 1 || test $at_grp -gt 240; then |
| 1294 - $as_echo "invalid test group: $at_grp" >&2 |
| 1295 + eval at_value=\$$at_grp |
| 1296 + if test $at_value -lt 1 || test $at_value -gt 240; then |
| 1297 + $as_echo "invalid test group: $at_value" >&2 |
| 1298 exit 1 |
| 1299 fi |
| 1300 + case $at_value in |
| 1301 + 0*) # We want to treat leading 0 as decimal, like expr and test, but |
| 1302 + # at_func_arith treats it as octal if it uses $(( )). |
| 1303 + # With XSI shells, ${at_value#${at_value%%[1-9]*}} avoids the |
| 1304 + # expr fork, but it is not worth the effort to determine if the |
| 1305 + # shell supports XSI when the user can just avoid leading 0. |
| 1306 + eval $at_grp='`expr $at_value + 0`' ;; |
| 1307 + esac |
| 1308 done |
| 1309 } |
| 1310 |
| 1311 @@ -933,14 +944,14 @@ do |
| 1312 ;; |
| 1313 |
| 1314 [0-9] | [0-9][0-9] | [0-9][0-9][0-9] | [0-9][0-9][0-9][0-9]) |
| 1315 - at_func_validate_ranges $at_option |
| 1316 + at_func_validate_ranges at_option |
| 1317 at_groups="$at_groups$at_option " |
| 1318 ;; |
| 1319 |
| 1320 # Ranges |
| 1321 [0-9]- | [0-9][0-9]- | [0-9][0-9][0-9]- | [0-9][0-9][0-9][0-9]-) |
| 1322 at_range_start=`echo $at_option |tr -d X-` |
| 1323 - at_func_validate_ranges $at_range_start |
| 1324 + at_func_validate_ranges at_range_start |
| 1325 at_range=`$as_echo " $at_groups_all " | \ |
| 1326 sed -e 's/^.* \('$at_range_start' \)/\1/'` |
| 1327 at_groups="$at_groups$at_range " |
| 1328 @@ -948,7 +959,7 @@ do |
| 1329 |
| 1330 -[0-9] | -[0-9][0-9] | -[0-9][0-9][0-9] | -[0-9][0-9][0-9][0-9]) |
| 1331 at_range_end=`echo $at_option |tr -d X-` |
| 1332 - at_func_validate_ranges $at_range_end |
| 1333 + at_func_validate_ranges at_range_end |
| 1334 at_range=`$as_echo " $at_groups_all " | \ |
| 1335 sed -e 's/\( '$at_range_end'\) .*$/\1/'` |
| 1336 at_groups="$at_groups$at_range " |
| 1337 @@ -967,7 +978,7 @@ do |
| 1338 at_range_end=$at_range_start |
| 1339 at_range_start=$at_tmp |
| 1340 fi |
| 1341 - at_func_validate_ranges $at_range_start $at_range_end |
| 1342 + at_func_validate_ranges at_range_start at_range_end |
| 1343 at_range=`$as_echo " $at_groups_all " | \ |
| 1344 sed -e 's/^.*\( '$at_range_start' \)/\1/' \ |
| 1345 -e 's/\( '$at_range_end'\) .*$/\1/'` |
| 1346 @@ -1019,7 +1030,8 @@ do |
| 1347 # Reject names that are not valid shell variable names. |
| 1348 case $at_envvar in |
| 1349 '' | [0-9]* | *[!_$as_cr_alnum]* ) |
| 1350 - { $as_echo "$as_me: error: invalid variable name: $at_envvar" >&2 |
| 1351 + { { $as_echo "$as_me:$LINENO: error: invalid variable name: $at_envv
ar" >&5 |
| 1352 +$as_echo "$as_me: error: invalid variable name: $at_envvar" >&2;} |
| 1353 { (exit 1); exit 1; }; } ;; |
| 1354 esac |
| 1355 at_value=`$as_echo "$at_optarg" | sed "s/'/'\\\\\\\\''/g"` |
| 1356 @@ -1037,7 +1049,8 @@ done |
| 1357 |
| 1358 # Verify our last option didn't require an argument |
| 1359 if test -n "$at_prev"; then |
| 1360 - { $as_echo "$as_me: error: \`$at_prev' requires an argument." >&2 |
| 1361 + { { $as_echo "$as_me:$LINENO: error: \`$at_prev' requires an argument." >&5 |
| 1362 +$as_echo "$as_me: error: \`$at_prev' requires an argument." >&2;} |
| 1363 { (exit 1); exit 1; }; } |
| 1364 fi |
| 1365 |
| 1366 @@ -1223,7 +1236,8 @@ if $at_change_dir ; then |
| 1367 at_dir=./- |
| 1368 fi |
| 1369 test x != "x$at_dir" && cd "$at_dir" \ |
| 1370 - || { $as_echo "$as_me: error: unable to change directory" >&2 |
| 1371 + || { { $as_echo "$as_me:$LINENO: error: unable to change directory" >&5 |
| 1372 +$as_echo "$as_me: error: unable to change directory" >&2;} |
| 1373 { (exit 1); exit 1; }; } |
| 1374 at_dir=`pwd` |
| 1375 fi |
| 1376 @@ -1232,7 +1246,8 @@ fi |
| 1377 for at_file in atconfig atlocal |
| 1378 do |
| 1379 test -r $at_file || continue |
| 1380 - . ./$at_file || { $as_echo "$as_me: error: invalid content: $at_file" >&2 |
| 1381 + . ./$at_file || { { $as_echo "$as_me:$LINENO: error: invalid content: $at_fil
e" >&5 |
| 1382 +$as_echo "$as_me: error: invalid content: $at_file" >&2;} |
| 1383 { (exit 1); exit 1; }; } |
| 1384 done |
| 1385 |
| 1386 @@ -1258,23 +1273,45 @@ if test -n "$at_top_srcdir"; then |
| 1387 done |
| 1388 fi |
| 1389 |
| 1390 +## ------------------- ## |
| 1391 +## Directory structure ## |
| 1392 +## ------------------- ## |
| 1393 + |
| 1394 +# This is the set of directories and files used by this script |
| 1395 +# (non-literals are capitalized): |
| 1396 +# |
| 1397 +# TESTSUITE - the testsuite |
| 1398 +# TESTSUITE.log - summarizes the complete testsuite run |
| 1399 +# TESTSUITE.dir/ - created during a run, remains after -d or failed test |
| 1400 +# + at-groups/ - during a run: status of all groups in run |
| 1401 +# | + NNN/ - during a run: meta-data about test group NNN |
| 1402 +# | | + check-line - location (source file and line) of current AT_CHECK |
| 1403 +# | | + status - exit status of current AT_CHECK |
| 1404 +# | | + stdout - stdout of current AT_CHECK |
| 1405 +# | | + stder1 - stderr, including trace |
| 1406 +# | | + stderr - stderr, with trace filtered out |
| 1407 +# | | + test-source - portion of testsuite that defines group |
| 1408 +# | | + times - timestamps for computing duration |
| 1409 +# | | + pass - created if group passed |
| 1410 +# | | + xpass - created if group xpassed |
| 1411 +# | | + fail - created if group failed |
| 1412 +# | | + xfail - created if group xfailed |
| 1413 +# | | + skip - created if group skipped |
| 1414 +# + at-stop - during a run: end the run if this file exists |
| 1415 +# + at-source-lines - during a run: cache of TESTSUITE line numbers for extract
ion |
| 1416 +# + 0..NNN/ - created for each group NNN, remains after -d or failed te
st |
| 1417 +# | + TESTSUITE.log - summarizes the group results |
| 1418 +# | + ... - files created during the group |
| 1419 + |
| 1420 # The directory the whole suite works in. |
| 1421 # Should be absolute to let the user `cd' at will. |
| 1422 at_suite_dir=$at_dir/$as_me.dir |
| 1423 # The file containing the suite. |
| 1424 at_suite_log=$at_dir/$as_me.log |
| 1425 -# The file containing the location of the last AT_CHECK. |
| 1426 -at_check_line_file=$at_suite_dir/at-check-line |
| 1427 -# The file containing the exit status of the last command. |
| 1428 -at_status_file=$at_suite_dir/at-status |
| 1429 -# The files containing the output of the tested commands. |
| 1430 -at_stdout=$at_suite_dir/at-stdout |
| 1431 -at_stder1=$at_suite_dir/at-stder1 |
| 1432 -at_stderr=$at_suite_dir/at-stderr |
| 1433 -# The file containing the function to run a test group. |
| 1434 -at_test_source=$at_suite_dir/at-test-source |
| 1435 -# The file containing dates. |
| 1436 -at_times_file=$at_suite_dir/at-times |
| 1437 +# The directory containing helper files per test group. |
| 1438 +at_helper_dir=$at_suite_dir/at-groups |
| 1439 +# Stop file: if it exists, do not start new jobs. |
| 1440 +at_stop_file=$at_suite_dir/at-stop |
| 1441 |
| 1442 if $at_clean; then |
| 1443 test -d "$at_suite_dir" && |
| 1444 @@ -1346,7 +1383,6 @@ export PATH |
| 1445 |
| 1446 # Setting up the FDs. |
| 1447 # 5 is the log file. Not to be overwritten if `-d'. |
| 1448 - |
| 1449 if $at_debug_p; then |
| 1450 at_suite_log=/dev/null |
| 1451 else |
| 1452 @@ -1559,7 +1595,8 @@ at_func_create_debugging_script () |
| 1453 |
| 1454 # at_func_arith |
| 1455 # ------------- |
| 1456 -# Arithmetic evaluation, avoids expr if the shell is sane. |
| 1457 +# Arithmetic evaluation, avoids expr if the shell is sane. The |
| 1458 +# interpretation of leading zeroes is unspecified. |
| 1459 # |
| 1460 # subshell and eval are needed to keep Solaris sh from bailing out: |
| 1461 if ( eval 'test $(( 1 + 1 )) = 2' ) 2>/dev/null; then |
| 1462 @@ -1624,12 +1661,6 @@ _ASBOX |
| 1463 at_start_date=`date` |
| 1464 at_start_time=`date +%s 2>/dev/null` |
| 1465 $as_echo "$as_me: starting at: $at_start_date" >&5 |
| 1466 -at_xpass_list= |
| 1467 -at_xfail_list= |
| 1468 -at_pass_list= |
| 1469 -at_fail_list= |
| 1470 -at_skip_list= |
| 1471 -at_group_count=0 |
| 1472 |
| 1473 # Create the master directory if it doesn't already exist. |
| 1474 test -d "$at_suite_dir" || |
| 1475 @@ -1646,10 +1677,10 @@ else |
| 1476 >"$at_devnull" |
| 1477 fi |
| 1478 |
| 1479 -# Use `diff -u' when possible. |
| 1480 -if at_diff=`diff -u "$at_devnull" "$at_devnull" 2>&1` && test -z "$at_diff" |
| 1481 +# Use `diff -u --strip-trailing-cr' when possible. |
| 1482 +if at_diff=`diff -u --strip-trailing-cr "$at_devnull" "$at_devnull" 2>&1` && te
st -z "$at_diff" |
| 1483 then |
| 1484 - at_diff='diff -u' |
| 1485 + at_diff='diff -u --strip-trailing-cr' |
| 1486 else |
| 1487 at_diff=diff |
| 1488 fi |
| 1489 @@ -1668,23 +1699,51 @@ BEGIN { FS="" } |
| 1490 test = substr ($ 0, 10) |
| 1491 print "at_sed" test "=\"1," start "d;" (NR-1) "q\"" |
| 1492 if (test == "'"$at_group"'") exit |
| 1493 -}' "$at_myself" > "$at_test_source" && |
| 1494 -. "$at_test_source" || |
| 1495 +}' "$at_myself" > "$at_suite_dir/at-source-lines" && |
| 1496 +. "$at_suite_dir/at-source-lines" || |
| 1497 { { $as_echo "$as_me:$LINENO: error: cannot create test line number cache" >&
5 |
| 1498 $as_echo "$as_me: error: cannot create test line number cache" >&2;} |
| 1499 { (exit 1); exit 1; }; } |
| 1500 +rm -f "$at_suite_dir/at-source-lines" |
| 1501 |
| 1502 +# Set up helper dirs. |
| 1503 +rm -rf "$at_helper_dir" && |
| 1504 +mkdir "$at_helper_dir" && |
| 1505 +cd "$at_helper_dir" && |
| 1506 +{ test -z "$at_groups" || mkdir $at_groups; } || |
| 1507 +{ { $as_echo "$as_me:$LINENO: error: testsuite directory setup failed" >&5 |
| 1508 +$as_echo "$as_me: error: testsuite directory setup failed" >&2;} |
| 1509 + { (exit 1); exit 1; }; } |
| 1510 + |
| 1511 +# Functions for running a test group. We leave the actual |
| 1512 +# test group execution outside of a shell function in order |
| 1513 +# to avoid hitting zsh 4.x exit status bugs. |
| 1514 + |
| 1515 +# at_func_group_prepare |
| 1516 +# --------------------- |
| 1517 +# Prepare running a test group |
| 1518 +at_func_group_prepare () |
| 1519 +{ |
| 1520 + # The directory for additional per-group helper files. |
| 1521 + at_job_dir=$at_helper_dir/$at_group |
| 1522 + # The file containing the location of the last AT_CHECK. |
| 1523 + at_check_line_file=$at_job_dir/check-line |
| 1524 + # The file containing the exit status of the last command. |
| 1525 + at_status_file=$at_job_dir/status |
| 1526 + # The files containing the output of the tested commands. |
| 1527 + at_stdout=$at_job_dir/stdout |
| 1528 + at_stder1=$at_job_dir/stder1 |
| 1529 + at_stderr=$at_job_dir/stderr |
| 1530 + # The file containing the code for a test group. |
| 1531 + at_test_source=$at_job_dir/test-source |
| 1532 + # The file containing dates. |
| 1533 + at_times_file=$at_job_dir/times |
| 1534 |
| 1535 -## ------------ ## |
| 1536 -## Driver loop. ## |
| 1537 -## ------------ ## |
| 1538 -for at_group in $at_groups |
| 1539 -do |
| 1540 # Be sure to come back to the top test directory. |
| 1541 cd "$at_suite_dir" |
| 1542 |
| 1543 # Clearly separate the test groups when verbose. |
| 1544 - test $at_group_count != 0 && $at_verbose echo |
| 1545 + $at_first || $at_verbose echo |
| 1546 |
| 1547 at_group_normalized=$at_group |
| 1548 |
| 1549 @@ -1702,8 +1761,8 @@ do |
| 1550 if test -d "$at_group_dir"; then |
| 1551 find "$at_group_dir" -type d ! -perm -700 -exec chmod u+rwx \{\} \; |
| 1552 rm -fr "$at_group_dir" || |
| 1553 - { $as_echo "$as_me:$LINENO: WARNING: test directory could not be cleaned.
" >&5 |
| 1554 -$as_echo "$as_me: WARNING: test directory could not be cleaned." >&2;} |
| 1555 + { $as_echo "$as_me:$LINENO: WARNING: test directory for $at_group_normalize
d could not be cleaned." >&5 |
| 1556 +$as_echo "$as_me: WARNING: test directory for $at_group_normalized could not be
cleaned." >&2;} |
| 1557 fi |
| 1558 # Be tolerant if the above `rm' was not able to remove the directory. |
| 1559 { as_dir="$at_group_dir" |
| 1560 @@ -1747,23 +1806,22 @@ $as_echo X"$as_dir" | |
| 1561 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create
directory $as_dir" >&5 |
| 1562 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;} |
| 1563 { (exit 1); exit 1; }; }; } |
| 1564 - cd "$at_group_dir" |
| 1565 |
| 1566 echo 0 > "$at_status_file" |
| 1567 |
| 1568 # In verbose mode, append to the log file *and* show on |
| 1569 - # the standard output; in quiet mode only write to the log |
| 1570 + # the standard output; in quiet mode only write to the log. |
| 1571 if test -z "$at_verbose"; then |
| 1572 at_tee_pipe='tee -a "$at_group_log"' |
| 1573 else |
| 1574 at_tee_pipe='cat >> "$at_group_log"' |
| 1575 fi |
| 1576 +} |
| 1577 |
| 1578 - if at_func_test $at_group && . "$at_test_source"; then :; else |
| 1579 - $as_echo "$as_me: unable to parse test group: $at_group" >&2 |
| 1580 - at_failed=: |
| 1581 - fi |
| 1582 - |
| 1583 +# at_func_group_postprocess |
| 1584 +# ------------------------- |
| 1585 +at_func_group_postprocess () |
| 1586 +{ |
| 1587 # Be sure to come back to the suite directory, in particular |
| 1588 # since below we might `rm' the group directory we are in currently. |
| 1589 cd "$at_suite_dir" |
| 1590 @@ -1776,37 +1834,36 @@ $as_echo "$as_me: error: cannot create d |
| 1591 _ATEOF |
| 1592 $as_echo "$at_setup_line" >"$at_check_line_file" |
| 1593 fi |
| 1594 - at_func_arith 1 + $at_group_count |
| 1595 - at_group_count=$at_func_arith_result |
| 1596 $at_verbose $as_echo_n "$at_group. $at_setup_line: " |
| 1597 $as_echo_n "$at_group. $at_setup_line: " >> "$at_group_log" |
| 1598 case $at_xfail:$at_status in |
| 1599 yes:0) |
| 1600 at_msg="UNEXPECTED PASS" |
| 1601 - at_xpass_list="$at_xpass_list $at_group" |
| 1602 + at_res=xpass |
| 1603 at_errexit=$at_errexit_p |
| 1604 ;; |
| 1605 no:0) |
| 1606 at_msg="ok" |
| 1607 - at_pass_list="$at_pass_list $at_group" |
| 1608 + at_res=pass |
| 1609 at_errexit=false |
| 1610 ;; |
| 1611 *:77) |
| 1612 at_msg='skipped ('`cat "$at_check_line_file"`')' |
| 1613 - at_skip_list="$at_skip_list $at_group" |
| 1614 + at_res=skip |
| 1615 at_errexit=false |
| 1616 ;; |
| 1617 yes:*) |
| 1618 at_msg='expected failure ('`cat "$at_check_line_file"`')' |
| 1619 - at_xfail_list="$at_xfail_list $at_group" |
| 1620 + at_res=xfail |
| 1621 at_errexit=false |
| 1622 ;; |
| 1623 no:*) |
| 1624 at_msg='FAILED ('`cat "$at_check_line_file"`')' |
| 1625 - at_fail_list="$at_fail_list $at_group" |
| 1626 + at_res=fail |
| 1627 at_errexit=$at_errexit_p |
| 1628 ;; |
| 1629 esac |
| 1630 + echo "$at_res" > "$at_job_dir/$at_res" |
| 1631 # Make sure there is a separator even with long titles. |
| 1632 $as_echo " $at_msg" |
| 1633 at_log_msg="$at_group. $at_desc ($at_setup_line): $at_msg" |
| 1634 @@ -1840,16 +1897,67 @@ _ATEOF |
| 1635 # is later included in the global log. |
| 1636 $as_echo "$at_log_msg" >> "$at_group_log" |
| 1637 |
| 1638 - # Upon failure, keep the group directory for autopsy, and |
| 1639 - # create the debugging script. |
| 1640 + # Upon failure, keep the group directory for autopsy, and create |
| 1641 + # the debugging script. With -e, do not start any further tests. |
| 1642 at_func_create_debugging_script |
| 1643 - $at_errexit && break |
| 1644 + if $at_errexit; then |
| 1645 + echo stop > "$at_stop_file" |
| 1646 + fi |
| 1647 ;; |
| 1648 esac |
| 1649 +} |
| 1650 + |
| 1651 + |
| 1652 +## ------------ ## |
| 1653 +## Driver loop. ## |
| 1654 +## ------------ ## |
| 1655 + |
| 1656 +rm -f "$at_stop_file" |
| 1657 +at_first=: |
| 1658 + |
| 1659 +for at_group in $at_groups; do |
| 1660 + at_func_group_prepare |
| 1661 + if cd "$at_group_dir" && |
| 1662 + at_func_test $at_group && |
| 1663 + . "$at_test_source"; then :; else |
| 1664 + { $as_echo "$as_me:$LINENO: WARNING: unable to parse test group: $at_group"
>&5 |
| 1665 +$as_echo "$as_me: WARNING: unable to parse test group: $at_group" >&2;} |
| 1666 + at_failed=: |
| 1667 + fi |
| 1668 + at_func_group_postprocess |
| 1669 + test -f "$at_stop_file" && break |
| 1670 + at_first=false |
| 1671 done |
| 1672 |
| 1673 +# Wrap up the test suite with summary statistics. |
| 1674 +cd "$at_helper_dir" |
| 1675 + |
| 1676 +# Use ?..???? when the list must remain sorted, the faster * otherwise. |
| 1677 +at_pass_list=`for f in */pass; do echo $f; done | sed '/\*/d; s,/pass,,'` |
| 1678 +at_skip_list=`for f in */skip; do echo $f; done | sed '/\*/d; s,/skip,,'` |
| 1679 +at_xfail_list=`for f in */xfail; do echo $f; done | sed '/\*/d; s,/xfail,,'` |
| 1680 +at_xpass_list=`for f in ?/xpass ??/xpass ???/xpass ????/xpass; do |
| 1681 + echo $f; done | sed '/?/d; s,/xpass,,'` |
| 1682 +at_fail_list=`for f in ?/fail ??/fail ???/fail ????/fail; do |
| 1683 + echo $f; done | sed '/?/d; s,/fail,,'` |
| 1684 + |
| 1685 +set X $at_pass_list $at_xpass_list $at_xfail_list $at_fail_list $at_skip_list |
| 1686 +shift; at_group_count=$# |
| 1687 +set X $at_xpass_list; shift; at_xpass_count=$#; at_xpass_list=$* |
| 1688 +set X $at_xfail_list; shift; at_xfail_count=$# |
| 1689 +set X $at_fail_list; shift; at_fail_count=$#; at_fail_list=$* |
| 1690 +set X $at_skip_list; shift; at_skip_count=$# |
| 1691 + |
| 1692 +at_func_arith $at_group_count - $at_skip_count |
| 1693 +at_run_count=$at_func_arith_result |
| 1694 +at_func_arith $at_xpass_count + $at_fail_count |
| 1695 +at_unexpected_count=$at_func_arith_result |
| 1696 +at_func_arith $at_xfail_count + $at_fail_count |
| 1697 +at_total_fail_count=$at_func_arith_result |
| 1698 + |
| 1699 # Back to the top directory. |
| 1700 cd "$at_dir" |
| 1701 +rm -rf "$at_helper_dir" |
| 1702 |
| 1703 # Compute the duration of the suite. |
| 1704 at_stop_date=`date` |
| 1705 @@ -1872,19 +1980,6 @@ case $at_start_time,$at_stop_time in |
| 1706 ;; |
| 1707 esac |
| 1708 |
| 1709 -# Wrap up the test suite with summary statistics. |
| 1710 -set X $at_skip_list; shift; at_skip_count=$# |
| 1711 -set X $at_fail_list; shift; at_fail_count=$# |
| 1712 -set X $at_xpass_list; shift; at_xpass_count=$# |
| 1713 -set X $at_xfail_list; shift; at_xfail_count=$# |
| 1714 - |
| 1715 -at_func_arith $at_group_count - $at_skip_count |
| 1716 -at_run_count=$at_func_arith_result |
| 1717 -at_func_arith $at_xpass_count + $at_fail_count |
| 1718 -at_unexpected_count=$at_func_arith_result |
| 1719 -at_func_arith $at_xfail_count + $at_fail_count |
| 1720 -at_total_fail_count=$at_func_arith_result |
| 1721 - |
| 1722 echo |
| 1723 cat <<\_ASBOX |
| 1724 ## ------------- ## |
| 1725 @@ -30931,7 +31026,7 @@ extern FILE *input; |
| 1726 %code { |
| 1727 #include <stdlib.h> |
| 1728 #include <string.h> |
| 1729 -#if HAVE_UNISTD_H |
| 1730 +#if HAVE_UNISTD_H && !_WIN32 |
| 1731 # include <unistd.h> |
| 1732 #else |
| 1733 # undef alarm |
| 1734 @@ -31718,16 +31813,20 @@ $at_traceon; } |
| 1735 |
| 1736 |
| 1737 # Exercise error messages with EOF: work on an empty file. |
| 1738 +cat >input <<'_ATEOF' |
| 1739 +NUL |
| 1740 +_ATEOF |
| 1741 + |
| 1742 { $at_traceoff |
| 1743 -$as_echo "$at_srcdir/calc.at:569: \$PREPARSER ./calc /dev/null" |
| 1744 +$as_echo "$at_srcdir/calc.at:569: \$PREPARSER ./calc input" |
| 1745 echo calc.at:569 >"$at_check_line_file" |
| 1746 |
| 1747 if test -n "$at_traceon" \ |
| 1748 - && at_func_check_newline " $PREPARSER ./calc /dev/null"; then |
| 1749 - ( $at_traceon; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stder1" |
| 1750 + && at_func_check_newline " $PREPARSER ./calc input"; then |
| 1751 + ( $at_traceon; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stder1" |
| 1752 at_func_filter_trace $? |
| 1753 else |
| 1754 - ( :; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stderr" |
| 1755 + ( :; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stderr" |
| 1756 fi |
| 1757 at_status=$? |
| 1758 at_failed=false |
| 1759 @@ -32239,7 +32338,7 @@ extern FILE *input; |
| 1760 %code { |
| 1761 #include <stdlib.h> |
| 1762 #include <string.h> |
| 1763 -#if HAVE_UNISTD_H |
| 1764 +#if HAVE_UNISTD_H && !_WIN32 |
| 1765 # include <unistd.h> |
| 1766 #else |
| 1767 # undef alarm |
| 1768 @@ -33037,16 +33136,20 @@ $at_traceon; } |
| 1769 |
| 1770 |
| 1771 # Exercise error messages with EOF: work on an empty file. |
| 1772 +cat >input <<'_ATEOF' |
| 1773 +NUL |
| 1774 +_ATEOF |
| 1775 + |
| 1776 { $at_traceoff |
| 1777 -$as_echo "$at_srcdir/calc.at:571: \$PREPARSER ./calc /dev/null" |
| 1778 +$as_echo "$at_srcdir/calc.at:571: \$PREPARSER ./calc input" |
| 1779 echo calc.at:571 >"$at_check_line_file" |
| 1780 |
| 1781 if test -n "$at_traceon" \ |
| 1782 - && at_func_check_newline " $PREPARSER ./calc /dev/null"; then |
| 1783 - ( $at_traceon; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stder1" |
| 1784 + && at_func_check_newline " $PREPARSER ./calc input"; then |
| 1785 + ( $at_traceon; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stder1" |
| 1786 at_func_filter_trace $? |
| 1787 else |
| 1788 - ( :; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stderr" |
| 1789 + ( :; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stderr" |
| 1790 fi |
| 1791 at_status=$? |
| 1792 at_failed=false |
| 1793 @@ -33558,7 +33661,7 @@ extern FILE *input; |
| 1794 %code { |
| 1795 #include <stdlib.h> |
| 1796 #include <string.h> |
| 1797 -#if HAVE_UNISTD_H |
| 1798 +#if HAVE_UNISTD_H && !_WIN32 |
| 1799 # include <unistd.h> |
| 1800 #else |
| 1801 # undef alarm |
| 1802 @@ -34371,16 +34474,20 @@ $at_traceon; } |
| 1803 |
| 1804 |
| 1805 # Exercise error messages with EOF: work on an empty file. |
| 1806 +cat >input <<'_ATEOF' |
| 1807 +NUL |
| 1808 +_ATEOF |
| 1809 + |
| 1810 { $at_traceoff |
| 1811 -$as_echo "$at_srcdir/calc.at:572: \$PREPARSER ./calc /dev/null" |
| 1812 +$as_echo "$at_srcdir/calc.at:572: \$PREPARSER ./calc input" |
| 1813 echo calc.at:572 >"$at_check_line_file" |
| 1814 |
| 1815 if test -n "$at_traceon" \ |
| 1816 - && at_func_check_newline " $PREPARSER ./calc /dev/null"; then |
| 1817 - ( $at_traceon; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stder1" |
| 1818 + && at_func_check_newline " $PREPARSER ./calc input"; then |
| 1819 + ( $at_traceon; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stder1" |
| 1820 at_func_filter_trace $? |
| 1821 else |
| 1822 - ( :; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stderr" |
| 1823 + ( :; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stderr" |
| 1824 fi |
| 1825 at_status=$? |
| 1826 at_failed=false |
| 1827 @@ -34887,7 +34994,7 @@ extern FILE *input; |
| 1828 %code { |
| 1829 #include <stdlib.h> |
| 1830 #include <string.h> |
| 1831 -#if HAVE_UNISTD_H |
| 1832 +#if HAVE_UNISTD_H && !_WIN32 |
| 1833 # include <unistd.h> |
| 1834 #else |
| 1835 # undef alarm |
| 1836 @@ -35674,16 +35781,20 @@ $at_traceon; } |
| 1837 |
| 1838 |
| 1839 # Exercise error messages with EOF: work on an empty file. |
| 1840 +cat >input <<'_ATEOF' |
| 1841 +NUL |
| 1842 +_ATEOF |
| 1843 + |
| 1844 { $at_traceoff |
| 1845 -$as_echo "$at_srcdir/calc.at:573: \$PREPARSER ./calc /dev/null" |
| 1846 +$as_echo "$at_srcdir/calc.at:573: \$PREPARSER ./calc input" |
| 1847 echo calc.at:573 >"$at_check_line_file" |
| 1848 |
| 1849 if test -n "$at_traceon" \ |
| 1850 - && at_func_check_newline " $PREPARSER ./calc /dev/null"; then |
| 1851 - ( $at_traceon; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stder1" |
| 1852 + && at_func_check_newline " $PREPARSER ./calc input"; then |
| 1853 + ( $at_traceon; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stder1" |
| 1854 at_func_filter_trace $? |
| 1855 else |
| 1856 - ( :; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stderr" |
| 1857 + ( :; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stderr" |
| 1858 fi |
| 1859 at_status=$? |
| 1860 at_failed=false |
| 1861 @@ -36195,7 +36306,7 @@ extern FILE *input; |
| 1862 %code { |
| 1863 #include <stdlib.h> |
| 1864 #include <string.h> |
| 1865 -#if HAVE_UNISTD_H |
| 1866 +#if HAVE_UNISTD_H && !_WIN32 |
| 1867 # include <unistd.h> |
| 1868 #else |
| 1869 # undef alarm |
| 1870 @@ -36982,16 +37093,20 @@ $at_traceon; } |
| 1871 |
| 1872 |
| 1873 # Exercise error messages with EOF: work on an empty file. |
| 1874 +cat >input <<'_ATEOF' |
| 1875 +NUL |
| 1876 +_ATEOF |
| 1877 + |
| 1878 { $at_traceoff |
| 1879 -$as_echo "$at_srcdir/calc.at:574: \$PREPARSER ./calc /dev/null" |
| 1880 +$as_echo "$at_srcdir/calc.at:574: \$PREPARSER ./calc input" |
| 1881 echo calc.at:574 >"$at_check_line_file" |
| 1882 |
| 1883 if test -n "$at_traceon" \ |
| 1884 - && at_func_check_newline " $PREPARSER ./calc /dev/null"; then |
| 1885 - ( $at_traceon; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stder1" |
| 1886 + && at_func_check_newline " $PREPARSER ./calc input"; then |
| 1887 + ( $at_traceon; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stder1" |
| 1888 at_func_filter_trace $? |
| 1889 else |
| 1890 - ( :; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stderr" |
| 1891 + ( :; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stderr" |
| 1892 fi |
| 1893 at_status=$? |
| 1894 at_failed=false |
| 1895 @@ -37503,7 +37618,7 @@ extern FILE *input; |
| 1896 %code { |
| 1897 #include <stdlib.h> |
| 1898 #include <string.h> |
| 1899 -#if HAVE_UNISTD_H |
| 1900 +#if HAVE_UNISTD_H && !_WIN32 |
| 1901 # include <unistd.h> |
| 1902 #else |
| 1903 # undef alarm |
| 1904 @@ -38290,16 +38405,20 @@ $at_traceon; } |
| 1905 |
| 1906 |
| 1907 # Exercise error messages with EOF: work on an empty file. |
| 1908 +cat >input <<'_ATEOF' |
| 1909 +NUL |
| 1910 +_ATEOF |
| 1911 + |
| 1912 { $at_traceoff |
| 1913 -$as_echo "$at_srcdir/calc.at:575: \$PREPARSER ./calc /dev/null" |
| 1914 +$as_echo "$at_srcdir/calc.at:575: \$PREPARSER ./calc input" |
| 1915 echo calc.at:575 >"$at_check_line_file" |
| 1916 |
| 1917 if test -n "$at_traceon" \ |
| 1918 - && at_func_check_newline " $PREPARSER ./calc /dev/null"; then |
| 1919 - ( $at_traceon; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stder1" |
| 1920 + && at_func_check_newline " $PREPARSER ./calc input"; then |
| 1921 + ( $at_traceon; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stder1" |
| 1922 at_func_filter_trace $? |
| 1923 else |
| 1924 - ( :; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stderr" |
| 1925 + ( :; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stderr" |
| 1926 fi |
| 1927 at_status=$? |
| 1928 at_failed=false |
| 1929 @@ -38811,7 +38930,7 @@ extern FILE *input; |
| 1930 %code { |
| 1931 #include <stdlib.h> |
| 1932 #include <string.h> |
| 1933 -#if HAVE_UNISTD_H |
| 1934 +#if HAVE_UNISTD_H && !_WIN32 |
| 1935 # include <unistd.h> |
| 1936 #else |
| 1937 # undef alarm |
| 1938 @@ -39593,16 +39712,20 @@ $at_traceon; } |
| 1939 |
| 1940 |
| 1941 # Exercise error messages with EOF: work on an empty file. |
| 1942 +cat >input <<'_ATEOF' |
| 1943 +NUL |
| 1944 +_ATEOF |
| 1945 + |
| 1946 { $at_traceoff |
| 1947 -$as_echo "$at_srcdir/calc.at:576: \$PREPARSER ./calc /dev/null" |
| 1948 +$as_echo "$at_srcdir/calc.at:576: \$PREPARSER ./calc input" |
| 1949 echo calc.at:576 >"$at_check_line_file" |
| 1950 |
| 1951 if test -n "$at_traceon" \ |
| 1952 - && at_func_check_newline " $PREPARSER ./calc /dev/null"; then |
| 1953 - ( $at_traceon; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stder1" |
| 1954 + && at_func_check_newline " $PREPARSER ./calc input"; then |
| 1955 + ( $at_traceon; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stder1" |
| 1956 at_func_filter_trace $? |
| 1957 else |
| 1958 - ( :; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stderr" |
| 1959 + ( :; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stderr" |
| 1960 fi |
| 1961 at_status=$? |
| 1962 at_failed=false |
| 1963 @@ -40109,7 +40232,7 @@ extern FILE *input; |
| 1964 %code { |
| 1965 #include <stdlib.h> |
| 1966 #include <string.h> |
| 1967 -#if HAVE_UNISTD_H |
| 1968 +#if HAVE_UNISTD_H && !_WIN32 |
| 1969 # include <unistd.h> |
| 1970 #else |
| 1971 # undef alarm |
| 1972 @@ -40918,16 +41041,20 @@ $at_traceon; } |
| 1973 |
| 1974 |
| 1975 # Exercise error messages with EOF: work on an empty file. |
| 1976 +cat >input <<'_ATEOF' |
| 1977 +NUL |
| 1978 +_ATEOF |
| 1979 + |
| 1980 { $at_traceoff |
| 1981 -$as_echo "$at_srcdir/calc.at:578: \$PREPARSER ./calc /dev/null" |
| 1982 +$as_echo "$at_srcdir/calc.at:578: \$PREPARSER ./calc input" |
| 1983 echo calc.at:578 >"$at_check_line_file" |
| 1984 |
| 1985 if test -n "$at_traceon" \ |
| 1986 - && at_func_check_newline " $PREPARSER ./calc /dev/null"; then |
| 1987 - ( $at_traceon; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stder1" |
| 1988 + && at_func_check_newline " $PREPARSER ./calc input"; then |
| 1989 + ( $at_traceon; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stder1" |
| 1990 at_func_filter_trace $? |
| 1991 else |
| 1992 - ( :; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stderr" |
| 1993 + ( :; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stderr" |
| 1994 fi |
| 1995 at_status=$? |
| 1996 at_failed=false |
| 1997 @@ -41439,7 +41566,7 @@ extern FILE *input; |
| 1998 %code { |
| 1999 #include <stdlib.h> |
| 2000 #include <string.h> |
| 2001 -#if HAVE_UNISTD_H |
| 2002 +#if HAVE_UNISTD_H && !_WIN32 |
| 2003 # include <unistd.h> |
| 2004 #else |
| 2005 # undef alarm |
| 2006 @@ -42248,16 +42375,20 @@ $at_traceon; } |
| 2007 |
| 2008 |
| 2009 # Exercise error messages with EOF: work on an empty file. |
| 2010 +cat >input <<'_ATEOF' |
| 2011 +NUL |
| 2012 +_ATEOF |
| 2013 + |
| 2014 { $at_traceoff |
| 2015 -$as_echo "$at_srcdir/calc.at:579: \$PREPARSER ./calc /dev/null" |
| 2016 +$as_echo "$at_srcdir/calc.at:579: \$PREPARSER ./calc input" |
| 2017 echo calc.at:579 >"$at_check_line_file" |
| 2018 |
| 2019 if test -n "$at_traceon" \ |
| 2020 - && at_func_check_newline " $PREPARSER ./calc /dev/null"; then |
| 2021 - ( $at_traceon; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stder1" |
| 2022 + && at_func_check_newline " $PREPARSER ./calc input"; then |
| 2023 + ( $at_traceon; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stder1" |
| 2024 at_func_filter_trace $? |
| 2025 else |
| 2026 - ( :; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stderr" |
| 2027 + ( :; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stderr" |
| 2028 fi |
| 2029 at_status=$? |
| 2030 at_failed=false |
| 2031 @@ -42769,7 +42900,7 @@ extern FILE *input; |
| 2032 %code { |
| 2033 #include <stdlib.h> |
| 2034 #include <string.h> |
| 2035 -#if HAVE_UNISTD_H |
| 2036 +#if HAVE_UNISTD_H && !_WIN32 |
| 2037 # include <unistd.h> |
| 2038 #else |
| 2039 # undef alarm |
| 2040 @@ -43577,16 +43708,20 @@ $at_traceon; } |
| 2041 |
| 2042 |
| 2043 # Exercise error messages with EOF: work on an empty file. |
| 2044 +cat >input <<'_ATEOF' |
| 2045 +NUL |
| 2046 +_ATEOF |
| 2047 + |
| 2048 { $at_traceoff |
| 2049 -$as_echo "$at_srcdir/calc.at:580: \$PREPARSER ./calc /dev/null" |
| 2050 +$as_echo "$at_srcdir/calc.at:580: \$PREPARSER ./calc input" |
| 2051 echo calc.at:580 >"$at_check_line_file" |
| 2052 |
| 2053 if test -n "$at_traceon" \ |
| 2054 - && at_func_check_newline " $PREPARSER ./calc /dev/null"; then |
| 2055 - ( $at_traceon; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stder1" |
| 2056 + && at_func_check_newline " $PREPARSER ./calc input"; then |
| 2057 + ( $at_traceon; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stder1" |
| 2058 at_func_filter_trace $? |
| 2059 else |
| 2060 - ( :; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stderr" |
| 2061 + ( :; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stderr" |
| 2062 fi |
| 2063 at_status=$? |
| 2064 at_failed=false |
| 2065 @@ -44088,7 +44223,7 @@ extern FILE *input; |
| 2066 %code { |
| 2067 #include <stdlib.h> |
| 2068 #include <string.h> |
| 2069 -#if HAVE_UNISTD_H |
| 2070 +#if HAVE_UNISTD_H && !_WIN32 |
| 2071 # include <unistd.h> |
| 2072 #else |
| 2073 # undef alarm |
| 2074 @@ -44907,16 +45042,20 @@ $at_traceon; } |
| 2075 |
| 2076 |
| 2077 # Exercise error messages with EOF: work on an empty file. |
| 2078 +cat >input <<'_ATEOF' |
| 2079 +NUL |
| 2080 +_ATEOF |
| 2081 + |
| 2082 { $at_traceoff |
| 2083 -$as_echo "$at_srcdir/calc.at:582: \$PREPARSER ./calc /dev/null" |
| 2084 +$as_echo "$at_srcdir/calc.at:582: \$PREPARSER ./calc input" |
| 2085 echo calc.at:582 >"$at_check_line_file" |
| 2086 |
| 2087 if test -n "$at_traceon" \ |
| 2088 - && at_func_check_newline " $PREPARSER ./calc /dev/null"; then |
| 2089 - ( $at_traceon; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stder1" |
| 2090 + && at_func_check_newline " $PREPARSER ./calc input"; then |
| 2091 + ( $at_traceon; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stder1" |
| 2092 at_func_filter_trace $? |
| 2093 else |
| 2094 - ( :; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stderr" |
| 2095 + ( :; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stderr" |
| 2096 fi |
| 2097 at_status=$? |
| 2098 at_failed=false |
| 2099 @@ -45418,7 +45557,7 @@ extern FILE *input; |
| 2100 %code { |
| 2101 #include <stdlib.h> |
| 2102 #include <string.h> |
| 2103 -#if HAVE_UNISTD_H |
| 2104 +#if HAVE_UNISTD_H && !_WIN32 |
| 2105 # include <unistd.h> |
| 2106 #else |
| 2107 # undef alarm |
| 2108 @@ -46205,16 +46344,20 @@ $at_traceon; } |
| 2109 |
| 2110 |
| 2111 # Exercise error messages with EOF: work on an empty file. |
| 2112 +cat >input <<'_ATEOF' |
| 2113 +NUL |
| 2114 +_ATEOF |
| 2115 + |
| 2116 { $at_traceoff |
| 2117 -$as_echo "$at_srcdir/calc.at:584: \$PREPARSER ./calc /dev/null" |
| 2118 +$as_echo "$at_srcdir/calc.at:584: \$PREPARSER ./calc input" |
| 2119 echo calc.at:584 >"$at_check_line_file" |
| 2120 |
| 2121 if test -n "$at_traceon" \ |
| 2122 - && at_func_check_newline " $PREPARSER ./calc /dev/null"; then |
| 2123 - ( $at_traceon; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stder1" |
| 2124 + && at_func_check_newline " $PREPARSER ./calc input"; then |
| 2125 + ( $at_traceon; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stder1" |
| 2126 at_func_filter_trace $? |
| 2127 else |
| 2128 - ( :; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stderr" |
| 2129 + ( :; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stderr" |
| 2130 fi |
| 2131 at_status=$? |
| 2132 at_failed=false |
| 2133 @@ -46726,7 +46869,7 @@ extern FILE *input; |
| 2134 %code { |
| 2135 #include <stdlib.h> |
| 2136 #include <string.h> |
| 2137 -#if HAVE_UNISTD_H |
| 2138 +#if HAVE_UNISTD_H && !_WIN32 |
| 2139 # include <unistd.h> |
| 2140 #else |
| 2141 # undef alarm |
| 2142 @@ -47545,16 +47688,20 @@ $at_traceon; } |
| 2143 |
| 2144 |
| 2145 # Exercise error messages with EOF: work on an empty file. |
| 2146 +cat >input <<'_ATEOF' |
| 2147 +NUL |
| 2148 +_ATEOF |
| 2149 + |
| 2150 { $at_traceoff |
| 2151 -$as_echo "$at_srcdir/calc.at:585: \$PREPARSER ./calc /dev/null" |
| 2152 +$as_echo "$at_srcdir/calc.at:585: \$PREPARSER ./calc input" |
| 2153 echo calc.at:585 >"$at_check_line_file" |
| 2154 |
| 2155 if test -n "$at_traceon" \ |
| 2156 - && at_func_check_newline " $PREPARSER ./calc /dev/null"; then |
| 2157 - ( $at_traceon; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stder1" |
| 2158 + && at_func_check_newline " $PREPARSER ./calc input"; then |
| 2159 + ( $at_traceon; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stder1" |
| 2160 at_func_filter_trace $? |
| 2161 else |
| 2162 - ( :; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stderr" |
| 2163 + ( :; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stderr" |
| 2164 fi |
| 2165 at_status=$? |
| 2166 at_failed=false |
| 2167 @@ -48056,7 +48203,7 @@ extern FILE *input; |
| 2168 %code { |
| 2169 #include <stdlib.h> |
| 2170 #include <string.h> |
| 2171 -#if HAVE_UNISTD_H |
| 2172 +#if HAVE_UNISTD_H && !_WIN32 |
| 2173 # include <unistd.h> |
| 2174 #else |
| 2175 # undef alarm |
| 2176 @@ -48871,16 +49018,20 @@ $at_traceon; } |
| 2177 |
| 2178 |
| 2179 # Exercise error messages with EOF: work on an empty file. |
| 2180 +cat >input <<'_ATEOF' |
| 2181 +NUL |
| 2182 +_ATEOF |
| 2183 + |
| 2184 { $at_traceoff |
| 2185 -$as_echo "$at_srcdir/calc.at:587: \$PREPARSER ./calc /dev/null" |
| 2186 +$as_echo "$at_srcdir/calc.at:587: \$PREPARSER ./calc input" |
| 2187 echo calc.at:587 >"$at_check_line_file" |
| 2188 |
| 2189 if test -n "$at_traceon" \ |
| 2190 - && at_func_check_newline " $PREPARSER ./calc /dev/null"; then |
| 2191 - ( $at_traceon; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stder1" |
| 2192 + && at_func_check_newline " $PREPARSER ./calc input"; then |
| 2193 + ( $at_traceon; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stder1" |
| 2194 at_func_filter_trace $? |
| 2195 else |
| 2196 - ( :; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stderr" |
| 2197 + ( :; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stderr" |
| 2198 fi |
| 2199 at_status=$? |
| 2200 at_failed=false |
| 2201 @@ -49387,7 +49538,7 @@ extern FILE *input; |
| 2202 %code { |
| 2203 #include <stdlib.h> |
| 2204 #include <string.h> |
| 2205 -#if HAVE_UNISTD_H |
| 2206 +#if HAVE_UNISTD_H && !_WIN32 |
| 2207 # include <unistd.h> |
| 2208 #else |
| 2209 # undef alarm |
| 2210 @@ -50202,16 +50353,20 @@ $at_traceon; } |
| 2211 |
| 2212 |
| 2213 # Exercise error messages with EOF: work on an empty file. |
| 2214 +cat >input <<'_ATEOF' |
| 2215 +NUL |
| 2216 +_ATEOF |
| 2217 + |
| 2218 { $at_traceoff |
| 2219 -$as_echo "$at_srcdir/calc.at:588: \$PREPARSER ./calc /dev/null" |
| 2220 +$as_echo "$at_srcdir/calc.at:588: \$PREPARSER ./calc input" |
| 2221 echo calc.at:588 >"$at_check_line_file" |
| 2222 |
| 2223 if test -n "$at_traceon" \ |
| 2224 - && at_func_check_newline " $PREPARSER ./calc /dev/null"; then |
| 2225 - ( $at_traceon; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stder1" |
| 2226 + && at_func_check_newline " $PREPARSER ./calc input"; then |
| 2227 + ( $at_traceon; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stder1" |
| 2228 at_func_filter_trace $? |
| 2229 else |
| 2230 - ( :; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stderr" |
| 2231 + ( :; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stderr" |
| 2232 fi |
| 2233 at_status=$? |
| 2234 at_failed=false |
| 2235 @@ -50718,7 +50873,7 @@ extern FILE *input; |
| 2236 %code { |
| 2237 #include <stdlib.h> |
| 2238 #include <string.h> |
| 2239 -#if HAVE_UNISTD_H |
| 2240 +#if HAVE_UNISTD_H && !_WIN32 |
| 2241 # include <unistd.h> |
| 2242 #else |
| 2243 # undef alarm |
| 2244 @@ -51537,16 +51692,20 @@ $at_traceon; } |
| 2245 |
| 2246 |
| 2247 # Exercise error messages with EOF: work on an empty file. |
| 2248 +cat >input <<'_ATEOF' |
| 2249 +NUL |
| 2250 +_ATEOF |
| 2251 + |
| 2252 { $at_traceoff |
| 2253 -$as_echo "$at_srcdir/calc.at:590: \$PREPARSER ./calc /dev/null" |
| 2254 +$as_echo "$at_srcdir/calc.at:590: \$PREPARSER ./calc input" |
| 2255 echo calc.at:590 >"$at_check_line_file" |
| 2256 |
| 2257 if test -n "$at_traceon" \ |
| 2258 - && at_func_check_newline " $PREPARSER ./calc /dev/null"; then |
| 2259 - ( $at_traceon; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stder1" |
| 2260 + && at_func_check_newline " $PREPARSER ./calc input"; then |
| 2261 + ( $at_traceon; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stder1" |
| 2262 at_func_filter_trace $? |
| 2263 else |
| 2264 - ( :; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stderr" |
| 2265 + ( :; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stderr" |
| 2266 fi |
| 2267 at_status=$? |
| 2268 at_failed=false |
| 2269 @@ -52048,7 +52207,7 @@ extern FILE *input; |
| 2270 %code { |
| 2271 #include <stdlib.h> |
| 2272 #include <string.h> |
| 2273 -#if HAVE_UNISTD_H |
| 2274 +#if HAVE_UNISTD_H && !_WIN32 |
| 2275 # include <unistd.h> |
| 2276 #else |
| 2277 # undef alarm |
| 2278 @@ -52835,16 +52994,20 @@ $at_traceon; } |
| 2279 |
| 2280 |
| 2281 # Exercise error messages with EOF: work on an empty file. |
| 2282 +cat >input <<'_ATEOF' |
| 2283 +NUL |
| 2284 +_ATEOF |
| 2285 + |
| 2286 { $at_traceoff |
| 2287 -$as_echo "$at_srcdir/calc.at:607: \$PREPARSER ./calc /dev/null" |
| 2288 +$as_echo "$at_srcdir/calc.at:607: \$PREPARSER ./calc input" |
| 2289 echo calc.at:607 >"$at_check_line_file" |
| 2290 |
| 2291 if test -n "$at_traceon" \ |
| 2292 - && at_func_check_newline " $PREPARSER ./calc /dev/null"; then |
| 2293 - ( $at_traceon; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stder1" |
| 2294 + && at_func_check_newline " $PREPARSER ./calc input"; then |
| 2295 + ( $at_traceon; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stder1" |
| 2296 at_func_filter_trace $? |
| 2297 else |
| 2298 - ( :; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stderr" |
| 2299 + ( :; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stderr" |
| 2300 fi |
| 2301 at_status=$? |
| 2302 at_failed=false |
| 2303 @@ -53356,7 +53519,7 @@ extern FILE *input; |
| 2304 %code { |
| 2305 #include <stdlib.h> |
| 2306 #include <string.h> |
| 2307 -#if HAVE_UNISTD_H |
| 2308 +#if HAVE_UNISTD_H && !_WIN32 |
| 2309 # include <unistd.h> |
| 2310 #else |
| 2311 # undef alarm |
| 2312 @@ -54154,16 +54317,20 @@ $at_traceon; } |
| 2313 |
| 2314 |
| 2315 # Exercise error messages with EOF: work on an empty file. |
| 2316 +cat >input <<'_ATEOF' |
| 2317 +NUL |
| 2318 +_ATEOF |
| 2319 + |
| 2320 { $at_traceoff |
| 2321 -$as_echo "$at_srcdir/calc.at:609: \$PREPARSER ./calc /dev/null" |
| 2322 +$as_echo "$at_srcdir/calc.at:609: \$PREPARSER ./calc input" |
| 2323 echo calc.at:609 >"$at_check_line_file" |
| 2324 |
| 2325 if test -n "$at_traceon" \ |
| 2326 - && at_func_check_newline " $PREPARSER ./calc /dev/null"; then |
| 2327 - ( $at_traceon; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stder1" |
| 2328 + && at_func_check_newline " $PREPARSER ./calc input"; then |
| 2329 + ( $at_traceon; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stder1" |
| 2330 at_func_filter_trace $? |
| 2331 else |
| 2332 - ( :; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stderr" |
| 2333 + ( :; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stderr" |
| 2334 fi |
| 2335 at_status=$? |
| 2336 at_failed=false |
| 2337 @@ -54675,7 +54842,7 @@ extern FILE *input; |
| 2338 %code { |
| 2339 #include <stdlib.h> |
| 2340 #include <string.h> |
| 2341 -#if HAVE_UNISTD_H |
| 2342 +#if HAVE_UNISTD_H && !_WIN32 |
| 2343 # include <unistd.h> |
| 2344 #else |
| 2345 # undef alarm |
| 2346 @@ -55488,16 +55655,20 @@ $at_traceon; } |
| 2347 |
| 2348 |
| 2349 # Exercise error messages with EOF: work on an empty file. |
| 2350 +cat >input <<'_ATEOF' |
| 2351 +NUL |
| 2352 +_ATEOF |
| 2353 + |
| 2354 { $at_traceoff |
| 2355 -$as_echo "$at_srcdir/calc.at:610: \$PREPARSER ./calc /dev/null" |
| 2356 +$as_echo "$at_srcdir/calc.at:610: \$PREPARSER ./calc input" |
| 2357 echo calc.at:610 >"$at_check_line_file" |
| 2358 |
| 2359 if test -n "$at_traceon" \ |
| 2360 - && at_func_check_newline " $PREPARSER ./calc /dev/null"; then |
| 2361 - ( $at_traceon; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stder1" |
| 2362 + && at_func_check_newline " $PREPARSER ./calc input"; then |
| 2363 + ( $at_traceon; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stder1" |
| 2364 at_func_filter_trace $? |
| 2365 else |
| 2366 - ( :; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stderr" |
| 2367 + ( :; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stderr" |
| 2368 fi |
| 2369 at_status=$? |
| 2370 at_failed=false |
| 2371 @@ -56004,7 +56175,7 @@ extern FILE *input; |
| 2372 %code { |
| 2373 #include <stdlib.h> |
| 2374 #include <string.h> |
| 2375 -#if HAVE_UNISTD_H |
| 2376 +#if HAVE_UNISTD_H && !_WIN32 |
| 2377 # include <unistd.h> |
| 2378 #else |
| 2379 # undef alarm |
| 2380 @@ -56791,16 +56962,20 @@ $at_traceon; } |
| 2381 |
| 2382 |
| 2383 # Exercise error messages with EOF: work on an empty file. |
| 2384 +cat >input <<'_ATEOF' |
| 2385 +NUL |
| 2386 +_ATEOF |
| 2387 + |
| 2388 { $at_traceoff |
| 2389 -$as_echo "$at_srcdir/calc.at:611: \$PREPARSER ./calc /dev/null" |
| 2390 +$as_echo "$at_srcdir/calc.at:611: \$PREPARSER ./calc input" |
| 2391 echo calc.at:611 >"$at_check_line_file" |
| 2392 |
| 2393 if test -n "$at_traceon" \ |
| 2394 - && at_func_check_newline " $PREPARSER ./calc /dev/null"; then |
| 2395 - ( $at_traceon; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stder1" |
| 2396 + && at_func_check_newline " $PREPARSER ./calc input"; then |
| 2397 + ( $at_traceon; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stder1" |
| 2398 at_func_filter_trace $? |
| 2399 else |
| 2400 - ( :; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stderr" |
| 2401 + ( :; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stderr" |
| 2402 fi |
| 2403 at_status=$? |
| 2404 at_failed=false |
| 2405 @@ -57312,7 +57487,7 @@ extern FILE *input; |
| 2406 %code { |
| 2407 #include <stdlib.h> |
| 2408 #include <string.h> |
| 2409 -#if HAVE_UNISTD_H |
| 2410 +#if HAVE_UNISTD_H && !_WIN32 |
| 2411 # include <unistd.h> |
| 2412 #else |
| 2413 # undef alarm |
| 2414 @@ -58099,16 +58274,20 @@ $at_traceon; } |
| 2415 |
| 2416 |
| 2417 # Exercise error messages with EOF: work on an empty file. |
| 2418 +cat >input <<'_ATEOF' |
| 2419 +NUL |
| 2420 +_ATEOF |
| 2421 + |
| 2422 { $at_traceoff |
| 2423 -$as_echo "$at_srcdir/calc.at:612: \$PREPARSER ./calc /dev/null" |
| 2424 +$as_echo "$at_srcdir/calc.at:612: \$PREPARSER ./calc input" |
| 2425 echo calc.at:612 >"$at_check_line_file" |
| 2426 |
| 2427 if test -n "$at_traceon" \ |
| 2428 - && at_func_check_newline " $PREPARSER ./calc /dev/null"; then |
| 2429 - ( $at_traceon; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stder1" |
| 2430 + && at_func_check_newline " $PREPARSER ./calc input"; then |
| 2431 + ( $at_traceon; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stder1" |
| 2432 at_func_filter_trace $? |
| 2433 else |
| 2434 - ( :; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stderr" |
| 2435 + ( :; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stderr" |
| 2436 fi |
| 2437 at_status=$? |
| 2438 at_failed=false |
| 2439 @@ -58620,7 +58799,7 @@ extern FILE *input; |
| 2440 %code { |
| 2441 #include <stdlib.h> |
| 2442 #include <string.h> |
| 2443 -#if HAVE_UNISTD_H |
| 2444 +#if HAVE_UNISTD_H && !_WIN32 |
| 2445 # include <unistd.h> |
| 2446 #else |
| 2447 # undef alarm |
| 2448 @@ -59407,16 +59586,20 @@ $at_traceon; } |
| 2449 |
| 2450 |
| 2451 # Exercise error messages with EOF: work on an empty file. |
| 2452 +cat >input <<'_ATEOF' |
| 2453 +NUL |
| 2454 +_ATEOF |
| 2455 + |
| 2456 { $at_traceoff |
| 2457 -$as_echo "$at_srcdir/calc.at:613: \$PREPARSER ./calc /dev/null" |
| 2458 +$as_echo "$at_srcdir/calc.at:613: \$PREPARSER ./calc input" |
| 2459 echo calc.at:613 >"$at_check_line_file" |
| 2460 |
| 2461 if test -n "$at_traceon" \ |
| 2462 - && at_func_check_newline " $PREPARSER ./calc /dev/null"; then |
| 2463 - ( $at_traceon; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stder1" |
| 2464 + && at_func_check_newline " $PREPARSER ./calc input"; then |
| 2465 + ( $at_traceon; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stder1" |
| 2466 at_func_filter_trace $? |
| 2467 else |
| 2468 - ( :; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stderr" |
| 2469 + ( :; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stderr" |
| 2470 fi |
| 2471 at_status=$? |
| 2472 at_failed=false |
| 2473 @@ -59928,7 +60111,7 @@ extern FILE *input; |
| 2474 %code { |
| 2475 #include <stdlib.h> |
| 2476 #include <string.h> |
| 2477 -#if HAVE_UNISTD_H |
| 2478 +#if HAVE_UNISTD_H && !_WIN32 |
| 2479 # include <unistd.h> |
| 2480 #else |
| 2481 # undef alarm |
| 2482 @@ -60710,16 +60893,20 @@ $at_traceon; } |
| 2483 |
| 2484 |
| 2485 # Exercise error messages with EOF: work on an empty file. |
| 2486 +cat >input <<'_ATEOF' |
| 2487 +NUL |
| 2488 +_ATEOF |
| 2489 + |
| 2490 { $at_traceoff |
| 2491 -$as_echo "$at_srcdir/calc.at:614: \$PREPARSER ./calc /dev/null" |
| 2492 +$as_echo "$at_srcdir/calc.at:614: \$PREPARSER ./calc input" |
| 2493 echo calc.at:614 >"$at_check_line_file" |
| 2494 |
| 2495 if test -n "$at_traceon" \ |
| 2496 - && at_func_check_newline " $PREPARSER ./calc /dev/null"; then |
| 2497 - ( $at_traceon; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stder1" |
| 2498 + && at_func_check_newline " $PREPARSER ./calc input"; then |
| 2499 + ( $at_traceon; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stder1" |
| 2500 at_func_filter_trace $? |
| 2501 else |
| 2502 - ( :; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stderr" |
| 2503 + ( :; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stderr" |
| 2504 fi |
| 2505 at_status=$? |
| 2506 at_failed=false |
| 2507 @@ -61226,7 +61413,7 @@ extern FILE *input; |
| 2508 %code { |
| 2509 #include <stdlib.h> |
| 2510 #include <string.h> |
| 2511 -#if HAVE_UNISTD_H |
| 2512 +#if HAVE_UNISTD_H && !_WIN32 |
| 2513 # include <unistd.h> |
| 2514 #else |
| 2515 # undef alarm |
| 2516 @@ -62039,16 +62226,20 @@ $at_traceon; } |
| 2517 |
| 2518 |
| 2519 # Exercise error messages with EOF: work on an empty file. |
| 2520 +cat >input <<'_ATEOF' |
| 2521 +NUL |
| 2522 +_ATEOF |
| 2523 + |
| 2524 { $at_traceoff |
| 2525 -$as_echo "$at_srcdir/calc.at:616: \$PREPARSER ./calc /dev/null" |
| 2526 +$as_echo "$at_srcdir/calc.at:616: \$PREPARSER ./calc input" |
| 2527 echo calc.at:616 >"$at_check_line_file" |
| 2528 |
| 2529 if test -n "$at_traceon" \ |
| 2530 - && at_func_check_newline " $PREPARSER ./calc /dev/null"; then |
| 2531 - ( $at_traceon; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stder1" |
| 2532 + && at_func_check_newline " $PREPARSER ./calc input"; then |
| 2533 + ( $at_traceon; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stder1" |
| 2534 at_func_filter_trace $? |
| 2535 else |
| 2536 - ( :; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stderr" |
| 2537 + ( :; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stderr" |
| 2538 fi |
| 2539 at_status=$? |
| 2540 at_failed=false |
| 2541 @@ -62555,7 +62746,7 @@ extern FILE *input; |
| 2542 %code { |
| 2543 #include <stdlib.h> |
| 2544 #include <string.h> |
| 2545 -#if HAVE_UNISTD_H |
| 2546 +#if HAVE_UNISTD_H && !_WIN32 |
| 2547 # include <unistd.h> |
| 2548 #else |
| 2549 # undef alarm |
| 2550 @@ -63363,16 +63554,20 @@ $at_traceon; } |
| 2551 |
| 2552 |
| 2553 # Exercise error messages with EOF: work on an empty file. |
| 2554 +cat >input <<'_ATEOF' |
| 2555 +NUL |
| 2556 +_ATEOF |
| 2557 + |
| 2558 { $at_traceoff |
| 2559 -$as_echo "$at_srcdir/calc.at:617: \$PREPARSER ./calc /dev/null" |
| 2560 +$as_echo "$at_srcdir/calc.at:617: \$PREPARSER ./calc input" |
| 2561 echo calc.at:617 >"$at_check_line_file" |
| 2562 |
| 2563 if test -n "$at_traceon" \ |
| 2564 - && at_func_check_newline " $PREPARSER ./calc /dev/null"; then |
| 2565 - ( $at_traceon; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stder1" |
| 2566 + && at_func_check_newline " $PREPARSER ./calc input"; then |
| 2567 + ( $at_traceon; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stder1" |
| 2568 at_func_filter_trace $? |
| 2569 else |
| 2570 - ( :; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stderr" |
| 2571 + ( :; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stderr" |
| 2572 fi |
| 2573 at_status=$? |
| 2574 at_failed=false |
| 2575 @@ -63874,7 +64069,7 @@ extern FILE *input; |
| 2576 %code { |
| 2577 #include <stdlib.h> |
| 2578 #include <string.h> |
| 2579 -#if HAVE_UNISTD_H |
| 2580 +#if HAVE_UNISTD_H && !_WIN32 |
| 2581 # include <unistd.h> |
| 2582 #else |
| 2583 # undef alarm |
| 2584 @@ -64693,16 +64888,20 @@ $at_traceon; } |
| 2585 |
| 2586 |
| 2587 # Exercise error messages with EOF: work on an empty file. |
| 2588 +cat >input <<'_ATEOF' |
| 2589 +NUL |
| 2590 +_ATEOF |
| 2591 + |
| 2592 { $at_traceoff |
| 2593 -$as_echo "$at_srcdir/calc.at:619: \$PREPARSER ./calc /dev/null" |
| 2594 +$as_echo "$at_srcdir/calc.at:619: \$PREPARSER ./calc input" |
| 2595 echo calc.at:619 >"$at_check_line_file" |
| 2596 |
| 2597 if test -n "$at_traceon" \ |
| 2598 - && at_func_check_newline " $PREPARSER ./calc /dev/null"; then |
| 2599 - ( $at_traceon; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stder1" |
| 2600 + && at_func_check_newline " $PREPARSER ./calc input"; then |
| 2601 + ( $at_traceon; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stder1" |
| 2602 at_func_filter_trace $? |
| 2603 else |
| 2604 - ( :; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stderr" |
| 2605 + ( :; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stderr" |
| 2606 fi |
| 2607 at_status=$? |
| 2608 at_failed=false |
| 2609 @@ -65204,7 +65403,7 @@ extern FILE *input; |
| 2610 %code { |
| 2611 #include <stdlib.h> |
| 2612 #include <string.h> |
| 2613 -#if HAVE_UNISTD_H |
| 2614 +#if HAVE_UNISTD_H && !_WIN32 |
| 2615 # include <unistd.h> |
| 2616 #else |
| 2617 # undef alarm |
| 2618 @@ -65991,16 +66190,20 @@ $at_traceon; } |
| 2619 |
| 2620 |
| 2621 # Exercise error messages with EOF: work on an empty file. |
| 2622 +cat >input <<'_ATEOF' |
| 2623 +NUL |
| 2624 +_ATEOF |
| 2625 + |
| 2626 { $at_traceoff |
| 2627 -$as_echo "$at_srcdir/calc.at:621: \$PREPARSER ./calc /dev/null" |
| 2628 +$as_echo "$at_srcdir/calc.at:621: \$PREPARSER ./calc input" |
| 2629 echo calc.at:621 >"$at_check_line_file" |
| 2630 |
| 2631 if test -n "$at_traceon" \ |
| 2632 - && at_func_check_newline " $PREPARSER ./calc /dev/null"; then |
| 2633 - ( $at_traceon; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stder1" |
| 2634 + && at_func_check_newline " $PREPARSER ./calc input"; then |
| 2635 + ( $at_traceon; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stder1" |
| 2636 at_func_filter_trace $? |
| 2637 else |
| 2638 - ( :; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stderr" |
| 2639 + ( :; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stderr" |
| 2640 fi |
| 2641 at_status=$? |
| 2642 at_failed=false |
| 2643 @@ -66512,7 +66715,7 @@ extern FILE *input; |
| 2644 %code { |
| 2645 #include <stdlib.h> |
| 2646 #include <string.h> |
| 2647 -#if HAVE_UNISTD_H |
| 2648 +#if HAVE_UNISTD_H && !_WIN32 |
| 2649 # include <unistd.h> |
| 2650 #else |
| 2651 # undef alarm |
| 2652 @@ -67331,16 +67534,20 @@ $at_traceon; } |
| 2653 |
| 2654 |
| 2655 # Exercise error messages with EOF: work on an empty file. |
| 2656 +cat >input <<'_ATEOF' |
| 2657 +NUL |
| 2658 +_ATEOF |
| 2659 + |
| 2660 { $at_traceoff |
| 2661 -$as_echo "$at_srcdir/calc.at:622: \$PREPARSER ./calc /dev/null" |
| 2662 +$as_echo "$at_srcdir/calc.at:622: \$PREPARSER ./calc input" |
| 2663 echo calc.at:622 >"$at_check_line_file" |
| 2664 |
| 2665 if test -n "$at_traceon" \ |
| 2666 - && at_func_check_newline " $PREPARSER ./calc /dev/null"; then |
| 2667 - ( $at_traceon; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stder1" |
| 2668 + && at_func_check_newline " $PREPARSER ./calc input"; then |
| 2669 + ( $at_traceon; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stder1" |
| 2670 at_func_filter_trace $? |
| 2671 else |
| 2672 - ( :; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stderr" |
| 2673 + ( :; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stderr" |
| 2674 fi |
| 2675 at_status=$? |
| 2676 at_failed=false |
| 2677 @@ -67842,7 +68049,7 @@ extern FILE *input; |
| 2678 %code { |
| 2679 #include <stdlib.h> |
| 2680 #include <string.h> |
| 2681 -#if HAVE_UNISTD_H |
| 2682 +#if HAVE_UNISTD_H && !_WIN32 |
| 2683 # include <unistd.h> |
| 2684 #else |
| 2685 # undef alarm |
| 2686 @@ -68661,16 +68868,20 @@ $at_traceon; } |
| 2687 |
| 2688 |
| 2689 # Exercise error messages with EOF: work on an empty file. |
| 2690 +cat >input <<'_ATEOF' |
| 2691 +NUL |
| 2692 +_ATEOF |
| 2693 + |
| 2694 { $at_traceoff |
| 2695 -$as_echo "$at_srcdir/calc.at:624: \$PREPARSER ./calc /dev/null" |
| 2696 +$as_echo "$at_srcdir/calc.at:624: \$PREPARSER ./calc input" |
| 2697 echo calc.at:624 >"$at_check_line_file" |
| 2698 |
| 2699 if test -n "$at_traceon" \ |
| 2700 - && at_func_check_newline " $PREPARSER ./calc /dev/null"; then |
| 2701 - ( $at_traceon; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stder1" |
| 2702 + && at_func_check_newline " $PREPARSER ./calc input"; then |
| 2703 + ( $at_traceon; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stder1" |
| 2704 at_func_filter_trace $? |
| 2705 else |
| 2706 - ( :; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stderr" |
| 2707 + ( :; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stderr" |
| 2708 fi |
| 2709 at_status=$? |
| 2710 at_failed=false |
| 2711 @@ -69172,7 +69383,7 @@ extern FILE *input; |
| 2712 %code { |
| 2713 #include <stdlib.h> |
| 2714 #include <string.h> |
| 2715 -#if HAVE_UNISTD_H |
| 2716 +#if HAVE_UNISTD_H && !_WIN32 |
| 2717 # include <unistd.h> |
| 2718 #else |
| 2719 # undef alarm |
| 2720 @@ -69991,16 +70202,20 @@ $at_traceon; } |
| 2721 |
| 2722 |
| 2723 # Exercise error messages with EOF: work on an empty file. |
| 2724 +cat >input <<'_ATEOF' |
| 2725 +NUL |
| 2726 +_ATEOF |
| 2727 + |
| 2728 { $at_traceoff |
| 2729 -$as_echo "$at_srcdir/calc.at:626: \$PREPARSER ./calc /dev/null" |
| 2730 +$as_echo "$at_srcdir/calc.at:626: \$PREPARSER ./calc input" |
| 2731 echo calc.at:626 >"$at_check_line_file" |
| 2732 |
| 2733 if test -n "$at_traceon" \ |
| 2734 - && at_func_check_newline " $PREPARSER ./calc /dev/null"; then |
| 2735 - ( $at_traceon; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stder1" |
| 2736 + && at_func_check_newline " $PREPARSER ./calc input"; then |
| 2737 + ( $at_traceon; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stder1" |
| 2738 at_func_filter_trace $? |
| 2739 else |
| 2740 - ( :; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stderr" |
| 2741 + ( :; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stderr" |
| 2742 fi |
| 2743 at_status=$? |
| 2744 at_failed=false |
| 2745 @@ -70509,7 +70724,7 @@ extern FILE *input; |
| 2746 %code { |
| 2747 #include <stdlib.h> |
| 2748 #include <string.h> |
| 2749 -#if HAVE_UNISTD_H |
| 2750 +#if HAVE_UNISTD_H && !_WIN32 |
| 2751 # include <unistd.h> |
| 2752 #else |
| 2753 # undef alarm |
| 2754 @@ -71356,16 +71571,20 @@ $at_traceon; } |
| 2755 |
| 2756 |
| 2757 # Exercise error messages with EOF: work on an empty file. |
| 2758 +cat >input <<'_ATEOF' |
| 2759 +NUL |
| 2760 +_ATEOF |
| 2761 + |
| 2762 { $at_traceoff |
| 2763 -$as_echo "$at_srcdir/calc.at:636: \$PREPARSER ./calc /dev/null" |
| 2764 +$as_echo "$at_srcdir/calc.at:636: \$PREPARSER ./calc input" |
| 2765 echo calc.at:636 >"$at_check_line_file" |
| 2766 |
| 2767 if test -n "$at_traceon" \ |
| 2768 - && at_func_check_newline " $PREPARSER ./calc /dev/null"; then |
| 2769 - ( $at_traceon; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stder1" |
| 2770 + && at_func_check_newline " $PREPARSER ./calc input"; then |
| 2771 + ( $at_traceon; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stder1" |
| 2772 at_func_filter_trace $? |
| 2773 else |
| 2774 - ( :; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stderr" |
| 2775 + ( :; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stderr" |
| 2776 fi |
| 2777 at_status=$? |
| 2778 at_failed=false |
| 2779 @@ -71879,7 +72098,7 @@ extern FILE *input; |
| 2780 %code { |
| 2781 #include <stdlib.h> |
| 2782 #include <string.h> |
| 2783 -#if HAVE_UNISTD_H |
| 2784 +#if HAVE_UNISTD_H && !_WIN32 |
| 2785 # include <unistd.h> |
| 2786 #else |
| 2787 # undef alarm |
| 2788 @@ -72726,16 +72945,20 @@ $at_traceon; } |
| 2789 |
| 2790 |
| 2791 # Exercise error messages with EOF: work on an empty file. |
| 2792 +cat >input <<'_ATEOF' |
| 2793 +NUL |
| 2794 +_ATEOF |
| 2795 + |
| 2796 { $at_traceoff |
| 2797 -$as_echo "$at_srcdir/calc.at:645: \$PREPARSER ./calc /dev/null" |
| 2798 +$as_echo "$at_srcdir/calc.at:645: \$PREPARSER ./calc input" |
| 2799 echo calc.at:645 >"$at_check_line_file" |
| 2800 |
| 2801 if test -n "$at_traceon" \ |
| 2802 - && at_func_check_newline " $PREPARSER ./calc /dev/null"; then |
| 2803 - ( $at_traceon; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stder1" |
| 2804 + && at_func_check_newline " $PREPARSER ./calc input"; then |
| 2805 + ( $at_traceon; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stder1" |
| 2806 at_func_filter_trace $? |
| 2807 else |
| 2808 - ( :; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stderr" |
| 2809 + ( :; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stderr" |
| 2810 fi |
| 2811 at_status=$? |
| 2812 at_failed=false |
| 2813 @@ -73249,7 +73472,7 @@ extern FILE *input; |
| 2814 %code { |
| 2815 #include <stdlib.h> |
| 2816 #include <string.h> |
| 2817 -#if HAVE_UNISTD_H |
| 2818 +#if HAVE_UNISTD_H && !_WIN32 |
| 2819 # include <unistd.h> |
| 2820 #else |
| 2821 # undef alarm |
| 2822 @@ -74091,16 +74314,20 @@ $at_traceon; } |
| 2823 |
| 2824 |
| 2825 # Exercise error messages with EOF: work on an empty file. |
| 2826 +cat >input <<'_ATEOF' |
| 2827 +NUL |
| 2828 +_ATEOF |
| 2829 + |
| 2830 { $at_traceoff |
| 2831 -$as_echo "$at_srcdir/calc.at:646: \$PREPARSER ./calc /dev/null" |
| 2832 +$as_echo "$at_srcdir/calc.at:646: \$PREPARSER ./calc input" |
| 2833 echo calc.at:646 >"$at_check_line_file" |
| 2834 |
| 2835 if test -n "$at_traceon" \ |
| 2836 - && at_func_check_newline " $PREPARSER ./calc /dev/null"; then |
| 2837 - ( $at_traceon; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stder1" |
| 2838 + && at_func_check_newline " $PREPARSER ./calc input"; then |
| 2839 + ( $at_traceon; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stder1" |
| 2840 at_func_filter_trace $? |
| 2841 else |
| 2842 - ( :; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stderr" |
| 2843 + ( :; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stderr" |
| 2844 fi |
| 2845 at_status=$? |
| 2846 at_failed=false |
| 2847 @@ -74609,7 +74836,7 @@ extern FILE *input; |
| 2848 %code { |
| 2849 #include <stdlib.h> |
| 2850 #include <string.h> |
| 2851 -#if HAVE_UNISTD_H |
| 2852 +#if HAVE_UNISTD_H && !_WIN32 |
| 2853 # include <unistd.h> |
| 2854 #else |
| 2855 # undef alarm |
| 2856 @@ -75451,16 +75678,20 @@ $at_traceon; } |
| 2857 |
| 2858 |
| 2859 # Exercise error messages with EOF: work on an empty file. |
| 2860 +cat >input <<'_ATEOF' |
| 2861 +NUL |
| 2862 +_ATEOF |
| 2863 + |
| 2864 { $at_traceoff |
| 2865 -$as_echo "$at_srcdir/calc.at:648: \$PREPARSER ./calc /dev/null" |
| 2866 +$as_echo "$at_srcdir/calc.at:648: \$PREPARSER ./calc input" |
| 2867 echo calc.at:648 >"$at_check_line_file" |
| 2868 |
| 2869 if test -n "$at_traceon" \ |
| 2870 - && at_func_check_newline " $PREPARSER ./calc /dev/null"; then |
| 2871 - ( $at_traceon; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stder1" |
| 2872 + && at_func_check_newline " $PREPARSER ./calc input"; then |
| 2873 + ( $at_traceon; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stder1" |
| 2874 at_func_filter_trace $? |
| 2875 else |
| 2876 - ( :; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stderr" |
| 2877 + ( :; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stderr" |
| 2878 fi |
| 2879 at_status=$? |
| 2880 at_failed=false |
| 2881 @@ -75969,7 +76200,7 @@ extern FILE *input; |
| 2882 %code { |
| 2883 #include <stdlib.h> |
| 2884 #include <string.h> |
| 2885 -#if HAVE_UNISTD_H |
| 2886 +#if HAVE_UNISTD_H && !_WIN32 |
| 2887 # include <unistd.h> |
| 2888 #else |
| 2889 # undef alarm |
| 2890 @@ -76811,16 +77042,20 @@ $at_traceon; } |
| 2891 |
| 2892 |
| 2893 # Exercise error messages with EOF: work on an empty file. |
| 2894 +cat >input <<'_ATEOF' |
| 2895 +NUL |
| 2896 +_ATEOF |
| 2897 + |
| 2898 { $at_traceoff |
| 2899 -$as_echo "$at_srcdir/calc.at:650: \$PREPARSER ./calc /dev/null" |
| 2900 +$as_echo "$at_srcdir/calc.at:650: \$PREPARSER ./calc input" |
| 2901 echo calc.at:650 >"$at_check_line_file" |
| 2902 |
| 2903 if test -n "$at_traceon" \ |
| 2904 - && at_func_check_newline " $PREPARSER ./calc /dev/null"; then |
| 2905 - ( $at_traceon; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stder1" |
| 2906 + && at_func_check_newline " $PREPARSER ./calc input"; then |
| 2907 + ( $at_traceon; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stder1" |
| 2908 at_func_filter_trace $? |
| 2909 else |
| 2910 - ( :; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stderr" |
| 2911 + ( :; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stderr" |
| 2912 fi |
| 2913 at_status=$? |
| 2914 at_failed=false |
| 2915 @@ -77329,7 +77564,7 @@ extern FILE *input; |
| 2916 %code { |
| 2917 #include <stdlib.h> |
| 2918 #include <string.h> |
| 2919 -#if HAVE_UNISTD_H |
| 2920 +#if HAVE_UNISTD_H && !_WIN32 |
| 2921 # include <unistd.h> |
| 2922 #else |
| 2923 # undef alarm |
| 2924 @@ -78171,16 +78406,20 @@ $at_traceon; } |
| 2925 |
| 2926 |
| 2927 # Exercise error messages with EOF: work on an empty file. |
| 2928 +cat >input <<'_ATEOF' |
| 2929 +NUL |
| 2930 +_ATEOF |
| 2931 + |
| 2932 { $at_traceoff |
| 2933 -$as_echo "$at_srcdir/calc.at:652: \$PREPARSER ./calc /dev/null" |
| 2934 +$as_echo "$at_srcdir/calc.at:652: \$PREPARSER ./calc input" |
| 2935 echo calc.at:652 >"$at_check_line_file" |
| 2936 |
| 2937 if test -n "$at_traceon" \ |
| 2938 - && at_func_check_newline " $PREPARSER ./calc /dev/null"; then |
| 2939 - ( $at_traceon; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stder1" |
| 2940 + && at_func_check_newline " $PREPARSER ./calc input"; then |
| 2941 + ( $at_traceon; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stder1" |
| 2942 at_func_filter_trace $? |
| 2943 else |
| 2944 - ( :; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stderr" |
| 2945 + ( :; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stderr" |
| 2946 fi |
| 2947 at_status=$? |
| 2948 at_failed=false |
| 2949 @@ -78689,7 +78928,7 @@ extern FILE *input; |
| 2950 %code { |
| 2951 #include <stdlib.h> |
| 2952 #include <string.h> |
| 2953 -#if HAVE_UNISTD_H |
| 2954 +#if HAVE_UNISTD_H && !_WIN32 |
| 2955 # include <unistd.h> |
| 2956 #else |
| 2957 # undef alarm |
| 2958 @@ -79536,16 +79775,20 @@ $at_traceon; } |
| 2959 |
| 2960 |
| 2961 # Exercise error messages with EOF: work on an empty file. |
| 2962 +cat >input <<'_ATEOF' |
| 2963 +NUL |
| 2964 +_ATEOF |
| 2965 + |
| 2966 { $at_traceoff |
| 2967 -$as_echo "$at_srcdir/calc.at:663: \$PREPARSER ./calc /dev/null" |
| 2968 +$as_echo "$at_srcdir/calc.at:663: \$PREPARSER ./calc input" |
| 2969 echo calc.at:663 >"$at_check_line_file" |
| 2970 |
| 2971 if test -n "$at_traceon" \ |
| 2972 - && at_func_check_newline " $PREPARSER ./calc /dev/null"; then |
| 2973 - ( $at_traceon; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stder1" |
| 2974 + && at_func_check_newline " $PREPARSER ./calc input"; then |
| 2975 + ( $at_traceon; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stder1" |
| 2976 at_func_filter_trace $? |
| 2977 else |
| 2978 - ( :; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stderr" |
| 2979 + ( :; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stderr" |
| 2980 fi |
| 2981 at_status=$? |
| 2982 at_failed=false |
| 2983 @@ -80059,7 +80302,7 @@ extern FILE *input; |
| 2984 %code { |
| 2985 #include <stdlib.h> |
| 2986 #include <string.h> |
| 2987 -#if HAVE_UNISTD_H |
| 2988 +#if HAVE_UNISTD_H && !_WIN32 |
| 2989 # include <unistd.h> |
| 2990 #else |
| 2991 # undef alarm |
| 2992 @@ -80906,16 +81149,20 @@ $at_traceon; } |
| 2993 |
| 2994 |
| 2995 # Exercise error messages with EOF: work on an empty file. |
| 2996 +cat >input <<'_ATEOF' |
| 2997 +NUL |
| 2998 +_ATEOF |
| 2999 + |
| 3000 { $at_traceoff |
| 3001 -$as_echo "$at_srcdir/calc.at:672: \$PREPARSER ./calc /dev/null" |
| 3002 +$as_echo "$at_srcdir/calc.at:672: \$PREPARSER ./calc input" |
| 3003 echo calc.at:672 >"$at_check_line_file" |
| 3004 |
| 3005 if test -n "$at_traceon" \ |
| 3006 - && at_func_check_newline " $PREPARSER ./calc /dev/null"; then |
| 3007 - ( $at_traceon; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stder1" |
| 3008 + && at_func_check_newline " $PREPARSER ./calc input"; then |
| 3009 + ( $at_traceon; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stder1" |
| 3010 at_func_filter_trace $? |
| 3011 else |
| 3012 - ( :; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stderr" |
| 3013 + ( :; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stderr" |
| 3014 fi |
| 3015 at_status=$? |
| 3016 at_failed=false |
| 3017 @@ -81429,7 +81676,7 @@ extern FILE *input; |
| 3018 %code { |
| 3019 #include <stdlib.h> |
| 3020 #include <string.h> |
| 3021 -#if HAVE_UNISTD_H |
| 3022 +#if HAVE_UNISTD_H && !_WIN32 |
| 3023 # include <unistd.h> |
| 3024 #else |
| 3025 # undef alarm |
| 3026 @@ -82271,16 +82518,20 @@ $at_traceon; } |
| 3027 |
| 3028 |
| 3029 # Exercise error messages with EOF: work on an empty file. |
| 3030 +cat >input <<'_ATEOF' |
| 3031 +NUL |
| 3032 +_ATEOF |
| 3033 + |
| 3034 { $at_traceoff |
| 3035 -$as_echo "$at_srcdir/calc.at:673: \$PREPARSER ./calc /dev/null" |
| 3036 +$as_echo "$at_srcdir/calc.at:673: \$PREPARSER ./calc input" |
| 3037 echo calc.at:673 >"$at_check_line_file" |
| 3038 |
| 3039 if test -n "$at_traceon" \ |
| 3040 - && at_func_check_newline " $PREPARSER ./calc /dev/null"; then |
| 3041 - ( $at_traceon; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stder1" |
| 3042 + && at_func_check_newline " $PREPARSER ./calc input"; then |
| 3043 + ( $at_traceon; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stder1" |
| 3044 at_func_filter_trace $? |
| 3045 else |
| 3046 - ( :; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stderr" |
| 3047 + ( :; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stderr" |
| 3048 fi |
| 3049 at_status=$? |
| 3050 at_failed=false |
| 3051 @@ -82789,7 +83040,7 @@ extern FILE *input; |
| 3052 %code { |
| 3053 #include <stdlib.h> |
| 3054 #include <string.h> |
| 3055 -#if HAVE_UNISTD_H |
| 3056 +#if HAVE_UNISTD_H && !_WIN32 |
| 3057 # include <unistd.h> |
| 3058 #else |
| 3059 # undef alarm |
| 3060 @@ -83636,16 +83887,20 @@ $at_traceon; } |
| 3061 |
| 3062 |
| 3063 # Exercise error messages with EOF: work on an empty file. |
| 3064 +cat >input <<'_ATEOF' |
| 3065 +NUL |
| 3066 +_ATEOF |
| 3067 + |
| 3068 { $at_traceoff |
| 3069 -$as_echo "$at_srcdir/calc.at:675: \$PREPARSER ./calc /dev/null" |
| 3070 +$as_echo "$at_srcdir/calc.at:675: \$PREPARSER ./calc input" |
| 3071 echo calc.at:675 >"$at_check_line_file" |
| 3072 |
| 3073 if test -n "$at_traceon" \ |
| 3074 - && at_func_check_newline " $PREPARSER ./calc /dev/null"; then |
| 3075 - ( $at_traceon; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stder1" |
| 3076 + && at_func_check_newline " $PREPARSER ./calc input"; then |
| 3077 + ( $at_traceon; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stder1" |
| 3078 at_func_filter_trace $? |
| 3079 else |
| 3080 - ( :; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stderr" |
| 3081 + ( :; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stderr" |
| 3082 fi |
| 3083 at_status=$? |
| 3084 at_failed=false |
| 3085 @@ -84159,7 +84414,7 @@ extern FILE *input; |
| 3086 %code { |
| 3087 #include <stdlib.h> |
| 3088 #include <string.h> |
| 3089 -#if HAVE_UNISTD_H |
| 3090 +#if HAVE_UNISTD_H && !_WIN32 |
| 3091 # include <unistd.h> |
| 3092 #else |
| 3093 # undef alarm |
| 3094 @@ -85001,16 +85256,20 @@ $at_traceon; } |
| 3095 |
| 3096 |
| 3097 # Exercise error messages with EOF: work on an empty file. |
| 3098 +cat >input <<'_ATEOF' |
| 3099 +NUL |
| 3100 +_ATEOF |
| 3101 + |
| 3102 { $at_traceoff |
| 3103 -$as_echo "$at_srcdir/calc.at:676: \$PREPARSER ./calc /dev/null" |
| 3104 +$as_echo "$at_srcdir/calc.at:676: \$PREPARSER ./calc input" |
| 3105 echo calc.at:676 >"$at_check_line_file" |
| 3106 |
| 3107 if test -n "$at_traceon" \ |
| 3108 - && at_func_check_newline " $PREPARSER ./calc /dev/null"; then |
| 3109 - ( $at_traceon; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stder1" |
| 3110 + && at_func_check_newline " $PREPARSER ./calc input"; then |
| 3111 + ( $at_traceon; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stder1" |
| 3112 at_func_filter_trace $? |
| 3113 else |
| 3114 - ( :; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stderr" |
| 3115 + ( :; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stderr" |
| 3116 fi |
| 3117 at_status=$? |
| 3118 at_failed=false |
| 3119 @@ -85519,7 +85778,7 @@ extern FILE *input; |
| 3120 %code { |
| 3121 #include <stdlib.h> |
| 3122 #include <string.h> |
| 3123 -#if HAVE_UNISTD_H |
| 3124 +#if HAVE_UNISTD_H && !_WIN32 |
| 3125 # include <unistd.h> |
| 3126 #else |
| 3127 # undef alarm |
| 3128 @@ -86361,16 +86620,20 @@ $at_traceon; } |
| 3129 |
| 3130 |
| 3131 # Exercise error messages with EOF: work on an empty file. |
| 3132 +cat >input <<'_ATEOF' |
| 3133 +NUL |
| 3134 +_ATEOF |
| 3135 + |
| 3136 { $at_traceoff |
| 3137 -$as_echo "$at_srcdir/calc.at:678: \$PREPARSER ./calc /dev/null" |
| 3138 +$as_echo "$at_srcdir/calc.at:678: \$PREPARSER ./calc input" |
| 3139 echo calc.at:678 >"$at_check_line_file" |
| 3140 |
| 3141 if test -n "$at_traceon" \ |
| 3142 - && at_func_check_newline " $PREPARSER ./calc /dev/null"; then |
| 3143 - ( $at_traceon; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stder1" |
| 3144 + && at_func_check_newline " $PREPARSER ./calc input"; then |
| 3145 + ( $at_traceon; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stder1" |
| 3146 at_func_filter_trace $? |
| 3147 else |
| 3148 - ( :; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stderr" |
| 3149 + ( :; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stderr" |
| 3150 fi |
| 3151 at_status=$? |
| 3152 at_failed=false |
| 3153 @@ -86879,7 +87142,7 @@ extern FILE *input; |
| 3154 %code { |
| 3155 #include <stdlib.h> |
| 3156 #include <string.h> |
| 3157 -#if HAVE_UNISTD_H |
| 3158 +#if HAVE_UNISTD_H && !_WIN32 |
| 3159 # include <unistd.h> |
| 3160 #else |
| 3161 # undef alarm |
| 3162 @@ -87721,16 +87984,20 @@ $at_traceon; } |
| 3163 |
| 3164 |
| 3165 # Exercise error messages with EOF: work on an empty file. |
| 3166 +cat >input <<'_ATEOF' |
| 3167 +NUL |
| 3168 +_ATEOF |
| 3169 + |
| 3170 { $at_traceoff |
| 3171 -$as_echo "$at_srcdir/calc.at:680: \$PREPARSER ./calc /dev/null" |
| 3172 +$as_echo "$at_srcdir/calc.at:680: \$PREPARSER ./calc input" |
| 3173 echo calc.at:680 >"$at_check_line_file" |
| 3174 |
| 3175 if test -n "$at_traceon" \ |
| 3176 - && at_func_check_newline " $PREPARSER ./calc /dev/null"; then |
| 3177 - ( $at_traceon; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stder1" |
| 3178 + && at_func_check_newline " $PREPARSER ./calc input"; then |
| 3179 + ( $at_traceon; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stder1" |
| 3180 at_func_filter_trace $? |
| 3181 else |
| 3182 - ( :; $PREPARSER ./calc /dev/null ) >"$at_stdout" 2>"$at_stderr" |
| 3183 + ( :; $PREPARSER ./calc input ) >"$at_stdout" 2>"$at_stderr" |
| 3184 fi |
| 3185 at_status=$? |
| 3186 at_failed=false |
OLD | NEW |