## ---------------------------------------- ##
## GnuCOBOL 2.2 test suite: GnuCOBOL Tests. ##
## ---------------------------------------- ##
testsuite: command line was:
$ ./testsuite
## ---------- ##
## ChangeLog. ##
## ---------- ##
|
| 2017-08-13 Simon 'sf-mensch/human' Sobisch
|
| * general: removed all Makefiles and configure script generated by
| autoconf and automake from version control - use build_aux/bootstrap
| * Makefile.am: ensure correct time stamps for make dist
| * configure.ac: adjusted GMP version checks,
| substitute COB_HAS_64_BIT_POINTER for use in testsuite
|
| 2017-08-08 Simon 'sf-mensch/human' Sobisch
## --------- ##
## Platform. ##
## --------- ##
hostname = WIN7-LINUX
uname -m = i686
uname -r = 1.0.19(0.48/3/2)
uname -s = MINGW32_NT-6.1
uname -v = 2016-07-13 17:45
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /home/ramosa/gnucobol-2.2/tests
PATH: /home/ramosa/gnucobol-2.2/cobc
PATH: /home/ramosa/gnucobol-2.2/bin
PATH: /home/ramosa/gnucobol-2.2/libcob/.libs
PATH: /home/ramosa/gnucobol-2.2
PATH: /usr/local/bin
PATH: /mingw/bin
PATH: /bin
PATH: /c/ProgramData/Oracle/Java/javapath
PATH: /c/Python27/
PATH: /c/Python27/Scripts
PATH: /c/app/product/11.2.0/client_1/bin
PATH: /c/Program Files (x86)/Cuminas/Document Express DjVu Plug-in/
PATH: /c/oraclexe/app/oracle/product/11.2.0/server/bin
PATH: /c/Windows/system32
PATH: /c/Windows
PATH: /c/Windows/System32/Wbem
PATH: /c/Windows/System32/WindowsPowerShell/v1.0/
PATH: /c/Program Files/Microsoft SQL Server/Client SDK/ODBC/110/Tools/Binn/
PATH: /c/Program Files (x86)/Microsoft SQL Server/120/Tools/Binn/
PATH: /c/Program Files/Microsoft SQL Server/120/Tools/Binn/
PATH: /c/Program Files/Microsoft SQL Server/120/DTS/Binn/
PATH: /c/Program Files (x86)/Microsoft SQL Server/120/Tools/Binn/ManagementStudio/
PATH: /c/Program Files (x86)/Microsoft SQL Server/120/DTS/Binn/
PATH: /c/Program Files/Calibre2/
PATH: /c/Program Files (x86)/AMD/ATI.ACE/Core-Static
PATH: /c/Program Files (x86)/Calibre2/
PATH: /c/Program Files (x86)/Skype/Phone/
testsuite: atconfig:
| # Configurable variable values for building test suites.
| # Generated by ./config.status.
| # Copyright (C) 2012 Free Software Foundation, Inc.
|
| # The test suite will define top_srcdir=/../.. etc.
| at_testdir='tests'
| abs_builddir='/home/ramosa/gnucobol-2.2/tests'
| at_srcdir='.'
| abs_srcdir='/home/ramosa/gnucobol-2.2/tests'
| at_top_srcdir='..'
| abs_top_srcdir='/home/ramosa/gnucobol-2.2'
| at_top_build_prefix='../'
| abs_top_builddir='/home/ramosa/gnucobol-2.2'
|
| # Backward compatibility with Autotest <= 2.59b:
| at_top_builddir=$at_top_build_prefix
|
| AUTOTEST_PATH='tests'
|
| SHELL=${CONFIG_SHELL-'/bin/sh'}
testsuite: atlocal:
| #
| # atlocal gnucobol/tests
| #
| # Copyright (C) 2003-2012, 2014-2017 Free Software Foundation, Inc.
| # Written by Keisuke Nishida, Roger While, Simon Sobisch
| #
| # This file is part of GnuCOBOL.
| #
| # The GnuCOBOL compiler is free software: you can redistribute it
| # and/or modify it under the terms of the GNU General Public License
| # as published by the Free Software Foundation, either version 3 of the
| # License, or (at your option) any later version.
| #
| # GnuCOBOL is distributed in the hope that it will be useful,
| # but WITHOUT ANY WARRANTY; without even the implied warranty of
| # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
| # GNU General Public License for more details.
| #
| # You should have received a copy of the GNU General Public License
| # along with GnuCOBOL. If not, see .
|
| # CC="gcc"
| COB_BIGENDIAN="no"
| COB_HAS_ISAM="yes"
| COB_HAS_CURSES="yes"
| COB_HAS_UTC_OFFSET="yes"
| COB_HAS_64_BIT_POINTER="no"
|
| COBC="${abs_top_builddir}/cobc/cobc"
| COBCRUN="${abs_top_builddir}/bin/cobcrun"
| COBCRUN_DIRECT="" # used for running created executables through tools
|
| TEMPLATE="${abs_srcdir}/testsuite.src"
|
| FLAGS="-debug -Wall ${COBOL_FLAGS}"
| COMPILE="${COBC} -x ${FLAGS}"
| COMPILE_ONLY="${COBC} -fsyntax-only ${FLAGS}"
| COMPILE_MODULE="${COBC} -m ${FLAGS}"
|
| COB_OBJECT_EXT="o"
| COB_EXE_EXT=".exe"
|
| PATHSEP=":"
|
| # Helper script to unify listings (repleace version, date, time)
| UNIFY_LISTING="${abs_srcdir}/listings-sed.sh"
|
| # unset all environment variables that are used in libcob for runtime configuration
| for cobenv in $($COBCRUN --runtime-conf | grep COB_ | cut -d: -f2); do unset $cobenv; done
|
| # For running the testsuite in Cygwin with non-Cygwin binaries we need a wrapper function
| _return_path () {
| echo "$1"
| }
|
| PATH="${abs_top_builddir}/cobc:${abs_top_builddir}/bin:${abs_top_builddir}/libcob/.libs:${PATH}"
| export PATH
| export COB_CFLAGS="-I${abs_top_srcdir} -I${abs_top_srcdir}/libcob -I/mingw/include -Wno-unused -fsigned-char -Wno-pointer-sign -I/mingw/include -pipe"
| export COB_LDFLAGS="-L${abs_top_builddir}/libcob/.libs "
| export COB_LIBS="-L${abs_top_builddir}/libcob/.libs -lcob -lm -lvbisam -lgmp -L/mingw/lib -lintl -lpdcurses"
| export COB_CONFIG_DIR="${abs_top_srcdir}/config"
| export COB_RUNTIME_CONFIG="${COB_CONFIG_DIR}/runtime_empty.cfg"
| export COB_COPY_DIR="${abs_top_srcdir}/copy"
| export LD_LIBRARY_PATH="${abs_top_builddir}/libcob/.libs:$LD_LIBRARY_PATH"
| export DYLD_LIBRARY_PATH="${abs_top_builddir}/libcob/.libs:$DYLD_LIBRARY_PATH"
| export SHLIB_PATH="${abs_top_builddir}/libcob/.libs:$SHLIB_PATH"
| export LIBPATH="${abs_top_builddir}/libcob/.libs:$LIBPATH"
| export COB_LIBRARY_PATH="${abs_top_builddir}/extras:$COB_LIBRARY_PATH"
| export COB_UNIX_LF=YES
| export COB_HAS_ISAM
| if test "$MSYSTEM" = "MINGW32"; then
| # running MSYS builds as not-visible child processes result in
| # "Redirection is not supported"
| COB_HAS_CURSES="no"
| # Fix for testcases were cobc translates path to win32 equivalents
| PATHSEP=";"
| fi
| export COB_HAS_CURSES
| export COB_HAS_UTC_OFFSET
| export COB_HAS_64_BIT_POINTER
| export LC_ALL=C
| export PATHSEP
|
|
| # For rare cases where cobc/libcob may need to know if they're running in test mode:
| case $0 in
| */testsuite) export COB_IS_RUNNING_IN_TESTMODE=1;;
| *) unset COB_IS_RUNNING_IN_TESTMODE;;
| esac
## ---------------- ##
## Tested programs. ##
## ---------------- ##
./testsuite.at:25: /home/ramosa/gnucobol-2.2/cobc/cobc --version
cobc (GnuCOBOL) 2.2.0
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Keisuke Nishida, Roger While, Ron Norman, Simon Sobisch, Edward Hart
Built Feb 04 2018 14:24:12
Packaged Sep 06 2017 18:48:43 UTC
C version "6.3.0"
./testsuite.at:25: /home/ramosa/gnucobol-2.2/bin/cobcrun --version
cobcrun (GnuCOBOL) 2.2.0
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roger While, Simon Sobisch, Brian Tiffin
Built Feb 04 2018 14:24:38
Packaged Sep 06 2017 18:48:43 UTC
libcob (GnuCOBOL) 2.2.0
Copyright (C) 2017 Free Software Foundation, Inc.
License LGPLv3+: GNU LGPL version 3 or later
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Keisuke Nishida, Roger While, Ron Norman, Simon Sobisch, Edward Hart
Built Feb 04 2018 14:23:29
Packaged Sep 06 2017 18:48:43 UTC
## ------------------ ##
## Running the tests. ##
## ------------------ ##
testsuite: starting at: Sun Feb 4 14:25:32 EST 2018
1. Compiler outputs (general) (used_binaries.at:21): ok (0m0.045s 0m0.301s)
2. Compiler outputs (assembler) (used_binaries.at:48): ok (0m0.075s 0m0.226s)
3. Source file not found (used_binaries.at:79): ok (0m0.000s 0m0.060s)
4. Compiler help and information (used_binaries.at:89): ok (0m0.075s 0m0.407s)
5. Using full path for cobc (used_binaries.at:107): ok (0m0.030s 0m0.092s)
6. C Compiler optimizations (used_binaries.at:127): ok (0m0.091s 0m0.271s)
7. Invalid cobc option (used_binaries.at:156): ok (0m0.061s 0m0.107s)
8. cobcrun validation (used_binaries.at:180): ok (0m0.045s 0m0.090s)
9. cobcrun -M DSO entry argument (used_binaries.at:220): ok (0m0.060s 0m0.137s)
10. cobcrun -M directory/ default (used_binaries.at:275): ok (0m0.030s 0m0.061s)
11. cobcrun -M directory/dso alternate (used_binaries.at:313): ok (0m0.030s 0m0.137s)
12. cobcrun -M DSO entry multiple arguments (used_binaries.at:364): ok (0m0.045s 0m0.090s)
13. Compile from stdin (used_binaries.at:399): ok (0m0.045s 0m0.167s)
14. Run job after compilation (used_binaries.at:420): ok (0m0.015s 0m0.091s)
15. Run job with optional arguments (used_binaries.at:439): ok (0m0.060s 0m0.106s)
16. cobc with standard configuration file (configuration.at:22): ok (0m0.015s 0m0.030s)
17. cobc dialect features for all -std (configuration.at:43): ok (0m0.180s 0m0.544s)
18. cobc with configuration file via -std (configuration.at:99): ok (0m0.015s 0m0.045s)
19. cobc with standard configuration file via -conf (configuration.at:120): ok (0m0.015s 0m0.060s)
20. cobc with own configuration file via -conf (configuration.at:141): ok (0m0.030s 0m0.075s)
21. cobc configuration: recursive include (configuration.at:170): ok (0m0.015s 0m0.152s)
22. cobc with -std and -conf (configuration.at:208): ok (0m0.030s 0m0.090s)
23. cobc compiler flag on command line (configuration.at:235): ok (0m0.000s 0m0.045s)
24. cobc compiler flag on command line (priority) (configuration.at:254): ok (0m0.000s 0m0.135s)
25. cobc configuration: entries (configuration.at:287): ok (0m0.045s 0m0.152s)
26. cobc configuration: conf missing (configuration.at:320): ok (0m0.030s 0m0.151s)
27. cobc configuration: conf optional (configuration.at:348): ok (0m0.015s 0m0.136s)
28. cobc configuration: incomplete (configuration.at:384): ok (0m0.000s 0m0.107s)
29. runtime configuration (configuration.at:471): ok (0m0.030s 0m0.210s)
30. runtime configuration file (configuration.at:490): ok (0m0.106s 0m0.454s)
31. runtime configuration: recursive include (configuration.at:525): ok (0m0.015s 0m0.135s)
32. runtime configuration: environment priority (configuration.at:554): ok (0m0.030s 0m0.105s)
33. runtime configuration: entries (configuration.at:567): ok (0m0.000s 0m0.090s)
34. runtime configuration: conf missing (configuration.at:648): ok (0m0.045s 0m0.136s)
35. runtime configuration: conf optional (configuration.at:677): ok (0m0.030s 0m0.046s)
36. COB_CONFIG_DIR test (configuration.at:690): ok (0m0.030s 0m0.091s)
37. COPY: within comment (syn_copy.at:21): ok (0m0.015s 0m0.090s)
38. COPY: file not found (syn_copy.at:49): ok (0m0.000s 0m0.106s)
39. COPY: replacement order (syn_copy.at:69): ok (0m0.030s 0m0.121s)
40. COPY: separators (syn_copy.at:96): ok (0m0.015s 0m0.105s)
41. COPY: partial replacement (syn_copy.at:125): ok (0m0.015s 0m0.137s)
42. COPY: LEADING replacement (syn_copy.at:154): ok (0m0.046s 0m0.106s)
43. COPY: TRAILING replacement (syn_copy.at:183): ok (0m0.015s 0m0.090s)
44. COPY: recursive replacement (syn_copy.at:212): ok (0m0.045s 0m0.105s)
45. COPY: fixed/free format (syn_copy.at:241): ok (0m0.000s 0m0.105s)
46. Invalid PROGRAM-ID (syn_definition.at:25): ok (0m0.030s 0m0.075s)
47. Invalid PROGRAM-ID type clause (1) (syn_definition.at:42): ok (0m0.015s 0m0.060s)
48. invalid PROGRAM-ID type clause (2) (syn_definition.at:59): ok (0m0.030s 0m0.076s)
49. INITIAL/RECURSIVE before COMMON (syn_definition.at:76): ok (0m0.030s 0m0.045s)
50. Undefined data name (syn_definition.at:108): ok (0m0.000s 0m0.075s)
51. Undefined group name (syn_definition.at:127): ok (0m0.045s 0m0.045s)
52. Undefined data name in group (syn_definition.at:149): ok (0m0.030s 0m0.045s)
53. Reference not a group name (syn_definition.at:173): ok (0m0.046s 0m0.015s)
54. Incomplete 01 definition (syn_definition.at:197): ok (0m0.046s 0m0.045s)
55. Same labels in different sections (syn_definition.at:217): ok (0m0.015s 0m0.031s)
56. Redefinition of 01 items (syn_definition.at:242): ok (0m0.015s 0m0.075s)
57. Redefinition of 01 and 02 items (syn_definition.at:262): ok (0m0.000s 0m0.107s)
58. Redefinition of 02 items (syn_definition.at:282): ok (0m0.060s 0m0.045s)
59. Redefinition of 77 items (syn_definition.at:303): ok (0m0.015s 0m0.076s)
60. Redefinition of 01 and 77 items (syn_definition.at:323): ok (0m0.015s 0m0.061s)
61. Redefinition of 88 items (syn_definition.at:343): ok (0m0.000s 0m0.090s)
62. Redefinition of program-name by other programs (syn_definition.at:364): ok (0m0.045s 0m0.090s)
63. Redefinition of program-name within program (syn_definition.at:430): ok (0m0.045s 0m0.105s)
64. Redefinition of function-prototype name (syn_definition.at:460): ok (0m0.015s 0m0.077s)
65. PROCEDURE DIVISION RETURNING OMITTED: main (syn_definition.at:485): ok (0m0.000s 0m0.106s)
66. PROCEDURE DIVISION RETURNING OMITTED: FUNCTION (syn_definition.at:505): ok (0m0.000s 0m0.076s)
67. PROCEDURE DIVISION RETURNING item (syn_definition.at:524): ok (0m0.105s 0m0.271s)
68. Data item with same name as program-name (syn_definition.at:619): ok (0m0.000s 0m0.061s)
69. Ambiguous reference to 02 items (syn_definition.at:646): ok (0m0.015s 0m0.060s)
70. Ambiguous reference to 02 and 03 items (syn_definition.at:673): ok (0m0.000s 0m0.060s)
71. Ambiguous reference with qualification (syn_definition.at:699): ok (0m0.045s 0m0.045s)
72. Unique reference with ambiguous qualifiers (syn_definition.at:728): ok (0m0.030s 0m0.030s)
73. Undefined procedure name (syn_definition.at:764): ok (0m0.030s 0m0.061s)
74. Redefinition of section names (syn_definition.at:784): ok (0m0.015s 0m0.060s)
75. Redefinition of section and paragraph names (syn_definition.at:805): ok (0m0.015s 0m0.060s)
76. Redefinition of paragraph names (syn_definition.at:826): ok (0m0.000s 0m0.030s)
77. Ambiguous reference to paragraph name (syn_definition.at:852): ok (0m0.000s 0m0.075s)
78. Non-matching level numbers (extension) (syn_definition.at:878): ok (0m0.030s 0m0.061s)
79. CALL BY VALUE alphanumeric item (extension) (syn_definition.at:902): ok (0m0.015s 0m0.075s)
80. Duplicate identification division header (syn_definition.at:924): ok (0m0.015s 0m0.075s)
81. RETURNING in STOP RUN / GOBACK / EXIT PROGRAM (syn_definition.at:939): ok (0m0.000s 0m0.197s)
82. Invalid ENVIRONMENT DIVISION order (syn_definition.at:990): ok (0m0.015s 0m0.045s)
83. Function without END FUNCTION (syn_definition.at:1017): ok (0m0.030s 0m0.045s)
84. Nested programs without END PROGRAM (syn_definition.at:1031): ok (0m0.015s 0m0.045s)
85. Nested programs not in procedure division (syn_definition.at:1053): ok (0m0.030s 0m0.030s)
86. Screen section starts with 78-level (syn_definition.at:1072): ok (0m0.031s 0m0.015s)
87. Invalid PICTURE strings (syn_definition.at:1088): ok (0m0.030s 0m0.075s)
88. PICTURE strings invalid with BLANK WHEN ZERO (syn_definition.at:1316): ok (0m0.000s 0m0.060s)
89. PICTURE strings invalid with USAGE (syn_definition.at:1339): ok (0m0.015s 0m0.060s)
90. Alphabet definition (syn_definition.at:1359): ok (0m0.015s 0m0.151s)
91. RENAMES item (syn_definition.at:1403): ok (0m0.015s 0m0.060s)
92. RENAMES of 01-, 66- and 77-level items (syn_definition.at:1470): ok (0m0.000s 0m0.122s)
93. Non-numeric subscript (syn_subscripts.at:23): ok (0m0.015s 0m0.075s)
94. Subscript range check (syn_subscripts.at:50): ok (0m0.015s 0m0.045s)
95. Subscript bounds with OCCURS DEPENDING ON (syn_subscripts.at:91): ok (0m0.030s 0m0.060s)
96. Subscripted item requires OCCURS clause (syn_subscripts.at:118): ok (0m0.015s 0m0.061s)
97. Number of subscripts (syn_subscripts.at:144): ok (0m0.030s 0m0.105s)
98. OCCURS with level 01 and 77 (syn_occurs.at:28): ok (0m0.046s 0m0.075s)
99. OCCURS with level 66 (syn_occurs.at:53): ok (0m0.030s 0m0.076s)
100. OCCURS with level 88 (syn_occurs.at:72): ok (0m0.015s 0m0.060s)
101. OCCURS with variable-occurrence data item (syn_occurs.at:91): ok (0m0.030s 0m0.090s)
102. Nested OCCURS clause (syn_occurs.at:152): ok (0m0.015s 0m0.031s)
103. OCCURS DEPENDING with wrong size (syn_occurs.at:189): ok (0m0.000s 0m0.090s)
104. OCCURS DEPENDING followed by another field (syn_occurs.at:225): ok (0m0.030s 0m0.091s)
105. OCCURS with unmatched DEPENDING / TO phrases (syn_occurs.at:266): ok (0m0.030s 0m0.195s)
106. OCCURS INDEXED before KEY (syn_occurs.at:301): ok (0m0.045s 0m0.075s)
107. OCCURS size check (syn_occurs.at:339): ok (0m0.060s 0m0.120s)
108. REDEFINES: not following entry-name (syn_redefines.at:28): ok (0m0.015s 0m0.107s)
109. REDEFINES: level 02 by 01 (syn_redefines.at:53): ok (0m0.015s 0m0.060s)
110. REDEFINES: level 03 by 02 (syn_redefines.at:74): ok (0m0.000s 0m0.076s)
111. REDEFINES: level 66 (syn_redefines.at:96): ok (0m0.060s 0m0.015s)
112. REDEFINES: level 88 (syn_redefines.at:118): ok (0m0.015s 0m0.075s)
113. REDEFINES: lower level number (syn_redefines.at:147): ok (0m0.045s 0m0.075s)
114. REDEFINES: with OCCURS (syn_redefines.at:173): ok (0m0.015s 0m0.076s)
115. REDEFINES: with subscript (syn_redefines.at:194): ok (0m0.015s 0m0.061s)
116. REDEFINES: with variable occurrence (syn_redefines.at:216): ok (0m0.015s 0m0.076s)
117. REDEFINES: with qualification (syn_redefines.at:251): ok (0m0.030s 0m0.015s)
118. REDEFINES: multiple redefinition (syn_redefines.at:277): ok (0m0.046s 0m0.075s)
119. REDEFINES: size exceeds (syn_redefines.at:305): ok (0m0.015s 0m0.075s)
120. REDEFINES: with VALUE (syn_redefines.at:338): ok (0m0.000s 0m0.075s)
121. REDEFINES: with intervention (syn_redefines.at:370): ok (0m0.000s 0m0.090s)
122. REDEFINES: within REDEFINES (syn_redefines.at:399): ok (0m0.015s 0m0.045s)
123. REDEFINES: non-referenced ambiguous item (syn_redefines.at:419): ok (0m0.015s 0m0.075s)
124. Numeric item (integer) (syn_value.at:43): ok (0m0.000s 0m0.077s)
125. Numeric item (non-integer) (syn_value.at:69): ok (0m0.015s 0m0.030s)
126. Numeric item with picture P (syn_value.at:92): ok (0m0.015s 0m0.076s)
127. Signed numeric literal (syn_value.at:124): ok (0m0.000s 0m0.075s)
128. Alphabetic item (syn_value.at:150): ok (0m0.000s 0m0.075s)
129. Alphanumeric item (syn_value.at:176): ok (0m0.030s 0m0.062s)
130. Alphanumeric group item (syn_value.at:198): ok (0m0.030s 0m0.046s)
131. Numeric-edited item (syn_value.at:233): ok (0m0.015s 0m0.151s)
132. Alphanumeric-edited item (syn_value.at:266): ok (0m0.015s 0m0.045s)
133. Implicit picture from value (syn_value.at:334): ok (0m0.015s 0m0.091s)
134. ASSIGN to device-name (syn_file.at:22): ok (0m0.045s 0m0.105s)
135. ASSIGN to printer-name (syn_file.at:89): ok (0m0.030s 0m0.106s)
136. ASSIGN to lsq-device-name (syn_file.at:156): ok (0m0.000s 0m0.030s)
137. SELECT without ASSIGN (syn_file.at:211): ok (0m0.015s 0m0.075s)
138. START on SEQUENTIAL file (syn_file.at:239): ok (0m0.046s 0m0.076s)
139. valid key items (syn_file.at:269): ok (0m0.015s 0m0.015s)
140. invalid key items (syn_file.at:319): ok (0m0.030s 0m0.060s)
141. variable record length (syn_file.at:371): ok (0m0.045s 0m0.227s)
142. variable record length DEPENDING item (syn_file.at:475): ok (0m0.015s 0m0.105s)
143. DECLARATIVES invalid procedure reference (syn_file.at:549): ok (0m0.075s 0m0.150s)
144. DECLARATIVES invalid procedure reference (3) (syn_file.at:637): ok (0m0.015s 0m0.060s)
145. RECORDING MODE (syn_file.at:678): ok (0m0.015s 0m0.045s)
146. CODE-SET clause (syn_file.at:707): ok (0m0.000s 0m0.075s)
147. CODE-SET FOR clause (syn_file.at:743): ok (0m0.030s 0m0.030s)
148. WRITE / REWRITE FROM clause and FILE (syn_file.at:777): ok (0m0.000s 0m0.061s)
149. Clauses following invalid ACCESS clause (syn_file.at:838): ok (0m0.000s 0m0.061s)
150. RELATIVE KEY type checks (syn_file.at:862): ok (0m0.015s 0m0.091s)
151. Mismatched KEY clause (syn_file.at:922): ok (0m0.015s 0m0.045s)
152. REPORT SECTION clause numbers (syn_reportwriter.at:23): ok (0m0.015s 0m0.060s)
153. valid reference modification (syn_refmod.at:25): ok (0m0.000s 0m0.030s)
154. Static out of bounds (syn_refmod.at:51): ok (0m0.000s 0m0.091s)
155. constant-folding out of bounds (syn_refmod.at:82): ok (0m0.015s 0m0.091s)
156. ambiguous AND/OR (syn_misc.at:23): ok (0m0.015s 0m0.075s)
157. warn constant expressions (syn_misc.at:54): ok (0m0.015s 0m0.060s)
158. warn literal size (syn_misc.at:90): ok (0m0.046s 0m0.046s)
159. Invalid conditional expression (1) (syn_misc.at:287): ok (0m0.030s 0m0.075s)
160. Invalid conditional expression (2) (syn_misc.at:400): ok (0m0.000s 0m0.075s)
161. Valid conditional expression (syn_misc.at:456): ok (0m0.015s 0m0.075s)
162. missing headers (syn_misc.at:489): ok (0m0.045s 0m0.091s)
163. one line program (syn_misc.at:539): ok (0m0.030s 0m0.122s)
164. empty program (syn_misc.at:558): ok (0m0.045s 0m0.105s)
165. INITIALIZE constant (syn_misc.at:597): ok (0m0.000s 0m0.060s)
166. CLASS duplicate values (syn_misc.at:624): ok (0m0.030s 0m0.060s)
167. INSPECT invalid size (syn_misc.at:659): ok (0m0.015s 0m0.076s)
168. INSPECT invalid target (syn_misc.at:688): ok (0m0.000s 0m0.091s)
169. INSPECT missing keyword (syn_misc.at:711): ok (0m0.030s 0m0.060s)
170. INSPECT repeated keywords (syn_misc.at:732): ok (0m0.015s 0m0.061s)
171. INSPECT incomplete clause (syn_misc.at:764): ok (0m0.000s 0m0.091s)
172. INSPECT multiple BEFORE/AFTER clauses (syn_misc.at:786): ok (0m0.015s 0m0.045s)
173. maximum data size (syn_misc.at:809): ok (0m0.045s 0m0.045s)
174. unreachable statement (syn_misc.at:838): ok (0m0.015s 0m0.076s)
175. CRT STATUS (syn_misc.at:880): ok (0m0.015s 0m0.045s)
176. CURRENCY SIGN (syn_misc.at:922): ok (0m0.105s 0m0.421s)
177. SWITCHES (syn_misc.at:1038): ok (0m0.030s 0m0.107s)
178. unexpected mnemonic-name location (syn_misc.at:1165): ok (0m0.000s 0m0.091s)
179. wrong device for mnemonic-name (syn_misc.at:1192): ok (0m0.030s 0m0.075s)
180. missing mnemonic-name declaration (syn_misc.at:1217): ok (0m0.015s 0m0.077s)
181. unknown device in dialect (syn_misc.at:1238): ok (0m0.030s 0m0.060s)
182. ACCEPT WITH ( NO ) UPDATE / DEFAULT (syn_misc.at:1268): ok (0m0.000s 0m0.061s)
183. ACCEPT WITH AUTO / TAB (syn_misc.at:1293): ok (0m0.000s 0m0.076s)
184. ACCEPT WITH LOWER / UPPER (syn_misc.at:1318): ok (0m0.015s 0m0.030s)
185. ACCEPT WITH SIZE (syn_misc.at:1340): ok (0m0.000s 0m0.030s)
186. DISPLAY WITH SIZE (syn_misc.at:1369): ok (0m0.015s 0m0.046s)
187. source text after program-text area (syn_misc.at:1394): ok (0m0.030s 0m0.075s)
188. line overflow in Fixed-form / Free-form (syn_misc.at:1415): ok (0m0.060s 0m0.151s)
189. continuation Indicator - too many lines (syn_misc.at:1463): ok (0m0.015s 0m0.122s)
190. continuation of COBOL words (syn_misc.at:2020): ok (0m0.030s 0m0.090s)
191. literal too long (syn_misc.at:2041): ok (0m0.105s 0m0.242s)
192. line and floating comments (syn_misc.at:2276): ok (0m0.135s 0m0.545s)
193. word length (syn_misc.at:2437): ok (0m0.045s 0m0.318s)
194. Numeric literals (syn_misc.at:2600): ok (0m0.030s 0m0.181s)
195. floating-point literals (syn_misc.at:2779): ok (0m0.030s 0m0.138s)
196. X literals (syn_misc.at:2884): ok (0m0.015s 0m0.091s)
197. national literals (syn_misc.at:2911): ok (0m0.075s 0m0.076s)
198. NX literals (syn_misc.at:2941): ok (0m0.015s 0m0.120s)
199. binary literals (syn_misc.at:2979): ok (0m0.000s 0m0.151s)
200. binary-hexadecimal literals (syn_misc.at:3015): ok (0m0.030s 0m0.136s)
201. ACUCOBOL literals (syn_misc.at:3044): ok (0m0.015s 0m0.090s)
202. Segmentation Module (syn_misc.at:3106): ok (0m0.045s 0m0.090s)
203. ACUCOBOL 32bit literal size (syn_misc.at:3198): skipped (syn_misc.at:3200)
204. ACUCOBOL USAGE HANDLE (syn_misc.at:3229): ok (0m0.015s 0m0.091s)
205. ACUCOBOL WINDOW statements (syn_misc.at:3310): ok (0m0.000s 0m0.077s)
206. DISPLAY MESSAGE BOX (syn_misc.at:3360): ok (0m0.015s 0m0.060s)
207. DISPLAY OMITTED (syn_misc.at:3403): ok (0m0.000s 0m0.075s)
208. CGI: EXTERNAL-FORM (syn_misc.at:3424): ok (0m0.015s 0m0.076s)
209. adding/removing reserved words (syn_misc.at:3479): ok (0m0.015s 0m0.045s)
210. adding aliases (syn_misc.at:3506): ok (0m0.000s 0m0.166s)
211. complete specified word list (syn_misc.at:3540): ok (0m0.030s 0m0.106s)
212. ANY LENGTH item as BY VALUE formal parameter (syn_misc.at:3561): ok (0m0.030s 0m0.076s)
213. swapped SOURCE- and OBJECT-COMPUTER (syn_misc.at:3584): ok (0m0.000s 0m0.091s)
214. CONF. SECTION paragraphs in wrong order (syn_misc.at:3603): ok (0m0.030s 0m0.106s)
215. NOT ON EXCEPTION phrases before ON EXCEPTION (syn_misc.at:3670): ok (0m0.030s 0m0.091s)
216. wrong dialect hints (syn_misc.at:3734): ok (0m0.015s 0m0.061s)
217. redundant periods (syn_misc.at:3758): ok (0m0.000s 0m0.076s)
218. IF-ELSE statement with invalid syntax (syn_misc.at:3788): ok (0m0.000s 0m0.060s)
219. STRING / UNSTRING with invalid syntax (syn_misc.at:3821): ok (0m0.015s 0m0.090s)
220. use of program-prototypes (syn_misc.at:3886): ok (0m0.015s 0m0.060s)
221. invalid INSPECT/TRANSFORM operands (syn_misc.at:3913): ok (0m0.015s 0m0.045s)
222. SIGN clause checks (syn_misc.at:3957): ok (0m0.000s 0m0.061s)
223. conflicting entry conventions (syn_misc.at:3982): ok (0m0.015s 0m0.090s)
224. ADD / SUBTRACT TABLE (syn_misc.at:4005): ok (0m0.000s 0m0.075s)
225. Empty PERFORM with DEBUGGING MODE (syn_misc.at:4048): ok (0m0.000s 0m0.045s)
226. STOP identifier (syn_misc.at:4075): ok (0m0.015s 0m0.122s)
227. 01 CONSTANT (syn_misc.at:4101): ok (0m0.030s 0m0.226s)
228. 78 VALUE (syn_misc.at:4149): ok (0m0.015s 0m0.105s)
229. level 78 NEXT / START OF (syn_misc.at:4191): ok (0m0.000s 0m0.075s)
230. Constant Expressions (1) (syn_misc.at:4249): ok (0m0.000s 0m0.075s)
232. ANY LENGTH/NUMERIC with incorrect PIC (syn_misc.at:4436): ok (0m0.045s 0m0.045s)
233. MOVE SPACE TO numeric or numeric-edited item (syn_move.at:37): ok (0m0.015s 0m0.075s)
234. MOVE ZERO TO alphabetic item (syn_move.at:63): ok (0m0.000s 0m0.090s)
235. MOVE alphabetic TO x (syn_move.at:89): ok (0m0.015s 0m0.030s)
236. MOVE alphanumeric TO x (syn_move.at:120): ok (0m0.000s 0m0.046s)
237. MOVE alphanumeric-edited TO x (syn_move.at:148): ok (0m0.015s 0m0.076s)
238. MOVE numeric (integer) TO x (syn_move.at:179): ok (0m0.045s 0m0.015s)
239. MOVE numeric (non-integer) TO x (syn_move.at:209): ok (0m0.015s 0m0.045s)
240. MOVE numeric-edited TO x (syn_move.at:241): ok (0m0.000s 0m0.060s)
241. CORRESPONDING - Operands must be groups (syn_move.at:276): ok (0m0.000s 0m0.091s)
242. CORRESPONDING - Target has no matching items (syn_move.at:306): ok (0m0.015s 0m0.090s)
243. MOVE to erroneous field (syn_move.at:332): ok (0m0.000s 0m0.060s)
244. Overlapping MOVE (syn_move.at:355): ok (0m0.015s 0m0.166s)
245. invalid source for MOVE (syn_move.at:435): ok (0m0.000s 0m0.075s)
246. invalid target for MOVE (syn_move.at:465): ok (0m0.015s 0m0.045s)
247. Category check of Format 1 (syn_multiply.at:28): ok (0m0.015s 0m0.060s)
248. Category check of Format 2 (syn_multiply.at:67): ok (0m0.060s 0m0.030s)
249. Category check of literals (syn_multiply.at:108): ok (0m0.000s 0m0.105s)
250. Flexible ACCEPT/DISPLAY syntax (syn_screen.at:24): ok (0m0.030s 0m0.030s)
251. Duplicate ACCEPT/DISPLAY clauses (syn_screen.at:92): ok (0m0.000s 0m0.076s)
252. AT clause (syn_screen.at:121): ok (0m0.000s 0m0.091s)
253. ACCEPT/DISPLAY extensions detection (syn_screen.at:165): ok (0m0.015s 0m0.030s)
254. FROM clause (syn_screen.at:211): ok (0m0.000s 0m0.060s)
255. SCREEN SECTION clause numbers (syn_screen.at:237): ok (0m0.015s 0m0.075s)
256. Screen clauses (syn_screen.at:265): ok (0m0.000s 0m0.090s)
257. ACCEPT ON EXCEPTION/ESCAPE (syn_screen.at:291): ok (0m0.030s 0m0.015s)
258. Referencing 88-level (syn_screen.at:321): ok (0m0.015s 0m0.076s)
259. Conflicting screen clauses (syn_screen.at:351): ok (0m0.061s 0m0.091s)
261. Redundant screen clauses (syn_screen.at:447): ok (0m0.030s 0m0.046s)
262. Screen item OCCURS w-/wo relative LINE/COL (syn_screen.at:480): ok (0m0.076s 0m0.181s)
263. VALUE clause missing (syn_screen.at:540): ok (0m0.015s 0m0.107s)
264. FULL on numeric item (syn_screen.at:564): ok (0m0.000s 0m0.076s)
265. SET: misc (syn_set.at:24): ok (0m0.030s 0m0.030s)
266. ANY LENGTH / NUMERIC as function RETURNING item (syn_functions.at:22): ok (0m0.015s 0m0.135s)
267. REPOSITORY INTRINSIC phrase (syn_functions.at:64): ok (0m0.015s 0m0.030s)
268. REPOSITORY FUNCTION phrase (syn_functions.at:87): ok (0m0.000s 0m0.030s)
269. Redundant REPOSITORY entries (syn_functions.at:135): ok (0m0.015s 0m0.045s)
270. Missing prototype/definition (syn_functions.at:174): ok (0m0.000s 0m0.061s)
271. Empty function (syn_functions.at:205): ok (0m0.015s 0m0.090s)
272. Function definition inside program (syn_functions.at:232): ok (0m0.000s 0m0.075s)
273. Intrinsic functions: dialect (syn_functions.at:255): ok (0m0.030s 0m0.045s)
274. Intrinsic functions: replaced (syn_functions.at:280): ok (0m0.000s 0m0.076s)
275. Intrinsic functions: number of arguments (syn_functions.at:324): ok (0m0.045s 0m0.030s)
276. Intrinsic functions: reference modification (syn_functions.at:364): ok (0m0.000s 0m0.060s)
277. Intrinsic functions: Parameter type (syn_functions.at:412): ok (0m0.015s 0m0.045s)
278. invalid formatted date/time args (syn_functions.at:435): ok (0m0.015s 0m0.091s)
279. invalid formats w/ DECIMAL-POINT IS COMMA (syn_functions.at:516): ok (0m0.030s 0m0.030s)
280. Specified offset and SYSTEM-OFFSET (syn_functions.at:550): ok (0m0.015s 0m0.060s)
281. FUNCTION LENGTH / BYTE-LENGTH (syn_functions.at:574): ok (0m0.015s 0m0.076s)
282. COPY within comment (listings.at:21): ok (0m0.045s 0m0.424s)
283. Replacement w/o strings (listings.at:97): ok (0m0.075s 0m0.197s)
284. COPY replacement order (listings.at:160): ok (0m0.120s 0m0.379s)
285. COPY separators (listings.at:263): ok (0m0.045s 0m0.210s)
286. COPY partial replacement (listings.at:329): ok (0m0.045s 0m0.180s)
287. COPY LEADING replacement (listings.at:399): ok (0m0.015s 0m0.182s)
288. COPY TRAILING replacement (listings.at:469): ok (0m0.030s 0m0.167s)
289. COPY recursive replacement (listings.at:540): ok (0m0.105s 0m0.213s)
290. COPY multiple files (listings.at:606): ok (0m0.135s 0m0.210s)
291. Error/Warning messages (listings.at:821): ok (0m0.405s 0m1.330s)
292. Two source files (listings.at:1195): ok (0m0.075s 0m0.197s)
293. Multiple programs in one file (listings.at:1263): ok (0m0.301s 0m1.038s)
295. Wide listing (listings.at:1669): ok (0m0.105s 0m0.392s)
296. Symbols: simple (listings.at:1757): ok (0m0.120s 0m0.560s)
297. Symbols: pointer (listings.at:1923): ok (0m0.075s 0m0.152s)
298. Symbols: mutliple programs/functions (listings.at:2203): ok (0m0.030s 0m0.150s)
299. Symbols: OCCURS/REDEFINES (listings.at:2330): ok (0m0.030s 0m0.182s)
300. Conditional compilation (listings.at:2443): ok (0m0.045s 0m0.181s)
301. File descriptions (listings.at:2503): ok (0m0.060s 0m0.257s)
302. Invalid PICTURE strings (listings.at:2856): ok (0m0.075s 0m0.196s)
303. Variable format (listings.at:3177): ok (0m0.045s 0m0.166s)
304. LISTING directive (listings.at:3221): ok (0m0.075s 0m0.211s)
305. Listing-directive statements (listings.at:3322): ok (0m0.015s 0m0.227s)
306. Eject page (listings.at:3383): ok (0m0.105s 0m0.666s)
307. Cross reference (listings.at:3592): ok (0m0.165s 0m0.394s)
308. DISPLAY literals (run_fundamental.at:23): ok (0m0.015s 0m0.106s)
309. DISPLAY literals, DECIMAL-POINT is COMMA (run_fundamental.at:85): ok (0m0.015s 0m0.106s)
310. Hexadecimal literal (run_fundamental.at:124): ok (0m0.030s 0m0.182s)
311. DISPLAY data items with VALUE clause (run_fundamental.at:167): ok (0m0.015s 0m0.076s)
312. DISPLAY data items with MOVE statement (run_fundamental.at:214): ok (0m0.015s 0m0.105s)
313. MOVE to edited item (1) (run_fundamental.at:268): ok (0m0.015s 0m0.106s)
314. MOVE to edited item (2) (run_fundamental.at:317): ok (0m0.030s 0m0.076s)
315. MOVE to item with simple and floating insertion (run_fundamental.at:366): ok (0m0.046s 0m0.061s)
316. MOVE to JUSTIFIED item (run_fundamental.at:396): ok (0m0.045s 0m0.075s)
317. MOVE integer literal to alphanumeric (run_fundamental.at:441): ok (0m0.030s 0m0.122s)
318. Check for equality of FLOAT-SHORT / FLOAT-LONG (run_fundamental.at:466): ok (0m0.045s 0m0.060s)
319. Overlapping MOVE (run_fundamental.at:589): ok (0m0.075s 0m0.197s)
320. Overlapping MOVE (run_fundamental.at:690): ok (0m0.076s 0m0.120s)
321. IBM MOVE (run_fundamental.at:732): ok (0m0.030s 0m0.076s)
322. ALPHABETIC test (run_fundamental.at:771): ok (0m0.015s 0m0.061s)
323. ALPHABETIC-UPPER test (run_fundamental.at:803): ok (0m0.000s 0m0.075s)
324. ALPHABETIC-LOWER test (run_fundamental.at:835): ok (0m0.030s 0m0.045s)
325. GLOBAL at same level (run_fundamental.at:867): ok (0m0.030s 0m0.090s)
326. GLOBAL at lower level (run_fundamental.at:916): ok (0m0.045s 0m0.107s)
327. GLOBAL CONSTANT (run_fundamental.at:965): ok (0m0.030s 0m0.151s)
328. Entry point visibility (1) (run_fundamental.at:1050): ok (0m0.045s 0m0.075s)
329. Entry point visibility (2) (run_fundamental.at:1082): ok (0m0.045s 0m0.151s)
330. Contained program visibility (1) (run_fundamental.at:1115): ok (0m0.015s 0m0.076s)
331. Contained program visibility (2) (run_fundamental.at:1170): ok (0m0.000s 0m0.090s)
332. Contained program visibility (3) (run_fundamental.at:1223): ok (0m0.015s 0m0.061s)
333. Contained program visibility (4) (run_fundamental.at:1274): ok (0m0.015s 0m0.106s)
334. CALL/CANCEL with program-prototype-name (run_fundamental.at:1329): ok (0m0.045s 0m0.121s)
335. GLOBAL FD (1) (run_fundamental.at:1402): ok (0m0.000s 0m0.046s)
336. GLOBAL FD (2) (run_fundamental.at:1452): ok (0m0.015s 0m0.092s)
337. GLOBAL FD (3) (run_fundamental.at:1502): ok (0m0.045s 0m0.030s)
338. GLOBAL FD (4) (run_fundamental.at:1552): ok (0m0.015s 0m0.046s)
339. CANCEL test (1) (run_fundamental.at:1602): ok (0m0.000s 0m0.090s)
340. CANCEL test (2) (run_fundamental.at:1629): ok (0m0.075s 0m0.151s)
341. CANCEL test (3) (run_fundamental.at:1669): ok (0m0.075s 0m0.167s)
342. Separate sign positions (1) (run_fundamental.at:1712): ok (0m0.030s 0m0.075s)
343. Separate sign positions (2) (run_fundamental.at:1736): ok (0m0.060s 0m0.120s)
344. Context sensitive words (1) (run_fundamental.at:1769): ok (0m0.030s 0m0.091s)
345. Context sensitive words (2) (run_fundamental.at:1792): ok (0m0.015s 0m0.060s)
346. Context sensitive words (3) (run_fundamental.at:1816): ok (0m0.015s 0m0.091s)
347. Context sensitive words (4) (run_fundamental.at:1840): ok (0m0.046s 0m0.060s)
348. Context sensitive words (5) (run_fundamental.at:1865): ok (0m0.060s 0m0.060s)
349. Context sensitive words (6) (run_fundamental.at:1888): ok (0m0.045s 0m0.060s)
350. Context sensitive words (7) (run_fundamental.at:1911): ok (0m0.030s 0m0.060s)
351. ROUNDED AWAY-FROM-ZERO (run_fundamental.at:1938): ok (0m0.015s 0m0.105s)
352. ROUNDED NEAREST-AWAY-FROM-ZERO (run_fundamental.at:2001): ok (0m0.015s 0m0.060s)
353. ROUNDED NEAREST-EVEN (run_fundamental.at:2064): ok (0m0.015s 0m0.091s)
354. ROUNDED NEAREST-TOWARD-ZERO (run_fundamental.at:2127): ok (0m0.045s 0m0.106s)
355. ROUNDED TOWARD-GREATER (run_fundamental.at:2190): ok (0m0.030s 0m0.106s)
356. ROUNDED TOWARD-LESSER (run_fundamental.at:2253): ok (0m0.030s 0m0.105s)
357. ROUNDED TRUNCATION (run_fundamental.at:2316): ok (0m0.000s 0m0.090s)
358. Numeric operations (1) (run_fundamental.at:2379): ok (0m0.030s 0m0.075s)
359. Numeric operations (2) (run_fundamental.at:2423): ok (0m0.015s 0m0.092s)
360. Numeric operations (3) (run_fundamental.at:2729): ok (0m0.075s 0m0.060s)
361. Numeric operations (4) (run_fundamental.at:3035): ok (0m0.015s 0m0.091s)
362. Numeric operations (5) (run_fundamental.at:3341): ok (0m0.015s 0m0.106s)
363. Numeric operations (6) (run_fundamental.at:3647): ok (0m0.031s 0m0.169s)
364. Numeric operations (7) (run_fundamental.at:3716): ok (0m0.000s 0m0.076s)
365. Numeric operations (8) (run_fundamental.at:4008): ok (0m0.015s 0m0.061s)
366. ADD CORRESPONDING (run_fundamental.at:4058): ok (0m0.015s 0m0.061s)
367. ADD CORRESPONDING no match (run_fundamental.at:4106): ok (0m0.030s 0m0.091s)
368. SYNC in OCCURS (run_fundamental.at:4156): ok (0m0.000s 0m0.091s)
369. Subscript out of bounds (run_subscripts.at:26): ok (0m0.045s 0m0.151s)
370. Value of DEPENDING ON N out of bounds (run_subscripts.at:71): ok (0m0.015s 0m0.245s)
371. Subscript bounds with OCCURS DEPENDING ON (run_subscripts.at:122): ok (0m0.000s 0m0.075s)
372. Subscript by arithmetic expression (run_subscripts.at:148): ok (0m0.000s 0m0.075s)
373. length of ODO w/- reference modification (run_subscripts.at:179): ok (0m0.015s 0m0.107s)
374. SEARCH ALL with OCCURS DEPENDING ON (run_subscripts.at:235): ok (0m0.030s 0m0.030s)
375. Static reference modification (run_refmod.at:25): ok (0m0.060s 0m0.076s)
376. Dynamic reference modification (run_refmod.at:57): ok (0m0.030s 0m0.091s)
377. Offset underflow (run_refmod.at:94): ok (0m0.015s 0m0.076s)
378. Offset overflow (run_refmod.at:118): ok (0m0.000s 0m0.107s)
379. Length underflow (run_refmod.at:142): ok (0m0.060s 0m0.061s)
380. Length overflow (run_refmod.at:166): ok (0m0.030s 0m0.092s)
381. ACCEPT OMITTED (simple) (run_accept.at:28): ok (0m0.030s 0m0.060s)
382. ACCEPT FROM TIME / DATE / DAY / DAY-OF-WEEK (1) (run_accept.at:54): ok (0m0.015s 0m0.076s)
383. ACCEPT FROM TIME / DATE / DAY / DAY-OF-WEEK (2) (run_accept.at:121): ok (0m0.060s 0m0.060s)
384. ACCEPT OMITTED (SCREEN) (run_accept.at:207): skipped (run_accept.at:210)
385. INITIALIZE group entry with OCCURS (run_initialize.at:27): ok (0m0.015s 0m0.092s)
386. INITIALIZE OCCURS with numeric edited (run_initialize.at:55): ok (0m0.030s 0m0.060s)
387. INITIALIZE complex group (1) (run_initialize.at:81): ok (0m0.000s 0m0.076s)
388. INITIALIZE complex group (2) (run_initialize.at:108): ok (0m0.015s 0m0.030s)
389. INITIALIZE with REDEFINES (run_initialize.at:135): ok (0m0.015s 0m0.106s)
390. INITIALIZE with FILLER (run_initialize.at:161): ok (0m0.000s 0m0.076s)
391. INITIALIZE of EXTERNAL data items (run_initialize.at:227): ok (0m0.015s 0m0.076s)
392. INITIALIZE with reference modification (run_initialize.at:277): ok (0m0.030s 0m0.045s)
393. Comma separator without space (run_misc.at:23): ok (0m0.000s 0m0.075s)
394. LOCAL-STORAGE (1) (run_misc.at:41): ok (0m0.045s 0m0.136s)
395. LOCAL-STORAGE (2) (run_misc.at:77): ok (0m0.045s 0m0.150s)
396. EXTERNAL data item (run_misc.at:125): ok (0m0.030s 0m0.106s)
397. EXTERNAL AS data item (run_misc.at:167): ok (0m0.045s 0m0.091s)
398. MOVE to itself (run_misc.at:218): ok (0m0.061s 0m0.045s)
399. MOVE with refmod (run_misc.at:244): ok (0m0.030s 0m0.045s)
400. MOVE with refmod (variable) (run_misc.at:268): ok (0m0.030s 0m0.045s)
401. MOVE with group refmod (run_misc.at:294): ok (0m0.000s 0m0.091s)
402. MOVE indexes (run_misc.at:319): ok (0m0.045s 0m0.045s)
403. MOVE X'00' (run_misc.at:345): ok (0m0.076s 0m0.090s)
404. MOVE Z'literal' (run_misc.at:380): ok (0m0.015s 0m0.075s)
405. Floating continuation indicator (run_misc.at:422): ok (0m0.045s 0m0.060s)
406. Fixed continuation indicator (run_misc.at:444): ok (0m0.030s 0m0.091s)
407. Concatenation operator (run_misc.at:486): ok (0m0.000s 0m0.122s)
408. SOURCE FIXED/FREE directives (run_misc.at:510): ok (0m0.060s 0m0.045s)
409. Level 01 subscripts (run_misc.at:547): ok (0m0.030s 0m0.061s)
410. Class check with reference modification (run_misc.at:569): ok (0m0.000s 0m0.076s)
411. Index and parenthesized expression (run_misc.at:593): ok (0m0.000s 0m0.090s)
412. Alphanumeric and binary numeric (run_misc.at:617): ok (0m0.045s 0m0.030s)
413. Dynamic call with static linking (run_misc.at:644): ok (0m0.045s 0m0.105s)
414. CALL m1. CALL m2. CALL m1. (run_misc.at:671): ok (0m0.045s 0m0.120s)
417. Multiple calls of INITIAL program (run_misc.at:828): ok (0m0.030s 0m0.121s)
418. CALL binary literal parameter/LENGTH OF (run_misc.at:885): ok (0m0.075s 0m0.150s)
419. INSPECT: REPLACING LEADING ZEROS BY SPACES (run_misc.at:939): ok (0m0.030s 0m0.060s)
420. INSPECT: No repeat conversion check (run_misc.at:963): ok (0m0.000s 0m0.061s)
421. INSPECT: CONVERTING TO figurative constant (run_misc.at:987): ok (0m0.015s 0m0.060s)
422. INSPECT: CONVERTING NULL (run_misc.at:1011): ok (0m0.015s 0m0.090s)
423. INSPECT: CONVERTING TO NULL (run_misc.at:1035): ok (0m0.015s 0m0.076s)
424. INSPECT: REPLACING figurative constant (run_misc.at:1059): ok (0m0.000s 0m0.107s)
425. INSPECT: TALLYING BEFORE (run_misc.at:1083): ok (0m0.015s 0m0.060s)
426. INSPECT: TALLYING AFTER (run_misc.at:1118): ok (0m0.015s 0m0.060s)
427. INSPECT: REPLACING TRAILING ZEROS BY SPACES (run_misc.at:1153): ok (0m0.015s 0m0.061s)
428. INSPECT: REPLACING complex (run_misc.at:1177): ok (0m0.030s 0m0.076s)
429. SWITCHES (environment COB_SWITCH_n and SET) (run_misc.at:1203): ok (0m0.046s 0m0.121s)
430. Nested PERFORM (run_misc.at:1300): ok (0m0.060s 0m0.091s)
431. EXIT PERFORM (run_misc.at:1325): ok (0m0.045s 0m0.060s)
432. EXIT PERFORM CYCLE (run_misc.at:1350): ok (0m0.015s 0m0.106s)
433. EXIT PARAGRAPH (run_misc.at:1375): ok (0m0.000s 0m0.076s)
434. EXIT SECTION (run_misc.at:1407): ok (0m0.000s 0m0.076s)
435. PERFORM UNTIL EXIT (run_misc.at:1441): ok (0m0.000s 0m0.107s)
436. PERFORM inline (1) (run_misc.at:1472): ok (0m0.015s 0m0.060s)
437. PERFORM inline (2) (run_misc.at:1499): ok (0m0.000s 0m0.108s)
438. 88 with FILLER (run_misc.at:1524): ok (0m0.000s 0m0.060s)
439. Non-overflow after overflow (run_misc.at:1553): ok (0m0.015s 0m0.060s)
440. PERFORM ... CONTINUE (run_misc.at:1583): ok (0m0.015s 0m0.046s)
441. STRING with subscript reference (run_misc.at:1600): ok (0m0.000s 0m0.060s)
442. UNSTRING DELIMITED ALL LOW-VALUE (run_misc.at:1627): ok (0m0.015s 0m0.075s)
443. UNSTRING DELIMITED ALL SPACE-2 (run_misc.at:1662): ok (0m0.000s 0m0.107s)
444. UNSTRING DELIMITED POINTER (run_misc.at:1727): ok (0m0.045s 0m0.060s)
445. UNSTRING DELIMITER IN (run_misc.at:1781): ok (0m0.000s 0m0.076s)
446. UNSTRING with FUNCTION / literal (run_misc.at:1823): ok (0m0.015s 0m0.090s)
447. SORT: table sort (run_misc.at:1893): ok (0m0.000s 0m0.092s)
448. SORT: table sort (2) (run_misc.at:1935): ok (0m0.000s 0m0.106s)
449. SORT: table sort (3) (run_misc.at:2060): skipped (run_misc.at:2061)
450. SORT: EBCDIC table sort (run_misc.at:2101): ok (0m0.000s 0m0.075s)
451. PIC ZZZ-, ZZZ+ (run_misc.at:2139): ok (0m0.045s 0m0.092s)
452. PERFORM type OSVS (run_misc.at:2192): ok (0m0.031s 0m0.076s)
453. Sticky LINKAGE (run_misc.at:2229): ok (0m0.015s 0m0.106s)
454. COB_PRE_LOAD test (run_misc.at:2276): ok (0m0.030s 0m0.107s)
457. COB_LOAD_CASE=UPPER test (run_misc.at:2418): ok (0m0.060s 0m0.092s)
458. 88 level with FALSE IS clause (run_misc.at:2444): ok (0m0.030s 0m0.015s)
459. ALLOCATE / FREE with BASED item (1) (run_misc.at:2472): ok (0m0.015s 0m0.092s)
460. ALLOCATE / FREE with BASED item (2) (run_misc.at:2499): ok (0m0.030s 0m0.106s)
461. ALLOCATE CHARACTERS INITIALIZED TO (run_misc.at:2546): ok (0m0.000s 0m0.092s)
462. Initialized value with defaultbyte (run_misc.at:2587): ok (0m0.000s 0m0.060s)
463. CALL with OMITTED parameter (run_misc.at:2612): ok (0m0.045s 0m0.121s)
464. CALL in from C, cob_call_params explicitly set (run_misc.at:2651): ok (0m0.015s 0m0.120s)
465. CALL in from C, cob_call_params unknown (run_misc.at:2700): ok (0m0.060s 0m0.091s)
466. CALL C with callback, PROCEDURE DIVISION EXTERN (run_misc.at:2747): ok (0m0.015s 0m0.061s)
467. CALL C with callback, ENTRY-CONVENTION EXTERN (run_misc.at:2813): ok (0m0.000s 0m0.075s)
468. CALL in from C with init missing / implicit (run_misc.at:2879): ok (0m0.075s 0m0.183s)
469. CALL STATIC C from COBOL (run_misc.at:2929): ok (0m0.015s 0m0.137s)
470. ANY LENGTH (1) (run_misc.at:2985): ok (0m0.030s 0m0.091s)
471. ANY LENGTH (2) (run_misc.at:3028): ok (0m0.000s 0m0.106s)
472. access to BASED item without allocation (run_misc.at:3072): ok (0m0.076s 0m0.196s)
473. access to OPTIONAL LINKAGE item not passed (run_misc.at:3113): ok (0m0.030s 0m0.120s)
474. STOP RUN WITH NORMAL STATUS (run_misc.at:3155): ok (0m0.015s 0m0.061s)
475. STOP RUN WITH ERROR STATUS (run_misc.at:3173): ok (0m0.015s 0m0.076s)
476. DECLARATIVES procedure referencing (run_misc.at:3191): ok (0m0.015s 0m0.091s)
477. DECLARATIVES procedure referencing (multiple) (run_misc.at:3231): ok (0m0.045s 0m0.045s)
478. SYMBOLIC clause (run_misc.at:3275): ok (0m0.000s 0m0.077s)
479. OCCURS clause with 1 entry (run_misc.at:3312): ok (0m0.060s 0m0.061s)
480. Computing of different USAGEs w/o decimal point (run_misc.at:3361): ok (0m0.045s 0m0.105s)
481. Computing of different USAGEs w/- decimal point (run_misc.at:3869): ok (0m0.015s 0m0.106s)
482. C/C++ reserved words/predefined identifiers (run_misc.at:4377): ok (0m0.061s 0m0.135s)
483. ON EXCEPTION clause of DISPLAY (run_misc.at:4837): skipped (run_misc.at:4840)
484. EC-SCREEN-LINE-NUMBER and -STARTING-COLUMN (run_misc.at:4862): skipped (run_misc.at:4865)
485. LINE/COLUMN 0 exceptions (run_misc.at:4903): skipped (run_misc.at:4906)
486. SET LAST EXCEPTION TO OFF (run_misc.at:4941): ok (0m0.000s 0m0.137s)
487. void PROCEDURE (run_misc.at:4973): ok (0m0.030s 0m0.151s)
488. void PROCEDURE, NOTHING return (run_misc.at:5003): ok (0m0.090s 0m0.075s)
489. READY TRACE / RESET TRACE (run_misc.at:5034): ok (0m0.030s 0m0.211s)
490. CALL with program prototypes (run_misc.at:5162): ok (0m0.000s 0m0.092s)
492. PICTURE with constant-name (run_misc.at:5271): ok (0m0.015s 0m0.060s)
493. Quote marks in comment paragraphs (run_misc.at:5296): ok (0m0.031s 0m0.167s)
494. MOVE with -fbinary-truncate (run_misc.at:5321): ok (0m0.046s 0m0.135s)
495. PROGRAM-ID / CALL literal/variable with spaces (run_misc.at:5377): ok (0m0.030s 0m0.106s)
497. DEFAULT ROUNDED MODE (run_misc.at:5657): ok (0m0.060s 0m0.106s)
498. OCCURS INDEXED ASCENDING (run_misc.at:5687): ok (0m0.045s 0m0.107s)
499. ZERO unsigned and negative binary subscript (run_misc.at:5785): ok (0m0.015s 0m0.212s)
500. Default Arithmetic (run_misc.at:5848): ok (0m0.045s 0m0.076s)
501. OSVS Arithmetic (run_misc.at:5952): ok (0m0.060s 0m0.121s)
502. SET CONSTANT directive (run_misc.at:6074): ok (0m0.060s 0m0.289s)
503. DEFINE OVERRIDE (run_misc.at:6177): ok (0m0.030s 0m0.075s)
504. DEFINE Defaults (run_misc.at:6243): ok (0m0.000s 0m0.060s)
505. 78 VALUE (run_misc.at:6309): ok (0m0.015s 0m0.060s)
506. 01 CONSTANT (run_misc.at:6377): ok (0m0.045s 0m0.060s)
507. READ INTO AT-END sequence (run_file.at:22): ok (0m0.015s 0m0.076s)
508. First READ on empty SEQUENTIAL INDEXED file (run_file.at:59): ok (0m0.031s 0m0.091s)
509. REWRITE a RELATIVE file with RANDOM access (run_file.at:99): ok (0m0.030s 0m0.076s)
510. SORT with SD, I/O SEQUENTIAL (run_file.at:166): ok (0m0.015s 0m0.091s)
511. SORT with SD, I/O LINE SEQUENTIAL (run_file.at:216): ok (0m0.045s 0m0.105s)
512. SORT with SD, I/O LINE SEQUENTIAL same file (run_file.at:275): ok (0m0.030s 0m0.168s)
513. SORT nonexistent file (run_file.at:332): ok (0m0.015s 0m0.060s)
514. ASSIGN with LOCAL-STORAGE item (run_file.at:367): ok (0m0.000s 0m0.090s)
515. ASSIGN with LOCAL-STORAGE item and INITIAL prog (run_file.at:404): ok (0m0.000s 0m0.106s)
517. WRITE+REWRITE FILE name (run_file.at:487): ok (0m0.015s 0m0.137s)
518. START RELATIVE (1) (run_file.at:639): ok (0m0.000s 0m0.076s)
519. START RELATIVE (2) (run_file.at:688): ok (0m0.045s 0m0.061s)
520. Read on optional missing file (run_file.at:765): ok (0m0.015s 0m0.107s)
521. EXTERNAL RELATIVE file (run_file.at:825): ok (0m0.045s 0m0.061s)
522. System routines for directories (run_file.at:860): ok (0m0.045s 0m0.045s)
523. System routines for files (run_file.at:902): ok (0m0.060s 0m0.166s)
524. System routine CBL_COPY_FILE (run_file.at:1072): ok (0m0.045s 0m0.106s)
525. RETURN-CODE moving (run_returncode.at:23): ok (0m0.015s 0m0.061s)
526. RETURN-CODE passing (run_returncode.at:49): ok (0m0.045s 0m0.121s)
527. RETURN-CODE nested (run_returncode.at:101): ok (0m0.030s 0m0.075s)
528. FUNCTION ABS (run_functions.at:24): ok (0m0.045s 0m0.106s)
529. FUNCTION ACOS (run_functions.at:46): ok (0m0.015s 0m0.090s)
530. FUNCTION ANNUITY (run_functions.at:70): ok (0m0.015s 0m0.061s)
531. FUNCTION ASIN (run_functions.at:94): ok (0m0.015s 0m0.061s)
532. FUNCTION ATAN (run_functions.at:118): ok (0m0.015s 0m0.045s)
533. FUNCTION BYTE-LENGTH (run_functions.at:142): ok (0m0.015s 0m0.090s)
534. FUNCTION CHAR (run_functions.at:177): ok (0m0.030s 0m0.060s)
535. FUNCTION COMBINED-DATETIME (run_functions.at:215): ok (0m0.030s 0m0.030s)
536. FUNCTION CONCATENATE (run_functions.at:240): ok (0m0.000s 0m0.076s)
537. FUNCTION CONCATENATE with reference modding (run_functions.at:279): ok (0m0.000s 0m0.076s)
538. FUNCTION as CALL parameter BY CONTENT (run_functions.at:307): ok (0m0.045s 0m0.090s)
539. FUNCTION COS (run_functions.at:343): ok (0m0.015s 0m0.045s)
540. FUNCTION CURRENCY-SYMBOL (run_functions.at:367): ok (0m0.060s 0m0.045s)
541. FUNCTION CURRENT-DATE (run_functions.at:390): ok (0m0.030s 0m0.075s)
542. FUNCTION DATE-OF-INTEGER (run_functions.at:461): ok (0m0.000s 0m0.076s)
543. FUNCTION DATE-TO-YYYYMMDD (run_functions.at:486): ok (0m0.030s 0m0.045s)
544. FUNCTION DAY-OF-INTEGER (run_functions.at:511): ok (0m0.045s 0m0.030s)
545. FUNCTION DAY-TO-YYYYDDD (run_functions.at:536): ok (0m0.030s 0m0.061s)
546. FUNCTION E (run_functions.at:561): ok (0m0.015s 0m0.060s)
547. FUNCTION EXCEPTION-FILE (run_functions.at:585): ok (0m0.045s 0m0.075s)
548. FUNCTION EXCEPTION-LOCATION (run_functions.at:617): ok (0m0.030s 0m0.122s)
549. FUNCTION EXCEPTION-STATEMENT (run_functions.at:653): ok (0m0.015s 0m0.091s)
550. FUNCTION EXCEPTION-STATUS (run_functions.at:685): ok (0m0.015s 0m0.092s)
551. FUNCTION EXP (run_functions.at:717): ok (0m0.046s 0m0.045s)
552. FUNCTION EXP10 (run_functions.at:741): ok (0m0.030s 0m0.045s)
553. FUNCTION FACTORIAL (run_functions.at:766): ok (0m0.030s 0m0.060s)
554. FUNCTION FORMATTED-CURRENT-DATE (run_functions.at:791): ok (0m0.030s 0m0.045s)
555. FUNCTION FORMATTED-DATE (run_functions.at:819): ok (0m0.061s 0m0.030s)
556. FUNCTION FORMATTED-DATE with ref modding (run_functions.at:882): ok (0m0.046s 0m0.045s)
557. FUNCTION FORMATTED-DATETIME (run_functions.at:907): ok (0m0.030s 0m0.030s)
558. FUNCTION FORMATTED-DATETIME with ref modding (run_functions.at:964): ok (0m0.015s 0m0.076s)
559. FUNCTION FORMATTED-TIME (run_functions.at:990): ok (0m0.030s 0m0.060s)
560. FUNCTION FORMATTED-TIME DP.COMMA (run_functions.at:1077): ok (0m0.030s 0m0.061s)
561. FUNCTION FORMATTED-TIME with ref modding (run_functions.at:1108): ok (0m0.060s 0m0.045s)
562. FUNCTION FRACTION-PART (run_functions.at:1133): ok (0m0.030s 0m0.060s)
563. FUNCTION HIGHEST-ALGEBRAIC (run_functions.at:1164): ok (0m0.015s 0m0.045s)
564. FUNCTION INTEGER (run_functions.at:1232): ok (0m0.015s 0m0.091s)
565. FUNCTION INTEGER-OF-DATE (run_functions.at:1265): ok (0m0.015s 0m0.076s)
566. FUNCTION INTEGER-OF-DAY (run_functions.at:1290): ok (0m0.000s 0m0.107s)
567. FUNCTION INTEGER-OF-FORMATTED-DATE (run_functions.at:1315): ok (0m0.015s 0m0.045s)
568. FUNCTION INTEGER-PART (run_functions.at:1365): ok (0m0.015s 0m0.075s)
569. FUNCTION LENGTH (run_functions.at:1391): ok (0m0.015s 0m0.030s)
570. FUNCTION LOCALE-COMPARE (run_functions.at:1417): ok (0m0.046s 0m0.062s)
571. FUNCTION LOCALE-DATE (run_functions.at:1447): ok (0m0.015s 0m0.106s)
572. FUNCTION LOCALE-TIME (run_functions.at:1473): ok (0m0.045s 0m0.076s)
573. FUNCTION LOCALE-TIME-FROM-SECONDS (run_functions.at:1499): ok (0m0.015s 0m0.091s)
574. FUNCTION LOG (run_functions.at:1525): ok (0m0.015s 0m0.075s)
575. FUNCTION LOG10 (run_functions.at:1549): ok (0m0.000s 0m0.045s)
576. FUNCTION LOWER-CASE (run_functions.at:1573): ok (0m0.015s 0m0.091s)
577. FUNCTION LOWER-CASE with reference modding (run_functions.at:1601): ok (0m0.000s 0m0.090s)
578. FUNCTION LOWEST-ALGEBRAIC (run_functions.at:1627): ok (0m0.030s 0m0.076s)
579. FUNCTION MAX (run_functions.at:1680): ok (0m0.015s 0m0.106s)
580. FUNCTION MEAN (run_functions.at:1702): ok (0m0.030s 0m0.107s)
581. FUNCTION MEDIAN (run_functions.at:1724): ok (0m0.015s 0m0.076s)
582. FUNCTION MIDRANGE (run_functions.at:1746): ok (0m0.030s 0m0.060s)
583. FUNCTION MIN (run_functions.at:1768): ok (0m0.015s 0m0.090s)
584. FUNCTION MOD (run_functions.at:1790): ok (0m0.015s 0m0.075s)
585. FUNCTION MODULE-CALLER-ID (run_functions.at:1816): ok (0m0.030s 0m0.150s)
586. FUNCTION MODULE-DATE (run_functions.at:1850): ok (0m0.000s 0m0.137s)
587. FUNCTION MODULE-FORMATTED-DATE (run_functions.at:1875): ok (0m0.030s 0m0.091s)
588. FUNCTION MODULE-ID (run_functions.at:1900): ok (0m0.015s 0m0.137s)
589. FUNCTION MODULE-PATH (run_functions.at:1921): ok (0m0.030s 0m0.106s)
590. FUNCTION MODULE-SOURCE (run_functions.at:1946): ok (0m0.045s 0m0.075s)
591. FUNCTION MODULE-TIME (run_functions.at:1967): ok (0m0.030s 0m0.076s)
592. FUNCTION MONETARY-DECIMAL-POINT (run_functions.at:1992): ok (0m0.045s 0m0.090s)
593. FUNCTION MONETARY-THOUSANDS-SEPARATOR (run_functions.at:2015): ok (0m0.076s 0m0.060s)
594. FUNCTION NUMERIC-DECIMAL-POINT (run_functions.at:2038): ok (0m0.045s 0m0.045s)
595. FUNCTION NUMERIC-THOUSANDS-SEPARATOR (run_functions.at:2061): ok (0m0.045s 0m0.075s)
596. FUNCTION NUMVAL (run_functions.at:2084): ok (0m0.000s 0m0.091s)
597. FUNCTION NUMVAL-C (run_functions.at:2115): ok (0m0.030s 0m0.076s)
598. FUNCTION NUMVAL-C DP.COMMA (run_functions.at:2146): ok (0m0.015s 0m0.060s)
599. FUNCTION NUMVAL-F (run_functions.at:2176): ok (0m0.045s 0m0.092s)
600. FUNCTION ORD (run_functions.at:2199): ok (0m0.061s 0m0.031s)
601. FUNCTION ORD-MAX (run_functions.at:2221): ok (0m0.000s 0m0.137s)
602. FUNCTION ORD-MIN (run_functions.at:2243): ok (0m0.000s 0m0.091s)
603. FUNCTION PI (run_functions.at:2265): ok (0m0.015s 0m0.061s)
604. FUNCTION PRESENT-VALUE (run_functions.at:2289): ok (0m0.015s 0m0.076s)
605. FUNCTION RANDOM (run_functions.at:2311): ok (0m0.015s 0m0.015s)
606. FUNCTION RANGE (run_functions.at:2335): ok (0m0.030s 0m0.061s)
607. FUNCTION REM (run_functions.at:2359): ok (0m0.045s 0m0.060s)
608. FUNCTION REVERSE (run_functions.at:2383): ok (0m0.045s 0m0.046s)
609. FUNCTION REVERSE with reference modding (run_functions.at:2408): ok (0m0.000s 0m0.061s)
610. FUNCTION SECONDS-FROM-FORMATTED-TIME (run_functions.at:2433): ok (0m0.015s 0m0.045s)
611. FUNCTION SECONDS-PAST-MIDNIGHT (run_functions.at:2500): ok (0m0.046s 0m0.030s)
612. FUNCTION SIGN (run_functions.at:2524): ok (0m0.030s 0m0.060s)
613. FUNCTION SIN (run_functions.at:2563): ok (0m0.030s 0m0.076s)
614. FUNCTION SQRT (run_functions.at:2587): ok (0m0.031s 0m0.045s)
615. FUNCTION STANDARD-DEVIATION (run_functions.at:2611): ok (0m0.045s 0m0.030s)
616. FUNCTION STORED-CHAR-LENGTH (run_functions.at:2635): ok (0m0.000s 0m0.060s)
617. FUNCTION SUBSTITUTE (run_functions.at:2661): ok (0m0.015s 0m0.076s)
618. FUNCTION SUBSTITUTE with reference modding (run_functions.at:2690): ok (0m0.045s 0m0.045s)
619. FUNCTION SUBSTITUTE-CASE (run_functions.at:2718): ok (0m0.015s 0m0.060s)
620. FUNCTION SUBSTITUTE-CASE with reference mod (run_functions.at:2745): ok (0m0.015s 0m0.076s)
621. FUNCTION SUM (run_functions.at:2773): ok (0m0.046s 0m0.030s)
622. FUNCTION TAN (run_functions.at:2797): ok (0m0.015s 0m0.060s)
623. FUNCTION TEST-DATE-YYYYMMDD (run_functions.at:2821): ok (0m0.030s 0m0.030s)
624. FUNCTION TEST-DAY-YYYYDDD (run_functions.at:2843): ok (0m0.015s 0m0.106s)
625. FUNCTION TEST-FORMATTED-DATETIME with dates (run_functions.at:2865): ok (0m0.015s 0m0.076s)
626. FUNCTION TEST-FORMATTED-DATETIME with times (run_functions.at:2992): ok (0m0.046s 0m0.060s)
627. FUNCTION TEST-FORMATTED-DATETIME with datetimes (run_functions.at:3073): ok (0m0.015s 0m0.076s)
628. FUNCTION TEST-FORMATTED-DATETIME DP.COMMA (run_functions.at:3126): ok (0m0.015s 0m0.045s)
629. FUNCTION TEST-NUMVAL (run_functions.at:3167): ok (0m0.030s 0m0.046s)
630. FUNCTION TEST-NUMVAL-C (run_functions.at:3265): ok (0m0.045s 0m0.061s)
631. FUNCTION TEST-NUMVAL-F (run_functions.at:3363): ok (0m0.000s 0m0.060s)
632. FUNCTION TRIM (run_functions.at:3461): ok (0m0.030s 0m0.075s)
633. FUNCTION TRIM with reference modding (run_functions.at:3487): ok (0m0.000s 0m0.121s)
634. FUNCTION TRIM zero length (run_functions.at:3513): ok (0m0.000s 0m0.120s)
635. FUNCTION UPPER-CASE (run_functions.at:3540): ok (0m0.015s 0m0.076s)
636. FUNCTION UPPER-CASE with reference modding (run_functions.at:3565): ok (0m0.015s 0m0.030s)
637. FUNCTION VARIANCE (run_functions.at:3590): ok (0m0.015s 0m0.060s)
638. FUNCTION WHEN-COMPILED (run_functions.at:3614): ok (0m0.015s 0m0.092s)
639. FUNCTION YEAR-TO-YYYY (run_functions.at:3640): ok (0m0.045s 0m0.060s)
640. Formatted funcs w/ invalid variable format (run_functions.at:3664): ok (0m0.030s 0m0.121s)
641. FORMATTED-(DATE)TIME with SYSTEM-OFFSET (run_functions.at:3766): ok (0m0.015s 0m0.075s)
642. Intrinsics without FUNCTION keyword (1) (run_functions.at:3806): ok (0m0.015s 0m0.030s)
643. Intrinsics without FUNCTION keyword (2) (run_functions.at:3827): ok (0m0.015s 0m0.076s)
644. User-Defined FUNCTION with/without parameter (run_functions.at:3850): ok (0m0.000s 0m0.076s)
645. UDF in COMPUTE (run_functions.at:3901): ok (0m0.015s 0m0.060s)
646. UDF replacing intrinsic function (run_functions.at:3944): ok (0m0.031s 0m0.075s)
647. CALL BY CONTENT binary and literal (run_extensions.at:24): ok (0m0.030s 0m0.138s)
648. Numeric Boolean literal (run_extensions.at:72): ok (0m0.015s 0m0.075s)
649. ACUCOBOL literal (run_extensions.at:102): ok (0m0.000s 0m0.122s)
650. Hexadecimal numeric literal (run_extensions.at:129): ok (0m0.015s 0m0.060s)
651. Semi-parenthesized condition (run_extensions.at:157): ok (0m0.030s 0m0.045s)
652. ADDRESS OF (run_extensions.at:177): ok (0m0.030s 0m0.045s)
653. LENGTH OF (run_extensions.at:227): ok (0m0.030s 0m0.060s)
654. SET TO SIZE OF (run_extensions.at:303): ok (0m0.015s 0m0.060s)
655. WHEN-COMPILED (run_extensions.at:340): ok (0m0.000s 0m0.061s)
656. Complex OCCURS DEPENDING ON (1) (run_extensions.at:369): ok (0m0.030s 0m0.107s)
657. Complex OCCURS DEPENDING ON (2) (run_extensions.at:398): ok (0m0.046s 0m0.061s)
658. Complex OCCURS DEPENDING ON (3) (run_extensions.at:461): ok (0m0.000s 0m0.075s)
659. Complex OCCURS DEPENDING ON (4) (run_extensions.at:524): ok (0m0.015s 0m0.092s)
660. Complex OCCURS DEPENDING ON (5) (run_extensions.at:590): ok (0m0.045s 0m0.107s)
661. Complex OCCURS DEPENDING ON (6) (run_extensions.at:657): skipped (run_extensions.at:660)
662. Complex OCCURS DEPENDING ON (7) (run_extensions.at:701): skipped (run_extensions.at:704)
663. OCCURS UNBOUNDED (run_extensions.at:745): ok (0m0.015s 0m0.060s)
664. INITIALIZE level 01 (run_extensions.at:789): ok (0m0.015s 0m0.076s)
665. MOVE of non-integer to alphanumeric (run_extensions.at:841): ok (0m0.030s 0m0.106s)
666. CALL USING file-name (run_extensions.at:931): ok (0m0.045s 0m0.076s)
667. CALL unusual PROGRAM-ID. (run_extensions.at:976): ok (0m0.090s 0m0.195s)
668. CALL / GOBACK with LOCAL-STORAGE (run_extensions.at:1041): ok (0m0.030s 0m0.136s)
669. CALL BY VALUE alphanumeric item (run_extensions.at:1091): ok (0m0.015s 0m0.075s)
670. CALL BY VALUE numeric literal WITH SIZE (run_extensions.at:1128): ok (0m0.045s 0m0.060s)
671. Case-sensitive PROGRAM-ID (run_extensions.at:1231): ok (0m0.015s 0m0.061s)
672. PROGRAM-ID AS clause (run_extensions.at:1254): ok (0m0.046s 0m0.060s)
673. Quoted PROGRAM-ID (run_extensions.at:1277): ok (0m0.015s 0m0.077s)
674. ASSIGN clause (run_extensions.at:1301): ok (0m0.000s 0m0.090s)
675. ASSIGN clause IBM (run_extensions.at:1330): ok (0m0.031s 0m0.076s)
676. ASSIGN mapping (run_extensions.at:1359): ok (0m0.060s 0m0.226s)
677. ASSIGN expansion (run_extensions.at:1415): ok (0m0.015s 0m0.090s)
678. ASSIGN with COB_FILE_PATH (run_extensions.at:1442): ok (0m0.000s 0m0.138s)
679. NUMBER-OF-CALL-PARAMETERS (run_extensions.at:1469): ok (0m0.015s 0m0.136s)
680. TALLY (run_extensions.at:1524): ok (0m0.015s 0m0.137s)
681. Redefining TALLY (run_extensions.at:1558): ok (0m0.030s 0m0.105s)
682. PROCEDURE DIVISION USING BY ... (run_extensions.at:1593): ok (0m0.060s 0m0.090s)
683. PROCEDURE DIVISION CHAINING (run_extensions.at:1645): ok (0m0.105s 0m0.500s)
684. STOP RUN RETURNING/GIVING (run_extensions.at:1762): ok (0m0.106s 0m0.211s)
685. GOBACK/EXIT PROGRAM RETURNING/GIVING (run_extensions.at:1818): ok (0m0.030s 0m0.092s)
686. ENTRY (run_extensions.at:1868): ok (0m0.031s 0m0.152s)
687. LINE SEQUENTIAL write (run_extensions.at:1914): ok (0m0.015s 0m0.105s)
688. LINE SEQUENTIAL read (run_extensions.at:1960): ok (0m0.091s 0m0.060s)
689. ASSIGN to KEYBOARD/DISPLAY (run_extensions.at:2027): ok (0m0.030s 0m0.121s)
691. Environment/Argument variable (run_extensions.at:2147): ok (0m0.045s 0m0.090s)
692. DECIMAL-POINT is COMMA (1) (run_extensions.at:2194): ok (0m0.030s 0m0.045s)
693. DECIMAL-POINT is COMMA (2) (run_extensions.at:2222): ok (0m0.000s 0m0.107s)
694. DECIMAL-POINT is COMMA (3) (run_extensions.at:2250): ok (0m0.030s 0m0.045s)
695. DECIMAL-POINT is COMMA (4) (run_extensions.at:2278): ok (0m0.015s 0m0.105s)
696. DECIMAL-POINT is COMMA (5) (run_extensions.at:2306): ok (0m0.030s 0m0.090s)
697. 78 Level (1) (run_extensions.at:2340): ok (0m0.000s 0m0.076s)
698. 78 Level (2) (run_extensions.at:2363): ok (0m0.046s 0m0.076s)
699. 78 Level (3) (run_extensions.at:2389): ok (0m0.000s 0m0.091s)
700. DEBUG (not active) (run_extensions.at:2413): ok (0m0.015s 0m0.061s)
701. DEBUG (fdebugging-line) (run_extensions.at:2436): ok (0m0.030s 0m0.075s)
702. DEBUG (obsolete WITH DEBUGGING MODE) (run_extensions.at:2459): ok (0m0.015s 0m0.075s)
703. DEBUG free format (not active) (run_extensions.at:2485): ok (0m0.015s 0m0.120s)
704. DEBUG free format (fdebugging-line) (run_extensions.at:2508): ok (0m0.015s 0m0.106s)
705. SWITCHES with non-standard names (run_extensions.at:2531): ok (0m0.046s 0m0.061s)
706. Larger REDEFINES lengths (run_extensions.at:2644): ok (0m0.060s 0m0.061s)
707. Obsolete 2002 keywords with COBOL2014 (run_extensions.at:2729): ok (0m0.030s 0m0.091s)
708. System routine with wrong number of parameters (run_extensions.at:2759): ok (0m0.060s 0m0.138s)
709. System routine C$NARG (run_extensions.at:2802): ok (0m0.045s 0m0.242s)
710. System routine C$PARAMSIZE (run_extensions.at:2879): ok (0m0.045s 0m0.076s)
711. System routine C$CALLEDBY (run_extensions.at:2921): ok (0m0.060s 0m0.135s)
712. System routine C$JUSTIFY (run_extensions.at:2967): ok (0m0.045s 0m0.030s)
713. System routine C$PRINTABLE (run_extensions.at:2992): ok (0m0.015s 0m0.060s)
714. System routine C$MAKEDIR (run_extensions.at:3021): ok (0m0.015s 0m0.137s)
715. System routine C$GETPID (run_extensions.at:3042): ok (0m0.015s 0m0.077s)
716. System routine C$TOUPPER (run_extensions.at:3067): ok (0m0.000s 0m0.092s)
717. System routine C$TOLOWER (run_extensions.at:3092): ok (0m0.015s 0m0.076s)
718. System routine CBL_OR (run_extensions.at:3117): ok (0m0.015s 0m0.106s)
719. System routine CBL_NOR (run_extensions.at:3144): ok (0m0.015s 0m0.091s)
720. System routine CBL_AND (run_extensions.at:3171): ok (0m0.015s 0m0.092s)
721. System routine CBL_XOR (run_extensions.at:3198): ok (0m0.000s 0m0.076s)
722. System routine CBL_IMP (run_extensions.at:3225): ok (0m0.000s 0m0.076s)
723. System routine CBL_NIMP (run_extensions.at:3252): ok (0m0.015s 0m0.045s)
724. System routine CBL_NOT (run_extensions.at:3279): ok (0m0.015s 0m0.077s)
725. System routine CBL_EQ (run_extensions.at:3305): ok (0m0.061s 0m0.075s)
726. System routine CBL_GC_GETOPT (run_extensions.at:3332): ok (0m0.136s 0m0.364s)
727. System routine CBL_GC_FORK (run_extensions.at:3769): skipped (run_extensions.at:3801)
728. System routine CBL_GC_WAITPID (run_extensions.at:3812): skipped (run_extensions.at:3856)
729. System routine CBL_GC_HOSTED (run_extensions.at:3864): ok (0m0.090s 0m0.168s)
730. DISPLAY DIRECTIVE and $DISPLAY (run_extensions.at:3983): ok (0m0.015s 0m0.060s)
731. Conditional/define directives (1) (run_extensions.at:4008): ok (0m0.030s 0m0.030s)
732. Conditional/define directives (2) (run_extensions.at:4033): ok (0m0.076s 0m0.060s)
733. Conditional/define directives (3) (run_extensions.at:4058): ok (0m0.000s 0m0.091s)
734. Conditional/define directives (4) (run_extensions.at:4086): ok (0m0.030s 0m0.045s)
735. Conditional/define directives (5) (run_extensions.at:4112): ok (0m0.045s 0m0.060s)
736. Conditional/define directives (6) (run_extensions.at:4137): ok (0m0.045s 0m0.075s)
737. Conditional/define directives (7) (run_extensions.at:4163): ok (0m0.000s 0m0.045s)
738. Variable format (run_extensions.at:4185): ok (0m0.030s 0m0.092s)
739. BINARY: 2-4-8 big-endian (data_binary.at:23): ok (0m0.060s 0m0.226s)
740. BINARY: 2-4-8 native (data_binary.at:205): ok (0m0.030s 0m0.227s)
741. BINARY: 1-2-4-8 big-endian (data_binary.at:393): ok (0m0.030s 0m0.182s)
742. BINARY: 1-2-4-8 native (data_binary.at:575): ok (0m0.105s 0m0.211s)
743. BINARY: 1--8 big-endian (data_binary.at:763): ok (0m0.030s 0m0.196s)
744. BINARY: 1--8 native (data_binary.at:945): ok (0m0.105s 0m0.211s)
745. BINARY: full-print (data_binary.at:1133): ok (0m0.015s 0m0.091s)
746. BINARY: 64bit unsigned compare (data_binary.at:1185): ok (0m0.031s 0m0.076s)
747. BINARY: 64bit unsigned arthimetic notrunc (data_binary.at:1210): ok (0m0.015s 0m0.091s)
748. BINARY: 64bit signed negative constant range (data_binary.at:1239): ok (0m0.000s 0m0.061s)
749. DISPLAY: Sign ASCII (data_display.at:21): ok (0m0.015s 0m0.106s)
750. DISPLAY: Sign ASCII (2) (data_display.at:80): ok (0m0.030s 0m0.121s)
751. DISPLAY: Sign EBCDIC (data_display.at:126): ok (0m0.015s 0m0.090s)
752. DISPLAY: unsigned (data_display.at:171): ok (0m0.030s 0m0.076s)
753. PACKED-DECIMAL dump (data_packed.at:25): ok (0m0.015s 0m0.106s)
754. PACKED-DECIMAL display (data_packed.at:162): ok (0m0.045s 0m0.060s)
755. PACKED-DECIMAL move (data_packed.at:218): ok (0m0.045s 0m0.075s)
756. PACKED-DECIMAL arithmetic (1) (data_packed.at:276): ok (0m0.030s 0m0.076s)
757. PACKED-DECIMAL arithmetic (2) (data_packed.at:316): ok (0m0.030s 0m0.075s)
758. PACKED-DECIMAL numeric test (1) (data_packed.at:353): ok (0m0.031s 0m0.076s)
759. PACKED-DECIMAL numeric test (2) (data_packed.at:494): ok (0m0.015s 0m0.091s)
760. COMP-6 display (data_packed.at:608): ok (0m0.045s 0m0.090s)
761. COMP-6 move (data_packed.at:644): ok (0m0.000s 0m0.090s)
762. COMP-6 arithmetic (data_packed.at:690): ok (0m0.045s 0m0.060s)
763. COMP-6 numeric test (data_packed.at:721): ok (0m0.000s 0m0.136s)
764. POINTER: display (data_pointer.at:21): ok (0m0.015s 0m0.076s)
testsuite: ending at: Sun Feb 4 14:36:42 EST 2018
testsuite: test suite duration: 0h 11m 10s
## ------------- ##
## Test results. ##
## ------------- ##
ERROR: 754 tests were run,
11 failed (6 expected failures).
10 tests were skipped.
## ------------------------ ##
## Summary of the failures. ##
## ------------------------ ##
Failed tests:
GnuCOBOL 2.2 test suite: GnuCOBOL Tests test groups:
NUM: FILE-NAME:LINE TEST-GROUP-NAME
KEYWORDS
415: run_misc.at:726 Recursive CALL of RECURSIVE program
runmisc
416: run_misc.at:778 Recursive CALL of INITIAL program
runmisc
455: run_misc.at:2302 COB_PRE_LOAD with entry points
runmisc
456: run_misc.at:2376 Lookup ENTRY from main executable
runmisc
491: run_misc.at:5218 REDEFINES values on FILLER and INITIALIZE
runmisc initialize
Skipped tests:
GnuCOBOL 2.2 test suite: GnuCOBOL Tests test groups:
NUM: FILE-NAME:LINE TEST-GROUP-NAME
KEYWORDS
203: syn_misc.at:3198 ACUCOBOL 32bit literal size
extensions literals
384: run_accept.at:207 ACCEPT OMITTED (SCREEN)
accept extensions
449: run_misc.at:2060 SORT: table sort (3)
runmisc
483: run_misc.at:4837 ON EXCEPTION clause of DISPLAY
runmisc exceptions screen
484: run_misc.at:4862 EC-SCREEN-LINE-NUMBER and -STARTING-COLUMN
runmisc exceptions screen
485: run_misc.at:4903 LINE/COLUMN 0 exceptions
line column runmisc exceptions extensions screen
661: run_extensions.at:657 Complex OCCURS DEPENDING ON (6)
extensions runsubscripts nested subscripts
662: run_extensions.at:701 Complex OCCURS DEPENDING ON (7)
extensions runsubscripts nested subscripts
727: run_extensions.at:3769 System routine CBL_GC_FORK
extensions
728: run_extensions.at:3812 System routine CBL_GC_WAITPID
extensions
## ---------------------- ##
## Detailed failed tests. ##
## ---------------------- ##
# -*- compilation -*-
415. run_misc.at:726: testing Recursive CALL of RECURSIVE program ...
./run_misc.at:770: $COMPILE -o caller caller.cob
./run_misc.at:771: $COMPILE_MODULE callee.cob
./run_misc.at:772: $COMPILE_MODULE callee2.cob
./run_misc.at:773: ./caller
--- /dev/null 2018-02-04 14:30:21 -0500
+++ /home/ramosa/gnucobol-2.2/tests/testsuite.dir/at-groups/415/stderr 2018-02-04 14:30:21 -0500
@@ -0,0 +1 @@
+libcob: callee.cob: 15: recursive CALL from callee to callee2 which is NOT RECURSIVE
--- - 2018-02-04 14:30:21 -0500
+++ /home/ramosa/gnucobol-2.2/tests/testsuite.dir/at-groups/415/stdout 2018-02-04 14:30:21 -0500
@@ -1 +1 @@
-OK
+
./run_misc.at:773: exit code was 1, expected 0
415. run_misc.at:726: 415. Recursive CALL of RECURSIVE program (run_misc.at:726): FAILED (run_misc.at:773)
# -*- compilation -*-
416. run_misc.at:778: testing Recursive CALL of INITIAL program ...
./run_misc.at:819: $COMPILE -o caller caller.cob
./run_misc.at:820: $COMPILE_MODULE callee.cob
./run_misc.at:821: $COMPILE_MODULE callee2.cob
./run_misc.at:822: ./caller
--- - 2018-02-04 14:30:22 -0500
+++ /home/ramosa/gnucobol-2.2/tests/testsuite.dir/at-groups/416/stderr 2018-02-04 14:30:23 -0500
@@ -1,2 +1,2 @@
-libcob: callee2.cob: 5: invalid recursive COBOL CALL to 'callee'
+libcob: callee2.cob: 5: recursive CALL from callee2 to callee which is NOT RECURSIVE
416. run_misc.at:778: 416. Recursive CALL of INITIAL program (run_misc.at:778): FAILED (run_misc.at:822)
# -*- compilation -*-
455. run_misc.at:2302: testing COB_PRE_LOAD with entry points ...
./run_misc.at:2361: $COMPILE_MODULE prog.cob
--- - 2018-02-04 14:30:57 -0500
+++ /home/ramosa/gnucobol-2.2/tests/testsuite.dir/at-groups/455/stderr 2018-02-04 14:30:57 -0500
@@ -1,3 +1 @@
-prog.cob: 13: warning: ENTRY is obsolete in GnuCOBOL
-prog.cob: 17: warning: ENTRY is obsolete in GnuCOBOL
455. run_misc.at:2302: 455. COB_PRE_LOAD with entry points (run_misc.at:2302): FAILED (run_misc.at:2361)
# -*- compilation -*-
456. run_misc.at:2376: testing Lookup ENTRY from main executable ...
./run_misc.at:2411: $COMPILE prog.cob
--- - 2018-02-04 14:30:57 -0500
+++ /home/ramosa/gnucobol-2.2/tests/testsuite.dir/at-groups/456/stderr 2018-02-04 14:30:58 -0500
@@ -1,2 +1 @@
-prog.cob: 26: warning: ENTRY is obsolete in GnuCOBOL
456. run_misc.at:2376: 456. Lookup ENTRY from main executable (run_misc.at:2376): FAILED (run_misc.at:2411)
# -*- compilation -*-
491. run_misc.at:5218: testing REDEFINES values on FILLER and INITIALIZE ...
./run_misc.at:5256: $COMPILE prog.cob
--- - 2018-02-04 14:31:32 -0500
+++ /home/ramosa/gnucobol-2.2/tests/testsuite.dir/at-groups/491/stderr 2018-02-04 14:31:33 -0500
@@ -1,4 +1,4 @@
-prog.cob: 8: warning: initial VALUE clause ignored for REDEFINES item
-prog.cob: 9: warning: initial VALUE clause ignored for REDEFINES item
-prog.cob: 11: warning: initial VALUE clause ignored for REDEFINES item
+prog.cob: 8: warning: initial VALUE clause ignored for REDEFINES item 'WS-ASK-ID-DATE-YYYY'
+prog.cob: 9: warning: initial VALUE clause ignored for REDEFINES item 'FILLER'
+prog.cob: 11: warning: initial VALUE clause ignored for REDEFINES item 'FILLER'
491. run_misc.at:5218: 491. REDEFINES values on FILLER and INITIALIZE (run_misc.at:5218): FAILED (run_misc.at:5256)
## ------------- ##
## ../config.log ##
## ------------- ##
| This file contains any messages produced by compilers while
| running configure, to aid debugging if configure makes a mistake.
|
| It was created by GnuCOBOL configure 2.2, which was
| generated by GNU Autoconf 2.69. Invocation command line was
|
| $ ./configure --prefix=/mingw -with-vbisam --disable-rpath
|
| ## --------- ##
| ## Platform. ##
| ## --------- ##
|
| hostname = WIN7-LINUX
| uname -m = i686
| uname -r = 1.0.19(0.48/3/2)
| uname -s = MINGW32_NT-6.1
| uname -v = 2016-07-13 17:45
|
| /usr/bin/uname -p = unknown
| /bin/uname -X = unknown
|
| /bin/arch = unknown
| /usr/bin/arch -k = unknown
| /usr/convex/getsysinfo = unknown
| /usr/bin/hostinfo = unknown
| /bin/machine = unknown
| /usr/bin/oslevel = unknown
| /bin/universe = unknown
|
| PATH: .
| PATH: /usr/local/bin
| PATH: /mingw/bin
| PATH: /bin
| PATH: /c/ProgramData/Oracle/Java/javapath
| PATH: /c/Python27/
| PATH: /c/Python27/Scripts
| PATH: /c/app/product/11.2.0/client_1/bin
| PATH: /c/Program Files (x86)/Cuminas/Document Express DjVu Plug-in/
| PATH: /c/oraclexe/app/oracle/product/11.2.0/server/bin
| PATH: .
| PATH: /c/Windows/system32
| PATH: /c/Windows
| PATH: /c/Windows/System32/Wbem
| PATH: /c/Windows/System32/WindowsPowerShell/v1.0/
| PATH: /c/Program Files (x86)/ATI Technologies/ATI.ACE/Core-Static
| PATH: /c/Program Files/Microsoft SQL Server/Client SDK/ODBC/110/Tools/Binn/
| PATH: /c/Program Files (x86)/Microsoft SQL Server/120/Tools/Binn/
| PATH: /c/Program Files/Microsoft SQL Server/120/Tools/Binn/
| PATH: /c/Program Files/Microsoft SQL Server/120/DTS/Binn/
| PATH: /c/Program Files (x86)/Microsoft SQL Server/120/Tools/Binn/ManagementStudio/
| PATH: /c/Program Files (x86)/Microsoft SQL Server/120/DTS/Binn/
| PATH: /c/Program Files/Calibre2/
| PATH: /c/Program Files (x86)/AMD/ATI.ACE/Core-Static
| PATH: /c/Program Files (x86)/Calibre2/
| PATH: /c/Program Files (x86)/Skype/Phone/
| PATH: /mingw/bin
|
|
| ## ----------- ##
| ## Core tests. ##
| ## ----------- ##
|
| configure:2463: checking for a BSD-compatible install
| configure:2531: result: /bin/install -c
| configure:2542: checking whether build environment is sane
| configure:2597: result: yes
| configure:2748: checking for a thread-safe mkdir -p
| configure:2787: result: /bin/mkdir -p
| configure:2794: checking for gawk
| configure:2810: found /bin/gawk
| configure:2821: result: gawk
| configure:2832: checking whether make sets $(MAKE)
| configure:2854: result: yes
| configure:2883: checking whether make supports nested variables
| configure:2900: result: yes
| configure:3071: checking whether CFLAGS can be modified
| configure:3078: result: yes
| configure:3215: checking for gcc
| configure:3231: found /mingw/bin/gcc
| configure:3242: result: gcc
| configure:3273: checking for C compiler version
| configure:3282: gcc --version >&5
| gcc.exe (MinGW.org GCC-6.3.0-1) 6.3.0
| Copyright (C) 2016 Free Software Foundation, Inc.
| This is free software; see the source for copying conditions. There is NO
| warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
| configure:3293: $? = 0
| configure:3282: gcc -v >&5
| Using built-in specs.
| COLLECT_GCC=C:\MinGW\bin\gcc.exe
| COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/6.3.0/lto-wrapper.exe
| Target: mingw32
| Configured with: ../src/gcc-6.3.0/configure --build=x86_64-pc-linux-gnu --host=mingw32 --target=mingw32 --with-gmp=/mingw --with-mpfr --with-mpc=/mingw --with-isl=/mingw --prefix=/mingw --disable-win32-registry --with-arch=i586 --with-tune=generic --enable-languages=c,c++,objc,obj-c++,fortran,ada --with-pkgversion='MinGW.org GCC-6.3.0-1' --enable-static --enable-shared --enable-threads --with-dwarf2 --disable-sjlj-exceptions --enable-version-specific-runtime-libs --with-libiconv-prefix=/mingw --with-libintl-prefix=/mingw --enable-libstdcxx-debug --enable-libgomp --disable-libvtv --enable-nls
| Thread model: win32
| gcc version 6.3.0 (MinGW.org GCC-6.3.0-1)
| configure:3293: $? = 0
| configure:3282: gcc -V >&5
| gcc.exe: error: unrecognized command line option '-V'
| gcc.exe: fatal error: no input files
| compilation terminated.
| configure:3293: $? = 1
| configure:3282: gcc -qversion >&5
| gcc.exe: error: unrecognized command line option '-qversion'; did you mean '--version'?
| gcc.exe: fatal error: no input files
| compilation terminated.
| configure:3293: $? = 1
| configure:3313: checking whether the C compiler works
| configure:3335: gcc conftest.c >&5
| configure:3339: $? = 0
| configure:3387: result: yes
| configure:3390: checking for C compiler default output file name
| configure:3392: result: a.exe
| configure:3398: checking for suffix of executables
| configure:3405: gcc -o conftest.exe conftest.c >&5
| configure:3409: $? = 0
| configure:3431: result: .exe
| configure:3453: checking whether we are cross compiling
| configure:3461: gcc -o conftest.exe conftest.c >&5
| configure:3465: $? = 0
| configure:3472: ./conftest.exe
| configure:3476: $? = 0
| configure:3491: result: no
| configure:3496: checking for suffix of object files
| configure:3518: gcc -c conftest.c >&5
| configure:3522: $? = 0
| configure:3543: result: o
| configure:3547: checking whether we are using the GNU C compiler
| configure:3566: gcc -c conftest.c >&5
| configure:3566: $? = 0
| configure:3575: result: yes
| configure:3584: checking whether gcc accepts -g
| configure:3604: gcc -c -g conftest.c >&5
| configure:3604: $? = 0
| configure:3645: result: yes
| configure:3662: checking for gcc option to accept ISO C89
| configure:3725: gcc -c -g -O2 conftest.c >&5
| configure:3725: $? = 0
| configure:3738: result: none needed
| configure:3763: checking whether gcc understands -c and -o together
| configure:3785: gcc -c conftest.c -o conftest2.o
| configure:3788: $? = 0
| configure:3785: gcc -c conftest.c -o conftest2.o
| configure:3788: $? = 0
| configure:3800: result: yes
| configure:3828: checking for style of include used by make
| configure:3856: result: GNU
| configure:3882: checking dependency style of gcc
| configure:3993: result: gcc3
| configure:4012: checking for gcc option to accept ISO C99
| configure:4161: gcc -c -g -O2 conftest.c >&5
| configure:4161: $? = 0
| configure:4174: result: none needed
| configure:4282: checking for gcc option to accept ISO Standard C
| configure:4293: result: none needed
| configure:4306: checking how to run the C preprocessor
| configure:4337: gcc -E conftest.c
| configure:4337: $? = 0
| configure:4351: gcc -E conftest.c
| conftest.c:13:28: fatal error: ac_nonexistent.h: No such file or directory
| #include
| ^
| compilation terminated.
| configure:4351: $? = 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "GnuCOBOL"
| | #define PACKAGE_TARNAME "gnucobol"
| | #define PACKAGE_VERSION "2.2"
| | #define PACKAGE_STRING "GnuCOBOL 2.2"
| | #define PACKAGE_BUGREPORT "address@hidden"
| | #define PACKAGE_URL "https://www.gnu.org/software/gnucobol/"
| | #define PACKAGE "gnucobol"
| | #define VERSION "2.2"
| | #define PATCH_LEVEL 0
| | #define MAX_CALL_FIELD_PARAMS 192
| | /* end confdefs.h. */
| | #include
| configure:4376: result: gcc -E
| configure:4396: gcc -E conftest.c
| configure:4396: $? = 0
| configure:4410: gcc -E conftest.c
| conftest.c:13:28: fatal error: ac_nonexistent.h: No such file or directory
| #include
| ^
| compilation terminated.
| configure:4410: $? = 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "GnuCOBOL"
| | #define PACKAGE_TARNAME "gnucobol"
| | #define PACKAGE_VERSION "2.2"
| | #define PACKAGE_STRING "GnuCOBOL 2.2"
| | #define PACKAGE_BUGREPORT "address@hidden"
| | #define PACKAGE_URL "https://www.gnu.org/software/gnucobol/"
| | #define PACKAGE "gnucobol"
| | #define VERSION "2.2"
| | #define PATCH_LEVEL 0
| | #define MAX_CALL_FIELD_PARAMS 192
| | /* end confdefs.h. */
| | #include
| configure:4441: checking for grep that handles long lines and -e
| configure:4499: result: /bin/grep
| configure:4504: checking for egrep
| configure:4566: result: /bin/grep -E
| configure:4571: checking for ANSI C header files
| configure:4591: gcc -c -g -O2 conftest.c >&5
| configure:4591: $? = 0
| configure:4664: gcc -o conftest.exe -g -O2 conftest.c >&5
| configure:4664: $? = 0
| configure:4664: ./conftest.exe
| configure:4664: $? = 0
| configure:4675: result: yes
| configure:4688: checking for sys/types.h
| configure:4688: gcc -c -g -O2 conftest.c >&5
| configure:4688: $? = 0
| configure:4688: result: yes
| configure:4688: checking for sys/stat.h
| configure:4688: gcc -c -g -O2 conftest.c >&5
| configure:4688: $? = 0
| configure:4688: result: yes
| configure:4688: checking for stdlib.h
| configure:4688: gcc -c -g -O2 conftest.c >&5
| configure:4688: $? = 0
| configure:4688: result: yes
| configure:4688: checking for string.h
| configure:4688: gcc -c -g -O2 conftest.c >&5
| configure:4688: $? = 0
| configure:4688: result: yes
| configure:4688: checking for memory.h
| configure:4688: gcc -c -g -O2 conftest.c >&5
| configure:4688: $? = 0
| configure:4688: result: yes
| configure:4688: checking for strings.h
| configure:4688: gcc -c -g -O2 conftest.c >&5
| configure:4688: $? = 0
| configure:4688: result: yes
| configure:4688: checking for inttypes.h
| configure:4688: gcc -c -g -O2 conftest.c >&5
| configure:4688: $? = 0
| configure:4688: result: yes
| configure:4688: checking for stdint.h
| configure:4688: gcc -c -g -O2 conftest.c >&5
| configure:4688: $? = 0
| configure:4688: result: yes
| configure:4688: checking for unistd.h
| configure:4688: gcc -c -g -O2 conftest.c >&5
| configure:4688: $? = 0
| configure:4688: result: yes
| configure:4701: checking minix/config.h usability
| configure:4701: gcc -c -g -O2 conftest.c >&5
| conftest.c:56:26: fatal error: minix/config.h: No such file or directory
| #include
| ^
| compilation terminated.
| configure:4701: $? = 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "GnuCOBOL"
| | #define PACKAGE_TARNAME "gnucobol"
| | #define PACKAGE_VERSION "2.2"
| | #define PACKAGE_STRING "GnuCOBOL 2.2"
| | #define PACKAGE_BUGREPORT "address@hidden"
| | #define PACKAGE_URL "https://www.gnu.org/software/gnucobol/"
| | #define PACKAGE "gnucobol"
| | #define VERSION "2.2"
| | #define PATCH_LEVEL 0
| | #define MAX_CALL_FIELD_PARAMS 192
| | #define STDC_HEADERS 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SYS_STAT_H 1
| | #define HAVE_STDLIB_H 1
| | #define HAVE_STRING_H 1
| | #define HAVE_MEMORY_H 1
| | #define HAVE_STRINGS_H 1
| | #define HAVE_INTTYPES_H 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_UNISTD_H 1
| | /* end confdefs.h. */
| | #include
| | #ifdef HAVE_SYS_TYPES_H
| | # include
| | #endif
| | #ifdef HAVE_SYS_STAT_H
| | # include
| | #endif
| | #ifdef STDC_HEADERS
| | # include
| | # include
| | #else
| | # ifdef HAVE_STDLIB_H
| | # include
| | # endif
| | #endif
| | #ifdef HAVE_STRING_H
| | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| | # include
| | # endif
| | # include
| | #endif
| | #ifdef HAVE_STRINGS_H
| | # include
| | #endif
| | #ifdef HAVE_INTTYPES_H
| | # include
| | #endif
| | #ifdef HAVE_STDINT_H
| | # include
| | #endif
| | #ifdef HAVE_UNISTD_H
| | # include
| | #endif
| | #include
| configure:4701: result: no
| configure:4701: checking minix/config.h presence
| configure:4701: gcc -E conftest.c
| conftest.c:23:26: fatal error: minix/config.h: No such file or directory
| #include
| ^
| compilation terminated.
| configure:4701: $? = 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "GnuCOBOL"
| | #define PACKAGE_TARNAME "gnucobol"
| | #define PACKAGE_VERSION "2.2"
| | #define PACKAGE_STRING "GnuCOBOL 2.2"
| | #define PACKAGE_BUGREPORT "address@hidden"
| | #define PACKAGE_URL "https://www.gnu.org/software/gnucobol/"
| | #define PACKAGE "gnucobol"
| | #define VERSION "2.2"
| | #define PATCH_LEVEL 0
| | #define MAX_CALL_FIELD_PARAMS 192
| | #define STDC_HEADERS 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SYS_STAT_H 1
| | #define HAVE_STDLIB_H 1
| | #define HAVE_STRING_H 1
| | #define HAVE_MEMORY_H 1
| | #define HAVE_STRINGS_H 1
| | #define HAVE_INTTYPES_H 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_UNISTD_H 1
| | /* end confdefs.h. */
| | #include
| configure:4701: result: no
| configure:4701: checking for minix/config.h
| configure:4701: result: no
| configure:4722: checking whether it is safe to define __EXTENSIONS__
| configure:4740: gcc -c -g -O2 conftest.c >&5
| configure:4740: $? = 0
| configure:4747: result: yes
| configure:4791: checking build system type
| configure:4805: result: i686-pc-mingw32
| configure:4825: checking host system type
| configure:4838: result: i686-pc-mingw32
| configure:4879: checking how to print strings
| configure:4906: result: printf
| configure:4927: checking for a sed that does not truncate output
| configure:4991: result: /bin/sed
| configure:5009: checking for fgrep
| configure:5071: result: /bin/grep -F
| configure:5106: checking for ld used by gcc
| configure:5173: result: c:/mingw/mingw32/bin/ld.exe
| configure:5180: checking if the linker (c:/mingw/mingw32/bin/ld.exe) is GNU ld
| configure:5195: result: yes
| configure:5207: checking for BSD- or MS-compatible name lister (nm)
| configure:5261: result: /mingw/bin/nm -B
| configure:5391: checking the name lister (/mingw/bin/nm -B) interface
| configure:5398: gcc -c -g -O2 conftest.c >&5
| configure:5401: /mingw/bin/nm -B "conftest.o"
| configure:5404: output
| 00000000 b .bss
| 00000000 d .data
| 00000000 N .debug_abbrev
| 00000000 N .debug_aranges
| 00000000 N .debug_info
| 00000000 N .debug_line
| 00000000 r .rdata$zzz
| 00000000 t .text
| 00000000 B _some_variable
| configure:5411: result: BSD nm
| configure:5414: checking whether ln -s works
| configure:5421: result: no, using cp -pR
| configure:5426: checking the maximum length of command line arguments
| configure:5557: result: 8192
| configure:5605: checking how to convert i686-pc-mingw32 file names to i686-pc-mingw32 format
| configure:5645: result: func_convert_file_msys_to_w32
| configure:5652: checking how to convert i686-pc-mingw32 file names to toolchain format
| configure:5672: result: func_convert_file_msys_to_w32
| configure:5679: checking for c:/mingw/mingw32/bin/ld.exe option to reload object files
| configure:5686: result: -r
| configure:5760: checking for objdump
| configure:5776: found /mingw/bin/objdump
| configure:5787: result: objdump
| configure:5816: checking how to recognize dependent libraries
| configure:6016: result: file_magic ^x86 archive import|^x86 DLL
| configure:6101: checking for dlltool
| configure:6117: found /mingw/bin/dlltool
| configure:6128: result: dlltool
| configure:6158: checking how to associate runtime and link libraries
| configure:6185: result: func_cygming_dll_for_implib
| configure:6245: checking for ar
| configure:6261: found /mingw/bin/ar
| configure:6272: result: ar
| configure:6309: checking for archiver @FILE support
| configure:6326: gcc -c -g -O2 conftest.c >&5
| configure:6326: $? = 0
| configure:6329: ar cru libconftest.a @conftest.lst >&5
| configure:6332: $? = 0
| configure:6337: ar cru libconftest.a @conftest.lst >&5
| C:\MinGW\bin\ar.exe: conftest.o: No such file or directory
| configure:6340: $? = 1
| configure:6352: result: @
| configure:6410: checking for strip
| configure:6426: found /mingw/bin/strip
| configure:6437: result: strip
| configure:6509: checking for ranlib
| configure:6525: found /mingw/bin/ranlib
| configure:6536: result: ranlib
| configure:6638: checking command to parse /mingw/bin/nm -B output from gcc object
| configure:6791: gcc -c -g -O2 conftest.c >&5
| configure:6794: $? = 0
| configure:6798: /mingw/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)\{0,1\}$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
| configure:6801: $? = 0
| cannot find nm_test_var in conftest.nm
| configure:6791: gcc -c -g -O2 conftest.c >&5
| configure:6794: $? = 0
| configure:6798: /mingw/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)\{0,1\}$/\1 _\2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
| configure:6801: $? = 0
| configure:6867: gcc -o conftest.exe -g -O2 conftest.c conftstm.o >&5
| configure:6870: $? = 0
| configure:6908: result: ok
| configure:6955: checking for sysroot
| configure:6985: result: no
| configure:6992: checking for a working dd
| configure:7030: result: /bin/dd
| configure:7034: checking how to truncate binary pipes
| configure:7049: result: /bin/dd bs=4096 count=1
| configure:7378: checking for mt
| configure:7408: result: no
| configure:7428: checking if : is a manifest tool
| configure:7434: : '-?'
| configure:7442: result: no
| configure:8116: checking for dlfcn.h
| configure:8116: gcc -c -g -O2 conftest.c >&5
| configure:8116: $? = 0
| configure:8116: result: yes
| configure:8180: checking for as
| configure:8196: found /mingw/bin/as
| configure:8207: result: as
| configure:8272: checking for dlltool
| configure:8299: result: dlltool
| configure:8364: checking for objdump
| configure:8391: result: objdump
| configure:8669: checking for objdir
| configure:8684: result: .libs
| configure:8948: checking if gcc supports -fno-rtti -fno-exceptions
| configure:8966: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5
| cc1.exe: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C
| configure:8970: $? = 0
| configure:8983: result: no
| configure:9341: checking for gcc option to produce PIC
| configure:9348: result: -DDLL_EXPORT -DPIC
| configure:9356: checking if gcc PIC flag -DDLL_EXPORT -DPIC works
| configure:9374: gcc -c -g -O2 -DDLL_EXPORT -DPIC -DPIC conftest.c >&5
| configure:9378: $? = 0
| configure:9391: result: yes
| configure:9420: checking if gcc static flag -static works
| configure:9448: result: yes
| configure:9463: checking if gcc supports -c -o file.o
| configure:9484: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5
| configure:9488: $? = 0
| configure:9510: result: yes
| configure:9518: checking if gcc supports -c -o file.o
| configure:9565: result: yes
| configure:9598: checking whether the gcc linker (c:/mingw/mingw32/bin/ld.exe) supports shared libraries
| configure:10857: result: yes
| configure:10894: checking whether -lc should be explicitly linked in
| configure:10902: gcc -c -g -O2 conftest.c >&5
| configure:10905: $? = 0
| configure:10920: gcc -shared conftest.o -v -o ./conftest -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1
| configure:10923: $? = 1
| configure:10937: result: yes
| configure:11097: checking dynamic linker characteristics
| configure:11915: result: Win32 ld.exe
| configure:12037: checking how to hardcode library paths into programs
| configure:12062: result: immediate
| configure:12610: checking whether stripping libraries is possible
| configure:12615: result: yes
| configure:12650: checking if libtool supports shared libraries
| configure:12652: result: yes
| configure:12655: checking whether to build shared libraries
| configure:12680: result: yes
| configure:12683: checking whether to build static libraries
| configure:12687: result: yes
| configure:12725: checking for egrep
| configure:12787: result: /bin/grep -E
| configure:12798: checking for flex
| configure:12814: found /bin/flex
| configure:12825: result: flex
| configure:12863: flex conftest.l
| configure:12867: $? = 0
| configure:12869: checking lex output file root
| configure:12883: result: lex.yy
| configure:12888: checking lex library
| configure:12902: gcc -o conftest.exe -g -O2 conftest.c >&5
| C:\Users\ramosa\AppData\Local\Temp\ccuUE5S2.o: In function `input':
| C:\MinGW\msys\1.0\home\ramosa\gnucobol-2.2/lex.yy.c:1183: undefined reference to `yywrap'
| C:\Users\ramosa\AppData\Local\Temp\ccuUE5S2.o: In function `yylex':
| C:\MinGW\msys\1.0\home\ramosa\gnucobol-2.2/lex.yy.c:882: undefined reference to `yywrap'
| C:\Users\ramosa\AppData\Local\Temp\ccuUE5S2.o: In function `main':
| C:\MinGW\msys\1.0\home\ramosa\gnucobol-2.2/conftest.l:18: undefined reference to `yywrap'
| collect2.exe: error: ld returned 1 exit status
| configure:12902: $? = 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "GnuCOBOL"
| | #define PACKAGE_TARNAME "gnucobol"
| | #define PACKAGE_VERSION "2.2"
| | #define PACKAGE_STRING "GnuCOBOL 2.2"
| | #define PACKAGE_BUGREPORT "address@hidden"
| | #define PACKAGE_URL "https://www.gnu.org/software/gnucobol/"
| | #define PACKAGE "gnucobol"
| | #define VERSION "2.2"
| | #define PATCH_LEVEL 0
| | #define MAX_CALL_FIELD_PARAMS 192
| | #define STDC_HEADERS 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SYS_STAT_H 1
| | #define HAVE_STDLIB_H 1
| | #define HAVE_STRING_H 1
| | #define HAVE_MEMORY_H 1
| | #define HAVE_STRINGS_H 1
| | #define HAVE_INTTYPES_H 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_UNISTD_H 1
| | #define __EXTENSIONS__ 1
| | #define _ALL_SOURCE 1
| | #define _GNU_SOURCE 1
| | #define _POSIX_PTHREAD_SEMANTICS 1
| | #define _TANDEM_SOURCE 1
| | #define HAVE_DLFCN_H 1
| | #define LT_OBJDIR ".libs/"
| | /* end confdefs.h. */
| |
| | #line 3 "lex.yy.c"
| |
| | #define YY_INT_ALIGNED short int
| |
| | /* A lexical scanner generated by flex */
| |
| | #define FLEX_SCANNER
| | #define YY_FLEX_MAJOR_VERSION 2
| | #define YY_FLEX_MINOR_VERSION 5
| | #define YY_FLEX_SUBMINOR_VERSION 35
| | #if YY_FLEX_SUBMINOR_VERSION > 0
| | #define FLEX_BETA
| | #endif
| |
| | /* First, we deal with platform-specific or compiler-specific issues. */
| |
| | /* begin standard C headers. */
| | #include
| | #include
| | #include
| | #include
| |
| | /* end standard C headers. */
| |
| | /* flex integer type definitions */
| |
| | #ifndef FLEXINT_H
| | #define FLEXINT_H
| |
| | /* C99 systems have . Non-C99 systems may or may not. */
| |
| | #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
| |
| | /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
| | * if you want the limit (max/min) macros for int types.
| | */
| | #ifndef __STDC_LIMIT_MACROS
| | #define __STDC_LIMIT_MACROS 1
| | #endif
| |
| | #include
| | typedef int8_t flex_int8_t;
| | typedef uint8_t flex_uint8_t;
| | typedef int16_t flex_int16_t;
| | typedef uint16_t flex_uint16_t;
| | typedef int32_t flex_int32_t;
| | typedef uint32_t flex_uint32_t;
| | #else
| | typedef signed char flex_int8_t;
| | typedef short int flex_int16_t;
| | typedef int flex_int32_t;
| | typedef unsigned char flex_uint8_t;
| | typedef unsigned short int flex_uint16_t;
| | typedef unsigned int flex_uint32_t;
| |
| | /* Limits of integral types. */
| | #ifndef INT8_MIN
| | #define INT8_MIN (-128)
| | #endif
| | #ifndef INT16_MIN
| | #define INT16_MIN (-32767-1)
| | #endif
| | #ifndef INT32_MIN
| | #define INT32_MIN (-2147483647-1)
| | #endif
| | #ifndef INT8_MAX
| | #define INT8_MAX (127)
| | #endif
| | #ifndef INT16_MAX
| | #define INT16_MAX (32767)
| | #endif
| | #ifndef INT32_MAX
| | #define INT32_MAX (2147483647)
| | #endif
| | #ifndef UINT8_MAX
| | #define UINT8_MAX (255U)
| | #endif
| | #ifndef UINT16_MAX
| | #define UINT16_MAX (65535U)
| | #endif
| | #ifndef UINT32_MAX
| | #define UINT32_MAX (4294967295U)
| | #endif
| |
| | #endif /* ! C99 */
| |
| | #endif /* ! FLEXINT_H */
| |
| | #ifdef __cplusplus
| |
| | /* The "const" storage-class-modifier is valid. */
| | #define YY_USE_CONST
| |
| | #else /* ! __cplusplus */
| |
| | /* C99 requires __STDC__ to be defined as 1. */
| | #if defined (__STDC__)
| |
| | #define YY_USE_CONST
| |
| | #endif /* defined (__STDC__) */
| | #endif /* ! __cplusplus */
| |
| | #ifdef YY_USE_CONST
| | #define yyconst const
| | #else
| | #define yyconst
| | #endif
| |
| | /* Returned upon end-of-file. */
| | #define YY_NULL 0
| |
| | /* Promotes a possibly negative, possibly signed char to an unsigned
| | * integer for use as an array index. If the signed char is negative,
| | * we want to instead treat it as an 8-bit unsigned char, hence the
| | * double cast.
| | */
| | #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
| |
| | /* Enter a start condition. This macro really ought to take a parameter,
| | * but we do it the disgusting crufty way forced on us by the ()-less
| | * definition of BEGIN.
| | */
| | #define BEGIN (yy_start) = 1 + 2 *
| |
| | /* Translate the current start state into a value that can be later handed
| | * to BEGIN to return to the state. The YYSTATE alias is for lex
| | * compatibility.
| | */
| | #define YY_START (((yy_start) - 1) / 2)
| | #define YYSTATE YY_START
| |
| | /* Action number for EOF rule of a given start state. */
| | #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
| |
| | /* Special action meaning "start processing a new file". */
| | #define YY_NEW_FILE yyrestart(yyin )
| |
| | #define YY_END_OF_BUFFER_CHAR 0
| |
| | /* Size of default input buffer. */
| | #ifndef YY_BUF_SIZE
| | #ifdef __ia64__
| | /* On IA-64, the buffer size is 16k, not 8k.
| | * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
| | * Ditto for the __ia64__ case accordingly.
| | */
| | #define YY_BUF_SIZE 32768
| | #else
| | #define YY_BUF_SIZE 16384
| | #endif /* __ia64__ */
| | #endif
| |
| | /* The state buf must be large enough to hold one state per character in the main buffer.
| | */
| | #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
| |
| | #ifndef YY_TYPEDEF_YY_BUFFER_STATE
| | #define YY_TYPEDEF_YY_BUFFER_STATE
| | typedef struct yy_buffer_state *YY_BUFFER_STATE;
| | #endif
| |
| | extern int yyleng;
| |
| | extern FILE *yyin, *yyout;
| |
| | #define EOB_ACT_CONTINUE_SCAN 0
| | #define EOB_ACT_END_OF_FILE 1
| | #define EOB_ACT_LAST_MATCH 2
| |
| | #define YY_LESS_LINENO(n)
| |
| | /* Return all but the first "n" matched characters back to the input stream. */
| | #define yyless(n) \
| | do \
| | { \
| | /* Undo effects of setting up yytext. */ \
| | int yyless_macro_arg = (n); \
| | YY_LESS_LINENO(yyless_macro_arg);\
| | *yy_cp = (yy_hold_char); \
| | YY_RESTORE_YY_MORE_OFFSET \
| | (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
| | YY_DO_BEFORE_ACTION; /* set up yytext again */ \
| | } \
| | while ( 0 )
| |
| | #define unput(c) yyunput( c, (yytext_ptr) )
| |
| | #ifndef YY_TYPEDEF_YY_SIZE_T
| | #define YY_TYPEDEF_YY_SIZE_T
| | typedef size_t yy_size_t;
| | #endif
| |
| | #ifndef YY_STRUCT_YY_BUFFER_STATE
| | #define YY_STRUCT_YY_BUFFER_STATE
| | struct yy_buffer_state
| | {
| | FILE *yy_input_file;
| |
| | char *yy_ch_buf; /* input buffer */
| | char *yy_buf_pos; /* current position in input buffer */
| |
| | /* Size of input buffer in bytes, not including room for EOB
| | * characters.
| | */
| | yy_size_t yy_buf_size;
| |
| | /* Number of characters read into yy_ch_buf, not including EOB
| | * characters.
| | */
| | int yy_n_chars;
| |
| | /* Whether we "own" the buffer - i.e., we know we created it,
| | * and can realloc() it to grow it, and should free() it to
| | * delete it.
| | */
| | int yy_is_our_buffer;
| |
| | /* Whether this is an "interactive" input source; if so, and
| | * if we're using stdio for input, then we want to use getc()
| | * instead of fread(), to make sure we stop fetching input after
| | * each newline.
| | */
| | int yy_is_interactive;
| |
| | /* Whether we're considered to be at the beginning of a line.
| | * If so, '^' rules will be active on the next match, otherwise
| | * not.
| | */
| | int yy_at_bol;
| |
| | int yy_bs_lineno; /**< The line count. */
| | int yy_bs_column; /**< The column count. */
| |
| | /* Whether to try to fill the input buffer when we reach the
| | * end of it.
| | */
| | int yy_fill_buffer;
| |
| | int yy_buffer_status;
| |
| | #define YY_BUFFER_NEW 0
| | #define YY_BUFFER_NORMAL 1
| | /* When an EOF's been seen but there's still some text to process
| | * then we mark the buffer as YY_EOF_PENDING, to indicate that we
| | * shouldn't try reading from the input source any more. We might
| | * still have a bunch of tokens to match, though, because of
| | * possible backing-up.
| | *
| | * When we actually see the EOF, we change the status to "new"
| | * (via yyrestart()), so that the user can continue scanning by
| | * just pointing yyin at a new input file.
| | */
| | #define YY_BUFFER_EOF_PENDING 2
| |
| | };
| | #endif /* !YY_STRUCT_YY_BUFFER_STATE */
| |
| | /* Stack of input buffers. */
| | static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
| | static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
| | static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
| |
| | /* We provide macros for accessing buffer states in case in the
| | * future we want to put the buffer states in a more general
| | * "scanner state".
| | *
| | * Returns the top of the stack, or NULL.
| | */
| | #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
| | ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
| | : NULL)
| |
| | /* Same as previous macro, but useful when we know that the buffer stack is not
| | * NULL or when we need an lvalue. For internal use only.
| | */
| | #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
| |
| | /* yy_hold_char holds the character lost when yytext is formed. */
| | static char yy_hold_char;
| | static int yy_n_chars; /* number of characters read into yy_ch_buf */
| | int yyleng;
| |
| | /* Points to current character in buffer. */
| | static char *yy_c_buf_p = (char *) 0;
| | static int yy_init = 0; /* whether we need to initialize */
| | static int yy_start = 0; /* start state number */
| |
| | /* Flag which is used to allow yywrap()'s to do buffer switches
| | * instead of setting up a fresh yyin. A bit of a hack ...
| | */
| | static int yy_did_buffer_switch_on_eof;
| |
| | void yyrestart (FILE *input_file );
| | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer );
| | YY_BUFFER_STATE yy_create_buffer (FILE *file,int size );
| | void yy_delete_buffer (YY_BUFFER_STATE b );
| | void yy_flush_buffer (YY_BUFFER_STATE b );
| | void yypush_buffer_state (YY_BUFFER_STATE new_buffer );
| | void yypop_buffer_state (void );
| |
| | static void yyensure_buffer_stack (void );
| | static void yy_load_buffer_state (void );
| | static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file );
| |
| | #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
| |
| | YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size );
| | YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str );
| | YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,int len );
| |
| | void *yyalloc (yy_size_t );
| | void *yyrealloc (void *,yy_size_t );
| | void yyfree (void * );
| |
| | #define yy_new_buffer yy_create_buffer
| |
| | #define yy_set_interactive(is_interactive) \
| | { \
| | if ( ! YY_CURRENT_BUFFER ){ \
| | yyensure_buffer_stack (); \
| | YY_CURRENT_BUFFER_LVALUE = \
| | yy_create_buffer(yyin,YY_BUF_SIZE ); \
| | } \
| | YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
| | }
| |
| | #define yy_set_bol(at_bol) \
| | { \
| | if ( ! YY_CURRENT_BUFFER ){\
| | yyensure_buffer_stack (); \
| | YY_CURRENT_BUFFER_LVALUE = \
| | yy_create_buffer(yyin,YY_BUF_SIZE ); \
| | } \
| | YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
| | }
| |
| | #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
| |
| | /* Begin user sect3 */
| |
| | typedef unsigned char YY_CHAR;
| |
| | FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
| |
| | typedef int yy_state_type;
| |
| | extern int yylineno;
| |
| | int yylineno = 1;
| |
| | extern char *yytext;
| | #define yytext_ptr yytext
| |
| | static yy_state_type yy_get_previous_state (void );
| | static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
| | static int yy_get_next_buffer (void );
| | static void yy_fatal_error (yyconst char msg[] );
| |
| | /* Done after the current pattern has been matched and before the
| | * corresponding action - sets up yytext.
| | */
| | #define YY_DO_BEFORE_ACTION \
| | (yytext_ptr) = yy_bp; \
| | (yytext_ptr) -= (yy_more_len); \
| | yyleng = (size_t) (yy_cp - (yytext_ptr)); \
| | (yy_hold_char) = *yy_cp; \
| | *yy_cp = '\0'; \
| | (yy_c_buf_p) = yy_cp;
| |
| | #define YY_NUM_RULES 8
| | #define YY_END_OF_BUFFER 9
| | /* This struct is not used in this scanner,
| | but its presence is necessary. */
| | struct yy_trans_info
| | {
| | flex_int32_t yy_verify;
| | flex_int32_t yy_nxt;
| | };
| | static yyconst flex_int16_t yy_acclist[23] =
| | { 0,
| | 9, 7, 8, 8, 1, 7, 8, 2, 7, 8,
| | 3, 7, 8, 4, 7, 8, 5, 7, 8, 6,
| | 7, 8
| | } ;
| |
| | static yyconst flex_int16_t yy_accept[14] =
| | { 0,
| | 1, 1, 1, 2, 4, 5, 8, 11, 14, 17,
| | 20, 23, 23
| | } ;
| |
| | static yyconst flex_int32_t yy_ec[256] =
| | { 0,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 2,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 3, 4, 5, 6,
| |
| | 7, 8, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| |
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1
| | } ;
| |
| | static yyconst flex_int32_t yy_meta[9] =
| | { 0,
| | 1, 1, 1, 1, 1, 1, 1, 1
| | } ;
| |
| | static yyconst flex_int16_t yy_base[13] =
| | { 0,
| | 0, 0, 9, 10, 10, 10, 10, 10, 10, 10,
| | 10, 10
| | } ;
| |
| | static yyconst flex_int16_t yy_def[13] =
| | { 0,
| | 12, 1, 12, 12, 12, 12, 12, 12, 12, 12,
| | 12, 0
| | } ;
| |
| | static yyconst flex_int16_t yy_nxt[19] =
| | { 0,
| | 4, 5, 6, 7, 8, 9, 10, 11, 12, 3,
| | 12, 12, 12, 12, 12, 12, 12, 12
| | } ;
| |
| | static yyconst flex_int16_t yy_chk[19] =
| | { 0,
| | 1, 1, 1, 1, 1, 1, 1, 1, 3, 12,
| | 12, 12, 12, 12, 12, 12, 12, 12
| | } ;
| |
| | extern int yy_flex_debug;
| | int yy_flex_debug = 0;
| |
| | static yy_state_type *yy_state_buf=0, *yy_state_ptr=0;
| | static char *yy_full_match;
| | static int yy_lp;
| | #define REJECT \
| | { \
| | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \
| | yy_cp = (yy_full_match); /* restore poss. backed-over text */ \
| | ++(yy_lp); \
| | goto find_rule; \
| | }
| |
| | static int yy_more_flag = 0;
| | static int yy_more_len = 0;
| | #define yymore() ((yy_more_flag) = 1)
| | #define YY_MORE_ADJ (yy_more_len)
| | #define YY_RESTORE_YY_MORE_OFFSET
| | char *yytext;
| | #line 1 "conftest.l"
| | #line 477 "lex.yy.c"
| |
| | #define INITIAL 0
| |
| | #ifndef YY_NO_UNISTD_H
| | /* Special case for "unistd.h", since it is non-ANSI. We include it way
| | * down here because we want the user's section 1 to have been scanned first.
| | * The user has a chance to override it with an option.
| | */
| | #include
| | #endif
| |
| | #ifndef YY_EXTRA_TYPE
| | #define YY_EXTRA_TYPE void *
| | #endif
| |
| | static int yy_init_globals (void );
| |
| | /* Accessor methods to globals.
| | These are made visible to non-reentrant scanners for convenience. */
| |
| | int yylex_destroy (void );
| |
| | int yyget_debug (void );
| |
| | void yyset_debug (int debug_flag );
| |
| | YY_EXTRA_TYPE yyget_extra (void );
| |
| | void yyset_extra (YY_EXTRA_TYPE user_defined );
| |
| | FILE *yyget_in (void );
| |
| | void yyset_in (FILE * in_str );
| |
| | FILE *yyget_out (void );
| |
| | void yyset_out (FILE * out_str );
| |
| | int yyget_leng (void );
| |
| | char *yyget_text (void );
| |
| | int yyget_lineno (void );
| |
| | void yyset_lineno (int line_number );
| |
| | /* Macros after this point can all be overridden by user definitions in
| | * section 1.
| | */
| |
| | #ifndef YY_SKIP_YYWRAP
| | #ifdef __cplusplus
| | extern "C" int yywrap (void );
| | #else
| | extern int yywrap (void );
| | #endif
| | #endif
| |
| | static void yyunput (int c,char *buf_ptr );
| |
| | #ifndef yytext_ptr
| | static void yy_flex_strncpy (char *,yyconst char *,int );
| | #endif
| |
| | #ifdef YY_NEED_STRLEN
| | static int yy_flex_strlen (yyconst char * );
| | #endif
| |
| | #ifndef YY_NO_INPUT
| |
| | #ifdef __cplusplus
| | static int yyinput (void );
| | #else
| | static int input (void );
| | #endif
| |
| | #endif
| |
| | /* Amount of stuff to slurp up with each read. */
| | #ifndef YY_READ_BUF_SIZE
| | #ifdef __ia64__
| | /* On IA-64, the buffer size is 16k, not 8k */
| | #define YY_READ_BUF_SIZE 16384
| | #else
| | #define YY_READ_BUF_SIZE 8192
| | #endif /* __ia64__ */
| | #endif
| |
| | /* Copy whatever the last rule matched to the standard output. */
| | #ifndef ECHO
| | /* This used to be an fputs(), but since the string might contain NUL's,
| | * we now use fwrite().
| | */
| | #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
| | #endif
| |
| | /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
| | * is returned in "result".
| | */
| | #ifndef YY_INPUT
| | #define YY_INPUT(buf,result,max_size) \
| | if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
| | { \
| | int c = '*'; \
| | size_t n; \
| | for ( n = 0; n < max_size && \
| | (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
| | buf[n] = (char) c; \
| | if ( c == '\n' ) \
| | buf[n++] = (char) c; \
| | if ( c == EOF && ferror( yyin ) ) \
| | YY_FATAL_ERROR( "input in flex scanner failed" ); \
| | result = n; \
| | } \
| | else \
| | { \
| | errno=0; \
| | while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
| | { \
| | if( errno != EINTR) \
| | { \
| | YY_FATAL_ERROR( "input in flex scanner failed" ); \
| | break; \
| | } \
| | errno=0; \
| | clearerr(yyin); \
| | } \
| | }\
| | \
| |
| | #endif
| |
| | /* No semi-colon after return; correct usage is to write "yyterminate();" -
| | * we don't want an extra ';' after the "return" because that will cause
| | * some compilers to complain about unreachable statements.
| | */
| | #ifndef yyterminate
| | #define yyterminate() return YY_NULL
| | #endif
| |
| | /* Number of entries by which start-condition stack grows. */
| | #ifndef YY_START_STACK_INCR
| | #define YY_START_STACK_INCR 25
| | #endif
| |
| | /* Report a fatal error. */
| | #ifndef YY_FATAL_ERROR
| | #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
| | #endif
| |
| | /* end tables serialization structures and prototypes */
| |
| | /* Default declaration of generated scanner - a define so the user can
| | * easily add parameters.
| | */
| | #ifndef YY_DECL
| | #define YY_DECL_IS_OURS 1
| |
| | extern int yylex (void);
| |
| | #define YY_DECL int yylex (void)
| | #endif /* !YY_DECL */
| |
| | /* Code executed at the beginning of each rule, after yytext and yyleng
| | * have been set up.
| | */
| | #ifndef YY_USER_ACTION
| | #define YY_USER_ACTION
| | #endif
| |
| | /* Code executed at the end of each rule. */
| | #ifndef YY_BREAK
| | #define YY_BREAK break;
| | #endif
| |
| | #define YY_RULE_SETUP \
| | YY_USER_ACTION
| |
| | /** The main scanner function which does all the work.
| | */
| | YY_DECL
| | {
| | register yy_state_type yy_current_state;
| | register char *yy_cp, *yy_bp;
| | register int yy_act;
| |
| | #line 1 "conftest.l"
| |
| | #line 666 "lex.yy.c"
| |
| | if ( !(yy_init) )
| | {
| | (yy_init) = 1;
| |
| | #ifdef YY_USER_INIT
| | YY_USER_INIT;
| | #endif
| |
| | /* Create the reject buffer large enough to save one state per allowed character. */
| | if ( ! (yy_state_buf) )
| | (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE );
| | if ( ! (yy_state_buf) )
| | YY_FATAL_ERROR( "out of dynamic memory in yylex()" );
| |
| | if ( ! (yy_start) )
| | (yy_start) = 1; /* first start state */
| |
| | if ( ! yyin )
| | yyin = stdin;
| |
| | if ( ! yyout )
| | yyout = stdout;
| |
| | if ( ! YY_CURRENT_BUFFER ) {
| | yyensure_buffer_stack ();
| | YY_CURRENT_BUFFER_LVALUE =
| | yy_create_buffer(yyin,YY_BUF_SIZE );
| | }
| |
| | yy_load_buffer_state( );
| | }
| |
| | while ( 1 ) /* loops until end-of-file is reached */
| | {
| | (yy_more_len) = 0;
| | if ( (yy_more_flag) )
| | {
| | (yy_more_len) = (yy_c_buf_p) - (yytext_ptr);
| | (yy_more_flag) = 0;
| | }
| | yy_cp = (yy_c_buf_p);
| |
| | /* Support of yytext. */
| | *yy_cp = (yy_hold_char);
| |
| | /* yy_bp points to the position in yy_ch_buf of the start of
| | * the current run.
| | */
| | yy_bp = yy_cp;
| |
| | yy_current_state = (yy_start);
| |
| | (yy_state_ptr) = (yy_state_buf);
| | *(yy_state_ptr)++ = yy_current_state;
| |
| | yy_match:
| | do
| | {
| | register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
| | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
| | {
| | yy_current_state = (int) yy_def[yy_current_state];
| | if ( yy_current_state >= 13 )
| | yy_c = yy_meta[(unsigned int) yy_c];
| | }
| | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
| | *(yy_state_ptr)++ = yy_current_state;
| | ++yy_cp;
| | }
| | while ( yy_base[yy_current_state] != 10 );
| |
| | yy_find_action:
| | yy_current_state = *--(yy_state_ptr);
| | (yy_lp) = yy_accept[yy_current_state];
| | find_rule: /* we branch to this label when backing up */
| | for ( ; ; ) /* until we find what rule we matched */
| | {
| | if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] )
| | {
| | yy_act = yy_acclist[(yy_lp)];
| | {
| | (yy_full_match) = yy_cp;
| | break;
| | }
| | }
| | --yy_cp;
| | yy_current_state = *--(yy_state_ptr);
| | (yy_lp) = yy_accept[yy_current_state];
| | }
| |
| | YY_DO_BEFORE_ACTION;
| |
| | do_action: /* This label is used only to access EOF actions. */
| |
| | switch ( yy_act )
| | { /* beginning of action switch */
| | case 1:
| | YY_RULE_SETUP
| | #line 2 "conftest.l"
| | { ECHO; }
| | YY_BREAK
| | case 2:
| | YY_RULE_SETUP
| | #line 3 "conftest.l"
| | { REJECT; }
| | YY_BREAK
| | case 3:
| | YY_RULE_SETUP
| | #line 4 "conftest.l"
| | { yymore (); }
| | YY_BREAK
| | case 4:
| | YY_RULE_SETUP
| | #line 5 "conftest.l"
| | { yyless (1); }
| | YY_BREAK
| | case 5:
| | YY_RULE_SETUP
| | #line 6 "conftest.l"
| | { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
| | yyless ((input () != 0)); }
| | YY_BREAK
| | case 6:
| | YY_RULE_SETUP
| | #line 8 "conftest.l"
| | { unput (yytext[0]); }
| | YY_BREAK
| | case 7:
| | YY_RULE_SETUP
| | #line 9 "conftest.l"
| | { BEGIN INITIAL; }
| | YY_BREAK
| | case 8:
| | YY_RULE_SETUP
| | #line 10 "conftest.l"
| | ECHO;
| | YY_BREAK
| | #line 805 "lex.yy.c"
| | case YY_STATE_EOF(INITIAL):
| | yyterminate();
| |
| | case YY_END_OF_BUFFER:
| | {
| | /* Amount of text matched not including the EOB char. */
| | int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
| |
| | /* Undo the effects of YY_DO_BEFORE_ACTION. */
| | *yy_cp = (yy_hold_char);
| | YY_RESTORE_YY_MORE_OFFSET
| |
| | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
| | {
| | /* We're scanning a new file or input source. It's
| | * possible that this happened because the user
| | * just pointed yyin at a new source and called
| | * yylex(). If so, then we have to assure
| | * consistency between YY_CURRENT_BUFFER and our
| | * globals. Here is the right place to do so, because
| | * this is the first action (other than possibly a
| | * back-up) that will match for the new input source.
| | */
| | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
| | YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
| | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
| | }
| |
| | /* Note that here we test for yy_c_buf_p "<=" to the position
| | * of the first EOB in the buffer, since yy_c_buf_p will
| | * already have been incremented past the NUL character
| | * (since all states make transitions on EOB to the
| | * end-of-buffer state). Contrast this with the test
| | * in input().
| | */
| | if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
| | { /* This was really a NUL. */
| | yy_state_type yy_next_state;
| |
| | (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
| |
| | yy_current_state = yy_get_previous_state( );
| |
| | /* Okay, we're now positioned to make the NUL
| | * transition. We couldn't have
| | * yy_get_previous_state() go ahead and do it
| | * for us because it doesn't know how to deal
| | * with the possibility of jamming (and we don't
| | * want to build jamming into it because then it
| | * will run more slowly).
| | */
| |
| | yy_next_state = yy_try_NUL_trans( yy_current_state );
| |
| | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
| |
| | if ( yy_next_state )
| | {
| | /* Consume the NUL. */
| | yy_cp = ++(yy_c_buf_p);
| | yy_current_state = yy_next_state;
| | goto yy_match;
| | }
| |
| | else
| | {
| | yy_cp = (yy_c_buf_p);
| | goto yy_find_action;
| | }
| | }
| |
| | else switch ( yy_get_next_buffer( ) )
| | {
| | case EOB_ACT_END_OF_FILE:
| | {
| | (yy_did_buffer_switch_on_eof) = 0;
| |
| | if ( yywrap( ) )
| | {
| | /* Note: because we've taken care in
| | * yy_get_next_buffer() to have set up
| | * yytext, we can now set up
| | * yy_c_buf_p so that if some total
| | * hoser (like flex itself) wants to
| | * call the scanner after we return the
| | * YY_NULL, it'll still work - another
| | * YY_NULL will get returned.
| | */
| | (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
| |
| | yy_act = YY_STATE_EOF(YY_START);
| | goto do_action;
| | }
| |
| | else
| | {
| | if ( ! (yy_did_buffer_switch_on_eof) )
| | YY_NEW_FILE;
| | }
| | break;
| | }
| |
| | case EOB_ACT_CONTINUE_SCAN:
| | (yy_c_buf_p) =
| | (yytext_ptr) + yy_amount_of_matched_text;
| |
| | yy_current_state = yy_get_previous_state( );
| |
| | yy_cp = (yy_c_buf_p);
| | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
| | goto yy_match;
| |
| | case EOB_ACT_LAST_MATCH:
| | (yy_c_buf_p) =
| | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
| |
| | yy_current_state = yy_get_previous_state( );
| |
| | yy_cp = (yy_c_buf_p);
| | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
| | goto yy_find_action;
| | }
| | break;
| | }
| |
| | default:
| | YY_FATAL_ERROR(
| | "fatal flex scanner internal error--no action found" );
| | } /* end of action switch */
| | } /* end of scanning one token */
| | } /* end of yylex */
| |
| | /* yy_get_next_buffer - try to read in a new buffer
| | *
| | * Returns a code representing an action:
| | * EOB_ACT_LAST_MATCH -
| | * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
| | * EOB_ACT_END_OF_FILE - end of file
| | */
| | static int yy_get_next_buffer (void)
| | {
| | register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
| | register char *source = (yytext_ptr);
| | register int number_to_move, i;
| | int ret_val;
| |
| | if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
| | YY_FATAL_ERROR(
| | "fatal flex scanner internal error--end of buffer missed" );
| |
| | if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
| | { /* Don't try to fill the buffer, so this is an EOF. */
| | if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
| | {
| | /* We matched a single character, the EOB, so
| | * treat this as a final EOF.
| | */
| | return EOB_ACT_END_OF_FILE;
| | }
| |
| | else
| | {
| | /* We matched some text prior to the EOB, first
| | * process it.
| | */
| | return EOB_ACT_LAST_MATCH;
| | }
| | }
| |
| | /* Try to read more data. */
| |
| | /* First move last chars to start of buffer. */
| | number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1;
| |
| | for ( i = 0; i < number_to_move; ++i )
| | *(dest++) = *(source++);
| |
| | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
| | /* don't do the read, it's not guaranteed to return an EOF,
| | * just force an EOF
| | */
| | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
| |
| | else
| | {
| | int num_to_read =
| | YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
| |
| | while ( num_to_read <= 0 )
| | { /* Not enough room in the buffer - grow it. */
| |
| | YY_FATAL_ERROR(
| | "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
| |
| | }
| |
| | if ( num_to_read > YY_READ_BUF_SIZE )
| | num_to_read = YY_READ_BUF_SIZE;
| |
| | /* Read in more data. */
| | YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
| | (yy_n_chars), (size_t) num_to_read );
| |
| | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
| | }
| |
| | if ( (yy_n_chars) == 0 )
| | {
| | if ( number_to_move == YY_MORE_ADJ )
| | {
| | ret_val = EOB_ACT_END_OF_FILE;
| | yyrestart(yyin );
| | }
| |
| | else
| | {
| | ret_val = EOB_ACT_LAST_MATCH;
| | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
| | YY_BUFFER_EOF_PENDING;
| | }
| | }
| |
| | else
| | ret_val = EOB_ACT_CONTINUE_SCAN;
| |
| | if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
| | /* Extend the array by 50%, plus the number we really need. */
| | yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
| | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size );
| | if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
| | YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
| | }
| |
| | (yy_n_chars) += number_to_move;
| | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
| | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
| |
| | (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
| |
| | return ret_val;
| | }
| |
| | /* yy_get_previous_state - get the state just before the EOB char was reached */
| |
| | static yy_state_type yy_get_previous_state (void)
| | {
| | register yy_state_type yy_current_state;
| | register char *yy_cp;
| |
| | yy_current_state = (yy_start);
| |
| | (yy_state_ptr) = (yy_state_buf);
| | *(yy_state_ptr)++ = yy_current_state;
| |
| | for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
| | {
| | register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
| | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
| | {
| | yy_current_state = (int) yy_def[yy_current_state];
| | if ( yy_current_state >= 13 )
| | yy_c = yy_meta[(unsigned int) yy_c];
| | }
| | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
| | *(yy_state_ptr)++ = yy_current_state;
| | }
| |
| | return yy_current_state;
| | }
| |
| | /* yy_try_NUL_trans - try to make a transition on the NUL character
| | *
| | * synopsis
| | * next_state = yy_try_NUL_trans( current_state );
| | */
| | static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
| | {
| | register int yy_is_jam;
| |
| | register YY_CHAR yy_c = 1;
| | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
| | {
| | yy_current_state = (int) yy_def[yy_current_state];
| | if ( yy_current_state >= 13 )
| | yy_c = yy_meta[(unsigned int) yy_c];
| | }
| | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
| | yy_is_jam = (yy_current_state == 12);
| | if ( ! yy_is_jam )
| | *(yy_state_ptr)++ = yy_current_state;
| |
| | return yy_is_jam ? 0 : yy_current_state;
| | }
| |
| | static void yyunput (int c, register char * yy_bp )
| | {
| | register char *yy_cp;
| |
| | yy_cp = (yy_c_buf_p);
| |
| | /* undo effects of setting up yytext */
| | *yy_cp = (yy_hold_char);
| |
| | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
| | { /* need to shift things up to make room */
| | /* +2 for EOB chars. */
| | register int number_to_move = (yy_n_chars) + 2;
| | register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
| | YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
| | register char *source =
| | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
| |
| | while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
| | *--dest = *--source;
| |
| | yy_cp += (int) (dest - source);
| | yy_bp += (int) (dest - source);
| | YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
| | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
| |
| | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
| | YY_FATAL_ERROR( "flex scanner push-back overflow" );
| | }
| |
| | *--yy_cp = (char) c;
| |
| | (yytext_ptr) = yy_bp;
| | (yy_hold_char) = *yy_cp;
| | (yy_c_buf_p) = yy_cp;
| | }
| |
| | #ifndef YY_NO_INPUT
| | #ifdef __cplusplus
| | static int yyinput (void)
| | #else
| | static int input (void)
| | #endif
| |
| | {
| | int c;
| |
| | *(yy_c_buf_p) = (yy_hold_char);
| |
| | if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
| | {
| | /* yy_c_buf_p now points to the character we want to return.
| | * If this occurs *before* the EOB characters, then it's a
| | * valid NUL; if not, then we've hit the end of the buffer.
| | */
| | if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
| | /* This was really a NUL. */
| | *(yy_c_buf_p) = '\0';
| |
| | else
| | { /* need more input */
| | int offset = (yy_c_buf_p) - (yytext_ptr);
| | ++(yy_c_buf_p);
| |
| | switch ( yy_get_next_buffer( ) )
| | {
| | case EOB_ACT_LAST_MATCH:
| | /* This happens because yy_g_n_b()
| | * sees that we've accumulated a
| | * token and flags that we need to
| | * try matching the token before
| | * proceeding. But for input(),
| | * there's no matching to consider.
| | * So convert the EOB_ACT_LAST_MATCH
| | * to EOB_ACT_END_OF_FILE.
| | */
| |
| | /* Reset buffer status. */
| | yyrestart(yyin );
| |
| | /*FALLTHROUGH*/
| |
| | case EOB_ACT_END_OF_FILE:
| | {
| | if ( yywrap( ) )
| | return EOF;
| |
| | if ( ! (yy_did_buffer_switch_on_eof) )
| | YY_NEW_FILE;
| | #ifdef __cplusplus
| | return yyinput();
| | #else
| | return input();
| | #endif
| | }
| |
| | case EOB_ACT_CONTINUE_SCAN:
| | (yy_c_buf_p) = (yytext_ptr) + offset;
| | break;
| | }
| | }
| | }
| |
| | c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
| | *(yy_c_buf_p) = '\0'; /* preserve yytext */
| | (yy_hold_char) = *++(yy_c_buf_p);
| |
| | return c;
| | }
| | #endif /* ifndef YY_NO_INPUT */
| |
| | /** Immediately switch to a different input stream.
| | * @param input_file A readable stream.
| | *
| | * @note This function does not reset the start condition to @c INITIAL .
| | */
| | void yyrestart (FILE * input_file )
| | {
| |
| | if ( ! YY_CURRENT_BUFFER ){
| | yyensure_buffer_stack ();
| | YY_CURRENT_BUFFER_LVALUE =
| | yy_create_buffer(yyin,YY_BUF_SIZE );
| | }
| |
| | yy_init_buffer(YY_CURRENT_BUFFER,input_file );
| | yy_load_buffer_state( );
| | }
| |
| | /** Switch to a different input buffer.
| | * @param new_buffer The new input buffer.
| | *
| | */
| | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer )
| | {
| |
| | /* TODO. We should be able to replace this entire function body
| | * with
| | * yypop_buffer_state();
| | * yypush_buffer_state(new_buffer);
| | */
| | yyensure_buffer_stack ();
| | if ( YY_CURRENT_BUFFER == new_buffer )
| | return;
| |
| | if ( YY_CURRENT_BUFFER )
| | {
| | /* Flush out information for old buffer. */
| | *(yy_c_buf_p) = (yy_hold_char);
| | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
| | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
| | }
| |
| | YY_CURRENT_BUFFER_LVALUE = new_buffer;
| | yy_load_buffer_state( );
| |
| | /* We don't actually know whether we did this switch during
| | * EOF (yywrap()) processing, but the only time this flag
| | * is looked at is after yywrap() is called, so it's safe
| | * to go ahead and always set it.
| | */
| | (yy_did_buffer_switch_on_eof) = 1;
| | }
| |
| | static void yy_load_buffer_state (void)
| | {
| | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
| | (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
| | yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
| | (yy_hold_char) = *(yy_c_buf_p);
| | }
| |
| | /** Allocate and initialize an input buffer state.
| | * @param file A readable stream.
| | * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
| | *
| | * @return the allocated buffer state.
| | */
| | YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
| | {
| | YY_BUFFER_STATE b;
| |
| | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
| | if ( ! b )
| | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
| |
| | b->yy_buf_size = size;
| |
| | /* yy_ch_buf has to be 2 characters longer than the size given because
| | * we need to put in 2 end-of-buffer characters.
| | */
| | b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 );
| | if ( ! b->yy_ch_buf )
| | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
| |
| | b->yy_is_our_buffer = 1;
| |
| | yy_init_buffer(b,file );
| |
| | return b;
| | }
| |
| | /** Destroy the buffer.
| | * @param b a buffer created with yy_create_buffer()
| | *
| | */
| | void yy_delete_buffer (YY_BUFFER_STATE b )
| | {
| |
| | if ( ! b )
| | return;
| |
| | if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
| | YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
| |
| | if ( b->yy_is_our_buffer )
| | yyfree((void *) b->yy_ch_buf );
| |
| | yyfree((void *) b );
| | }
| |
| | #ifndef __cplusplus
| | extern int isatty (int );
| | #endif /* __cplusplus */
| |
| | /* Initializes or reinitializes a buffer.
| | * This function is sometimes called more than once on the same buffer,
| | * such as during a yyrestart() or at EOF.
| | */
| | static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file )
| |
| | {
| | int oerrno = errno;
| |
| | yy_flush_buffer(b );
| |
| | b->yy_input_file = file;
| | b->yy_fill_buffer = 1;
| |
| | /* If b is the current buffer, then yy_init_buffer was _probably_
| | * called from yyrestart() or through yy_get_next_buffer.
| | * In that case, we don't want to reset the lineno or column.
| | */
| | if (b != YY_CURRENT_BUFFER){
| | b->yy_bs_lineno = 1;
| | b->yy_bs_column = 0;
| | }
| |
| | b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
| |
| | errno = oerrno;
| | }
| |
| | /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
| | * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
| | *
| | */
| | void yy_flush_buffer (YY_BUFFER_STATE b )
| | {
| | if ( ! b )
| | return;
| |
| | b->yy_n_chars = 0;
| |
| | /* We always need two end-of-buffer characters. The first causes
| | * a transition to the end-of-buffer state. The second causes
| | * a jam in that state.
| | */
| | b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
| | b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
| |
| | b->yy_buf_pos = &b->yy_ch_buf[0];
| |
| | b->yy_at_bol = 1;
| | b->yy_buffer_status = YY_BUFFER_NEW;
| |
| | if ( b == YY_CURRENT_BUFFER )
| | yy_load_buffer_state( );
| | }
| |
| | /** Pushes the new state onto the stack. The new state becomes
| | * the current state. This function will allocate the stack
| | * if necessary.
| | * @param new_buffer The new state.
| | *
| | */
| | void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
| | {
| | if (new_buffer == NULL)
| | return;
| |
| | yyensure_buffer_stack();
| |
| | /* This block is copied from yy_switch_to_buffer. */
| | if ( YY_CURRENT_BUFFER )
| | {
| | /* Flush out information for old buffer. */
| | *(yy_c_buf_p) = (yy_hold_char);
| | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
| | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
| | }
| |
| | /* Only push if top exists. Otherwise, replace top. */
| | if (YY_CURRENT_BUFFER)
| | (yy_buffer_stack_top)++;
| | YY_CURRENT_BUFFER_LVALUE = new_buffer;
| |
| | /* copied from yy_switch_to_buffer. */
| | yy_load_buffer_state( );
| | (yy_did_buffer_switch_on_eof) = 1;
| | }
| |
| | /** Removes and deletes the top of the stack, if present.
| | * The next element becomes the new top.
| | *
| | */
| | void yypop_buffer_state (void)
| | {
| | if (!YY_CURRENT_BUFFER)
| | return;
| |
| | yy_delete_buffer(YY_CURRENT_BUFFER );
| | YY_CURRENT_BUFFER_LVALUE = NULL;
| | if ((yy_buffer_stack_top) > 0)
| | --(yy_buffer_stack_top);
| |
| | if (YY_CURRENT_BUFFER) {
| | yy_load_buffer_state( );
| | (yy_did_buffer_switch_on_eof) = 1;
| | }
| | }
| |
| | /* Allocates the stack if it does not exist.
| | * Guarantees space for at least one push.
| | */
| | static void yyensure_buffer_stack (void)
| | {
| | int num_to_alloc;
| |
| | if (!(yy_buffer_stack)) {
| |
| | /* First allocation is just for 2 elements, since we don't know if this
| | * scanner will even need a stack. We use 2 instead of 1 to avoid an
| | * immediate realloc on the next call.
| | */
| | num_to_alloc = 1;
| | (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
| | (num_to_alloc * sizeof(struct yy_buffer_state*)
| | );
| | if ( ! (yy_buffer_stack) )
| | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
| |
| | memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
| |
| | (yy_buffer_stack_max) = num_to_alloc;
| | (yy_buffer_stack_top) = 0;
| | return;
| | }
| |
| | if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
| |
| | /* Increase the buffer to prepare for a possible push. */
| | int grow_size = 8 /* arbitrary grow size */;
| |
| | num_to_alloc = (yy_buffer_stack_max) + grow_size;
| | (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
| | ((yy_buffer_stack),
| | num_to_alloc * sizeof(struct yy_buffer_state*)
| | );
| | if ( ! (yy_buffer_stack) )
| | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
| |
| | /* zero only the new slots.*/
| | memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
| | (yy_buffer_stack_max) = num_to_alloc;
| | }
| | }
| |
| | /** Setup the input buffer state to scan directly from a user-specified character buffer.
| | * @param base the character buffer
| | * @param size the size in bytes of the character buffer
| | *
| | * @return the newly allocated buffer state object.
| | */
| | YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size )
| | {
| | YY_BUFFER_STATE b;
| |
| | if ( size < 2 ||
| | base[size-2] != YY_END_OF_BUFFER_CHAR ||
| | base[size-1] != YY_END_OF_BUFFER_CHAR )
| | /* They forgot to leave room for the EOB's. */
| | return 0;
| |
| | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
| | if ( ! b )
| | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
| |
| | b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
| | b->yy_buf_pos = b->yy_ch_buf = base;
| | b->yy_is_our_buffer = 0;
| | b->yy_input_file = 0;
| | b->yy_n_chars = b->yy_buf_size;
| | b->yy_is_interactive = 0;
| | b->yy_at_bol = 1;
| | b->yy_fill_buffer = 0;
| | b->yy_buffer_status = YY_BUFFER_NEW;
| |
| | yy_switch_to_buffer(b );
| |
| | return b;
| | }
| |
| | /** Setup the input buffer state to scan a string. The next call to yylex() will
| | * scan from a @e copy of @a str.
| | * @param yystr a NUL-terminated string to scan
| | *
| | * @return the newly allocated buffer state object.
| | * @note If you want to scan bytes that may contain NUL values, then use
| | * yy_scan_bytes() instead.
| | */
| | YY_BUFFER_STATE yy_scan_string (yyconst char * yystr )
| | {
| |
| | return yy_scan_bytes(yystr,strlen(yystr) );
| | }
| |
| | /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
| | * scan from a @e copy of @a bytes.
| | * @param yybytes the byte buffer to scan
| | * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
| | *
| | * @return the newly allocated buffer state object.
| | */
| | YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, int _yybytes_len )
| | {
| | YY_BUFFER_STATE b;
| | char *buf;
| | yy_size_t n;
| | int i;
| |
| | /* Get memory for full buffer, including space for trailing EOB's. */
| | n = _yybytes_len + 2;
| | buf = (char *) yyalloc(n );
| | if ( ! buf )
| | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
| |
| | for ( i = 0; i < _yybytes_len; ++i )
| | buf[i] = yybytes[i];
| |
| | buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
| |
| | b = yy_scan_buffer(buf,n );
| | if ( ! b )
| | YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
| |
| | /* It's okay to grow etc. this buffer, and we should throw it
| | * away when we're done.
| | */
| | b->yy_is_our_buffer = 1;
| |
| | return b;
| | }
| |
| | #ifndef YY_EXIT_FAILURE
| | #define YY_EXIT_FAILURE 2
| | #endif
| |
| | static void yy_fatal_error (yyconst char* msg )
| | {
| | (void) fprintf( stderr, "%s\n", msg );
| | exit( YY_EXIT_FAILURE );
| | }
| |
| | /* Redefine yyless() so it works in section 3 code. */
| |
| | #undef yyless
| | #define yyless(n) \
| | do \
| | { \
| | /* Undo effects of setting up yytext. */ \
| | int yyless_macro_arg = (n); \
| | YY_LESS_LINENO(yyless_macro_arg);\
| | yytext[yyleng] = (yy_hold_char); \
| | (yy_c_buf_p) = yytext + yyless_macro_arg; \
| | (yy_hold_char) = *(yy_c_buf_p); \
| | *(yy_c_buf_p) = '\0'; \
| | yyleng = yyless_macro_arg; \
| | } \
| | while ( 0 )
| |
| | /* Accessor methods (get/set functions) to struct members. */
| |
| | /** Get the current line number.
| | *
| | */
| | int yyget_lineno (void)
| | {
| |
| | return yylineno;
| | }
| |
| | /** Get the input stream.
| | *
| | */
| | FILE *yyget_in (void)
| | {
| | return yyin;
| | }
| |
| | /** Get the output stream.
| | *
| | */
| | FILE *yyget_out (void)
| | {
| | return yyout;
| | }
| |
| | /** Get the length of the current token.
| | *
| | */
| | int yyget_leng (void)
| | {
| | return yyleng;
| | }
| |
| | /** Get the current token.
| | *
| | */
| |
| | char *yyget_text (void)
| | {
| | return yytext;
| | }
| |
| | /** Set the current line number.
| | * @param line_number
| | *
| | */
| | void yyset_lineno (int line_number )
| | {
| |
| | yylineno = line_number;
| | }
| |
| | /** Set the input stream. This does not discard the current
| | * input buffer.
| | * @param in_str A readable stream.
| | *
| | * @see yy_switch_to_buffer
| | */
| | void yyset_in (FILE * in_str )
| | {
| | yyin = in_str ;
| | }
| |
| | void yyset_out (FILE * out_str )
| | {
| | yyout = out_str ;
| | }
| |
| | int yyget_debug (void)
| | {
| | return yy_flex_debug;
| | }
| |
| | void yyset_debug (int bdebug )
| | {
| | yy_flex_debug = bdebug ;
| | }
| |
| | static int yy_init_globals (void)
| | {
| | /* Initialization is the same as for the non-reentrant scanner.
| | * This function is called from yylex_destroy(), so don't allocate here.
| | */
| |
| | (yy_buffer_stack) = 0;
| | (yy_buffer_stack_top) = 0;
| | (yy_buffer_stack_max) = 0;
| | (yy_c_buf_p) = (char *) 0;
| | (yy_init) = 0;
| | (yy_start) = 0;
| |
| | (yy_state_buf) = 0;
| | (yy_state_ptr) = 0;
| | (yy_full_match) = 0;
| | (yy_lp) = 0;
| |
| | /* Defined in main.c */
| | #ifdef YY_STDINIT
| | yyin = stdin;
| | yyout = stdout;
| | #else
| | yyin = (FILE *) 0;
| | yyout = (FILE *) 0;
| | #endif
| |
| | /* For future reference: Set errno on error, since we are called by
| | * yylex_init()
| | */
| | return 0;
| | }
| |
| | /* yylex_destroy is for both reentrant and non-reentrant scanners. */
| | int yylex_destroy (void)
| | {
| |
| | /* Pop the buffer stack, destroying each element. */
| | while(YY_CURRENT_BUFFER){
| | yy_delete_buffer(YY_CURRENT_BUFFER );
| | YY_CURRENT_BUFFER_LVALUE = NULL;
| | yypop_buffer_state();
| | }
| |
| | /* Destroy the stack itself. */
| | yyfree((yy_buffer_stack) );
| | (yy_buffer_stack) = NULL;
| |
| | yyfree ( (yy_state_buf) );
| | (yy_state_buf) = NULL;
| |
| | /* Reset the globals. This is important in a non-reentrant scanner so the next time
| | * yylex() is called, initialization will occur. */
| | yy_init_globals( );
| |
| | return 0;
| | }
| |
| | /*
| | * Internal utility routines.
| | */
| |
| | #ifndef yytext_ptr
| | static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
| | {
| | register int i;
| | for ( i = 0; i < n; ++i )
| | s1[i] = s2[i];
| | }
| | #endif
| |
| | #ifdef YY_NEED_STRLEN
| | static int yy_flex_strlen (yyconst char * s )
| | {
| | register int n;
| | for ( n = 0; s[n]; ++n )
| | ;
| |
| | return n;
| | }
| | #endif
| |
| | void *yyalloc (yy_size_t size )
| | {
| | return (void *) malloc( size );
| | }
| |
| | void *yyrealloc (void * ptr, yy_size_t size )
| | {
| | /* The cast to (char *) in the following accommodates both
| | * implementations that use char* generic pointers, and those
| | * that use void* generic pointers. It works with the latter
| | * because both ANSI C and C++ allow castless assignment from
| | * any pointer type to void*, and deal with argument conversions
| | * as though doing an assignment.
| | */
| | return (void *) realloc( (char *) ptr, size );
| | }
| |
| | void yyfree (void * ptr )
| | {
| | free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
| | }
| |
| | #define YYTABLES_NAME "yytables"
| |
| | #line 10 "conftest.l"
| |
| |
| | #ifdef YYTEXT_POINTER
| | extern char *yytext;
| | #endif
| | int
| | main (void)
| | {
| | return ! yylex () + ! yywrap ();
| | }
| configure:12902: gcc -o conftest.exe -g -O2 conftest.c -lfl >&5
| c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../../mingw32/bin/ld.exe: cannot find -lfl
| collect2.exe: error: ld returned 1 exit status
| configure:12902: $? = 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "GnuCOBOL"
| | #define PACKAGE_TARNAME "gnucobol"
| | #define PACKAGE_VERSION "2.2"
| | #define PACKAGE_STRING "GnuCOBOL 2.2"
| | #define PACKAGE_BUGREPORT "address@hidden"
| | #define PACKAGE_URL "https://www.gnu.org/software/gnucobol/"
| | #define PACKAGE "gnucobol"
| | #define VERSION "2.2"
| | #define PATCH_LEVEL 0
| | #define MAX_CALL_FIELD_PARAMS 192
| | #define STDC_HEADERS 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SYS_STAT_H 1
| | #define HAVE_STDLIB_H 1
| | #define HAVE_STRING_H 1
| | #define HAVE_MEMORY_H 1
| | #define HAVE_STRINGS_H 1
| | #define HAVE_INTTYPES_H 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_UNISTD_H 1
| | #define __EXTENSIONS__ 1
| | #define _ALL_SOURCE 1
| | #define _GNU_SOURCE 1
| | #define _POSIX_PTHREAD_SEMANTICS 1
| | #define _TANDEM_SOURCE 1
| | #define HAVE_DLFCN_H 1
| | #define LT_OBJDIR ".libs/"
| | /* end confdefs.h. */
| |
| | #line 3 "lex.yy.c"
| |
| | #define YY_INT_ALIGNED short int
| |
| | /* A lexical scanner generated by flex */
| |
| | #define FLEX_SCANNER
| | #define YY_FLEX_MAJOR_VERSION 2
| | #define YY_FLEX_MINOR_VERSION 5
| | #define YY_FLEX_SUBMINOR_VERSION 35
| | #if YY_FLEX_SUBMINOR_VERSION > 0
| | #define FLEX_BETA
| | #endif
| |
| | /* First, we deal with platform-specific or compiler-specific issues. */
| |
| | /* begin standard C headers. */
| | #include
| | #include
| | #include
| | #include
| |
| | /* end standard C headers. */
| |
| | /* flex integer type definitions */
| |
| | #ifndef FLEXINT_H
| | #define FLEXINT_H
| |
| | /* C99 systems have . Non-C99 systems may or may not. */
| |
| | #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
| |
| | /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
| | * if you want the limit (max/min) macros for int types.
| | */
| | #ifndef __STDC_LIMIT_MACROS
| | #define __STDC_LIMIT_MACROS 1
| | #endif
| |
| | #include
| | typedef int8_t flex_int8_t;
| | typedef uint8_t flex_uint8_t;
| | typedef int16_t flex_int16_t;
| | typedef uint16_t flex_uint16_t;
| | typedef int32_t flex_int32_t;
| | typedef uint32_t flex_uint32_t;
| | #else
| | typedef signed char flex_int8_t;
| | typedef short int flex_int16_t;
| | typedef int flex_int32_t;
| | typedef unsigned char flex_uint8_t;
| | typedef unsigned short int flex_uint16_t;
| | typedef unsigned int flex_uint32_t;
| |
| | /* Limits of integral types. */
| | #ifndef INT8_MIN
| | #define INT8_MIN (-128)
| | #endif
| | #ifndef INT16_MIN
| | #define INT16_MIN (-32767-1)
| | #endif
| | #ifndef INT32_MIN
| | #define INT32_MIN (-2147483647-1)
| | #endif
| | #ifndef INT8_MAX
| | #define INT8_MAX (127)
| | #endif
| | #ifndef INT16_MAX
| | #define INT16_MAX (32767)
| | #endif
| | #ifndef INT32_MAX
| | #define INT32_MAX (2147483647)
| | #endif
| | #ifndef UINT8_MAX
| | #define UINT8_MAX (255U)
| | #endif
| | #ifndef UINT16_MAX
| | #define UINT16_MAX (65535U)
| | #endif
| | #ifndef UINT32_MAX
| | #define UINT32_MAX (4294967295U)
| | #endif
| |
| | #endif /* ! C99 */
| |
| | #endif /* ! FLEXINT_H */
| |
| | #ifdef __cplusplus
| |
| | /* The "const" storage-class-modifier is valid. */
| | #define YY_USE_CONST
| |
| | #else /* ! __cplusplus */
| |
| | /* C99 requires __STDC__ to be defined as 1. */
| | #if defined (__STDC__)
| |
| | #define YY_USE_CONST
| |
| | #endif /* defined (__STDC__) */
| | #endif /* ! __cplusplus */
| |
| | #ifdef YY_USE_CONST
| | #define yyconst const
| | #else
| | #define yyconst
| | #endif
| |
| | /* Returned upon end-of-file. */
| | #define YY_NULL 0
| |
| | /* Promotes a possibly negative, possibly signed char to an unsigned
| | * integer for use as an array index. If the signed char is negative,
| | * we want to instead treat it as an 8-bit unsigned char, hence the
| | * double cast.
| | */
| | #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
| |
| | /* Enter a start condition. This macro really ought to take a parameter,
| | * but we do it the disgusting crufty way forced on us by the ()-less
| | * definition of BEGIN.
| | */
| | #define BEGIN (yy_start) = 1 + 2 *
| |
| | /* Translate the current start state into a value that can be later handed
| | * to BEGIN to return to the state. The YYSTATE alias is for lex
| | * compatibility.
| | */
| | #define YY_START (((yy_start) - 1) / 2)
| | #define YYSTATE YY_START
| |
| | /* Action number for EOF rule of a given start state. */
| | #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
| |
| | /* Special action meaning "start processing a new file". */
| | #define YY_NEW_FILE yyrestart(yyin )
| |
| | #define YY_END_OF_BUFFER_CHAR 0
| |
| | /* Size of default input buffer. */
| | #ifndef YY_BUF_SIZE
| | #ifdef __ia64__
| | /* On IA-64, the buffer size is 16k, not 8k.
| | * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
| | * Ditto for the __ia64__ case accordingly.
| | */
| | #define YY_BUF_SIZE 32768
| | #else
| | #define YY_BUF_SIZE 16384
| | #endif /* __ia64__ */
| | #endif
| |
| | /* The state buf must be large enough to hold one state per character in the main buffer.
| | */
| | #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
| |
| | #ifndef YY_TYPEDEF_YY_BUFFER_STATE
| | #define YY_TYPEDEF_YY_BUFFER_STATE
| | typedef struct yy_buffer_state *YY_BUFFER_STATE;
| | #endif
| |
| | extern int yyleng;
| |
| | extern FILE *yyin, *yyout;
| |
| | #define EOB_ACT_CONTINUE_SCAN 0
| | #define EOB_ACT_END_OF_FILE 1
| | #define EOB_ACT_LAST_MATCH 2
| |
| | #define YY_LESS_LINENO(n)
| |
| | /* Return all but the first "n" matched characters back to the input stream. */
| | #define yyless(n) \
| | do \
| | { \
| | /* Undo effects of setting up yytext. */ \
| | int yyless_macro_arg = (n); \
| | YY_LESS_LINENO(yyless_macro_arg);\
| | *yy_cp = (yy_hold_char); \
| | YY_RESTORE_YY_MORE_OFFSET \
| | (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
| | YY_DO_BEFORE_ACTION; /* set up yytext again */ \
| | } \
| | while ( 0 )
| |
| | #define unput(c) yyunput( c, (yytext_ptr) )
| |
| | #ifndef YY_TYPEDEF_YY_SIZE_T
| | #define YY_TYPEDEF_YY_SIZE_T
| | typedef size_t yy_size_t;
| | #endif
| |
| | #ifndef YY_STRUCT_YY_BUFFER_STATE
| | #define YY_STRUCT_YY_BUFFER_STATE
| | struct yy_buffer_state
| | {
| | FILE *yy_input_file;
| |
| | char *yy_ch_buf; /* input buffer */
| | char *yy_buf_pos; /* current position in input buffer */
| |
| | /* Size of input buffer in bytes, not including room for EOB
| | * characters.
| | */
| | yy_size_t yy_buf_size;
| |
| | /* Number of characters read into yy_ch_buf, not including EOB
| | * characters.
| | */
| | int yy_n_chars;
| |
| | /* Whether we "own" the buffer - i.e., we know we created it,
| | * and can realloc() it to grow it, and should free() it to
| | * delete it.
| | */
| | int yy_is_our_buffer;
| |
| | /* Whether this is an "interactive" input source; if so, and
| | * if we're using stdio for input, then we want to use getc()
| | * instead of fread(), to make sure we stop fetching input after
| | * each newline.
| | */
| | int yy_is_interactive;
| |
| | /* Whether we're considered to be at the beginning of a line.
| | * If so, '^' rules will be active on the next match, otherwise
| | * not.
| | */
| | int yy_at_bol;
| |
| | int yy_bs_lineno; /**< The line count. */
| | int yy_bs_column; /**< The column count. */
| |
| | /* Whether to try to fill the input buffer when we reach the
| | * end of it.
| | */
| | int yy_fill_buffer;
| |
| | int yy_buffer_status;
| |
| | #define YY_BUFFER_NEW 0
| | #define YY_BUFFER_NORMAL 1
| | /* When an EOF's been seen but there's still some text to process
| | * then we mark the buffer as YY_EOF_PENDING, to indicate that we
| | * shouldn't try reading from the input source any more. We might
| | * still have a bunch of tokens to match, though, because of
| | * possible backing-up.
| | *
| | * When we actually see the EOF, we change the status to "new"
| | * (via yyrestart()), so that the user can continue scanning by
| | * just pointing yyin at a new input file.
| | */
| | #define YY_BUFFER_EOF_PENDING 2
| |
| | };
| | #endif /* !YY_STRUCT_YY_BUFFER_STATE */
| |
| | /* Stack of input buffers. */
| | static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
| | static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
| | static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
| |
| | /* We provide macros for accessing buffer states in case in the
| | * future we want to put the buffer states in a more general
| | * "scanner state".
| | *
| | * Returns the top of the stack, or NULL.
| | */
| | #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
| | ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
| | : NULL)
| |
| | /* Same as previous macro, but useful when we know that the buffer stack is not
| | * NULL or when we need an lvalue. For internal use only.
| | */
| | #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
| |
| | /* yy_hold_char holds the character lost when yytext is formed. */
| | static char yy_hold_char;
| | static int yy_n_chars; /* number of characters read into yy_ch_buf */
| | int yyleng;
| |
| | /* Points to current character in buffer. */
| | static char *yy_c_buf_p = (char *) 0;
| | static int yy_init = 0; /* whether we need to initialize */
| | static int yy_start = 0; /* start state number */
| |
| | /* Flag which is used to allow yywrap()'s to do buffer switches
| | * instead of setting up a fresh yyin. A bit of a hack ...
| | */
| | static int yy_did_buffer_switch_on_eof;
| |
| | void yyrestart (FILE *input_file );
| | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer );
| | YY_BUFFER_STATE yy_create_buffer (FILE *file,int size );
| | void yy_delete_buffer (YY_BUFFER_STATE b );
| | void yy_flush_buffer (YY_BUFFER_STATE b );
| | void yypush_buffer_state (YY_BUFFER_STATE new_buffer );
| | void yypop_buffer_state (void );
| |
| | static void yyensure_buffer_stack (void );
| | static void yy_load_buffer_state (void );
| | static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file );
| |
| | #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
| |
| | YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size );
| | YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str );
| | YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,int len );
| |
| | void *yyalloc (yy_size_t );
| | void *yyrealloc (void *,yy_size_t );
| | void yyfree (void * );
| |
| | #define yy_new_buffer yy_create_buffer
| |
| | #define yy_set_interactive(is_interactive) \
| | { \
| | if ( ! YY_CURRENT_BUFFER ){ \
| | yyensure_buffer_stack (); \
| | YY_CURRENT_BUFFER_LVALUE = \
| | yy_create_buffer(yyin,YY_BUF_SIZE ); \
| | } \
| | YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
| | }
| |
| | #define yy_set_bol(at_bol) \
| | { \
| | if ( ! YY_CURRENT_BUFFER ){\
| | yyensure_buffer_stack (); \
| | YY_CURRENT_BUFFER_LVALUE = \
| | yy_create_buffer(yyin,YY_BUF_SIZE ); \
| | } \
| | YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
| | }
| |
| | #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
| |
| | /* Begin user sect3 */
| |
| | typedef unsigned char YY_CHAR;
| |
| | FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
| |
| | typedef int yy_state_type;
| |
| | extern int yylineno;
| |
| | int yylineno = 1;
| |
| | extern char *yytext;
| | #define yytext_ptr yytext
| |
| | static yy_state_type yy_get_previous_state (void );
| | static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
| | static int yy_get_next_buffer (void );
| | static void yy_fatal_error (yyconst char msg[] );
| |
| | /* Done after the current pattern has been matched and before the
| | * corresponding action - sets up yytext.
| | */
| | #define YY_DO_BEFORE_ACTION \
| | (yytext_ptr) = yy_bp; \
| | (yytext_ptr) -= (yy_more_len); \
| | yyleng = (size_t) (yy_cp - (yytext_ptr)); \
| | (yy_hold_char) = *yy_cp; \
| | *yy_cp = '\0'; \
| | (yy_c_buf_p) = yy_cp;
| |
| | #define YY_NUM_RULES 8
| | #define YY_END_OF_BUFFER 9
| | /* This struct is not used in this scanner,
| | but its presence is necessary. */
| | struct yy_trans_info
| | {
| | flex_int32_t yy_verify;
| | flex_int32_t yy_nxt;
| | };
| | static yyconst flex_int16_t yy_acclist[23] =
| | { 0,
| | 9, 7, 8, 8, 1, 7, 8, 2, 7, 8,
| | 3, 7, 8, 4, 7, 8, 5, 7, 8, 6,
| | 7, 8
| | } ;
| |
| | static yyconst flex_int16_t yy_accept[14] =
| | { 0,
| | 1, 1, 1, 2, 4, 5, 8, 11, 14, 17,
| | 20, 23, 23
| | } ;
| |
| | static yyconst flex_int32_t yy_ec[256] =
| | { 0,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 2,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 3, 4, 5, 6,
| |
| | 7, 8, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| |
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1
| | } ;
| |
| | static yyconst flex_int32_t yy_meta[9] =
| | { 0,
| | 1, 1, 1, 1, 1, 1, 1, 1
| | } ;
| |
| | static yyconst flex_int16_t yy_base[13] =
| | { 0,
| | 0, 0, 9, 10, 10, 10, 10, 10, 10, 10,
| | 10, 10
| | } ;
| |
| | static yyconst flex_int16_t yy_def[13] =
| | { 0,
| | 12, 1, 12, 12, 12, 12, 12, 12, 12, 12,
| | 12, 0
| | } ;
| |
| | static yyconst flex_int16_t yy_nxt[19] =
| | { 0,
| | 4, 5, 6, 7, 8, 9, 10, 11, 12, 3,
| | 12, 12, 12, 12, 12, 12, 12, 12
| | } ;
| |
| | static yyconst flex_int16_t yy_chk[19] =
| | { 0,
| | 1, 1, 1, 1, 1, 1, 1, 1, 3, 12,
| | 12, 12, 12, 12, 12, 12, 12, 12
| | } ;
| |
| | extern int yy_flex_debug;
| | int yy_flex_debug = 0;
| |
| | static yy_state_type *yy_state_buf=0, *yy_state_ptr=0;
| | static char *yy_full_match;
| | static int yy_lp;
| | #define REJECT \
| | { \
| | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \
| | yy_cp = (yy_full_match); /* restore poss. backed-over text */ \
| | ++(yy_lp); \
| | goto find_rule; \
| | }
| |
| | static int yy_more_flag = 0;
| | static int yy_more_len = 0;
| | #define yymore() ((yy_more_flag) = 1)
| | #define YY_MORE_ADJ (yy_more_len)
| | #define YY_RESTORE_YY_MORE_OFFSET
| | char *yytext;
| | #line 1 "conftest.l"
| | #line 477 "lex.yy.c"
| |
| | #define INITIAL 0
| |
| | #ifndef YY_NO_UNISTD_H
| | /* Special case for "unistd.h", since it is non-ANSI. We include it way
| | * down here because we want the user's section 1 to have been scanned first.
| | * The user has a chance to override it with an option.
| | */
| | #include
| | #endif
| |
| | #ifndef YY_EXTRA_TYPE
| | #define YY_EXTRA_TYPE void *
| | #endif
| |
| | static int yy_init_globals (void );
| |
| | /* Accessor methods to globals.
| | These are made visible to non-reentrant scanners for convenience. */
| |
| | int yylex_destroy (void );
| |
| | int yyget_debug (void );
| |
| | void yyset_debug (int debug_flag );
| |
| | YY_EXTRA_TYPE yyget_extra (void );
| |
| | void yyset_extra (YY_EXTRA_TYPE user_defined );
| |
| | FILE *yyget_in (void );
| |
| | void yyset_in (FILE * in_str );
| |
| | FILE *yyget_out (void );
| |
| | void yyset_out (FILE * out_str );
| |
| | int yyget_leng (void );
| |
| | char *yyget_text (void );
| |
| | int yyget_lineno (void );
| |
| | void yyset_lineno (int line_number );
| |
| | /* Macros after this point can all be overridden by user definitions in
| | * section 1.
| | */
| |
| | #ifndef YY_SKIP_YYWRAP
| | #ifdef __cplusplus
| | extern "C" int yywrap (void );
| | #else
| | extern int yywrap (void );
| | #endif
| | #endif
| |
| | static void yyunput (int c,char *buf_ptr );
| |
| | #ifndef yytext_ptr
| | static void yy_flex_strncpy (char *,yyconst char *,int );
| | #endif
| |
| | #ifdef YY_NEED_STRLEN
| | static int yy_flex_strlen (yyconst char * );
| | #endif
| |
| | #ifndef YY_NO_INPUT
| |
| | #ifdef __cplusplus
| | static int yyinput (void );
| | #else
| | static int input (void );
| | #endif
| |
| | #endif
| |
| | /* Amount of stuff to slurp up with each read. */
| | #ifndef YY_READ_BUF_SIZE
| | #ifdef __ia64__
| | /* On IA-64, the buffer size is 16k, not 8k */
| | #define YY_READ_BUF_SIZE 16384
| | #else
| | #define YY_READ_BUF_SIZE 8192
| | #endif /* __ia64__ */
| | #endif
| |
| | /* Copy whatever the last rule matched to the standard output. */
| | #ifndef ECHO
| | /* This used to be an fputs(), but since the string might contain NUL's,
| | * we now use fwrite().
| | */
| | #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
| | #endif
| |
| | /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
| | * is returned in "result".
| | */
| | #ifndef YY_INPUT
| | #define YY_INPUT(buf,result,max_size) \
| | if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
| | { \
| | int c = '*'; \
| | size_t n; \
| | for ( n = 0; n < max_size && \
| | (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
| | buf[n] = (char) c; \
| | if ( c == '\n' ) \
| | buf[n++] = (char) c; \
| | if ( c == EOF && ferror( yyin ) ) \
| | YY_FATAL_ERROR( "input in flex scanner failed" ); \
| | result = n; \
| | } \
| | else \
| | { \
| | errno=0; \
| | while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
| | { \
| | if( errno != EINTR) \
| | { \
| | YY_FATAL_ERROR( "input in flex scanner failed" ); \
| | break; \
| | } \
| | errno=0; \
| | clearerr(yyin); \
| | } \
| | }\
| | \
| |
| | #endif
| |
| | /* No semi-colon after return; correct usage is to write "yyterminate();" -
| | * we don't want an extra ';' after the "return" because that will cause
| | * some compilers to complain about unreachable statements.
| | */
| | #ifndef yyterminate
| | #define yyterminate() return YY_NULL
| | #endif
| |
| | /* Number of entries by which start-condition stack grows. */
| | #ifndef YY_START_STACK_INCR
| | #define YY_START_STACK_INCR 25
| | #endif
| |
| | /* Report a fatal error. */
| | #ifndef YY_FATAL_ERROR
| | #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
| | #endif
| |
| | /* end tables serialization structures and prototypes */
| |
| | /* Default declaration of generated scanner - a define so the user can
| | * easily add parameters.
| | */
| | #ifndef YY_DECL
| | #define YY_DECL_IS_OURS 1
| |
| | extern int yylex (void);
| |
| | #define YY_DECL int yylex (void)
| | #endif /* !YY_DECL */
| |
| | /* Code executed at the beginning of each rule, after yytext and yyleng
| | * have been set up.
| | */
| | #ifndef YY_USER_ACTION
| | #define YY_USER_ACTION
| | #endif
| |
| | /* Code executed at the end of each rule. */
| | #ifndef YY_BREAK
| | #define YY_BREAK break;
| | #endif
| |
| | #define YY_RULE_SETUP \
| | YY_USER_ACTION
| |
| | /** The main scanner function which does all the work.
| | */
| | YY_DECL
| | {
| | register yy_state_type yy_current_state;
| | register char *yy_cp, *yy_bp;
| | register int yy_act;
| |
| | #line 1 "conftest.l"
| |
| | #line 666 "lex.yy.c"
| |
| | if ( !(yy_init) )
| | {
| | (yy_init) = 1;
| |
| | #ifdef YY_USER_INIT
| | YY_USER_INIT;
| | #endif
| |
| | /* Create the reject buffer large enough to save one state per allowed character. */
| | if ( ! (yy_state_buf) )
| | (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE );
| | if ( ! (yy_state_buf) )
| | YY_FATAL_ERROR( "out of dynamic memory in yylex()" );
| |
| | if ( ! (yy_start) )
| | (yy_start) = 1; /* first start state */
| |
| | if ( ! yyin )
| | yyin = stdin;
| |
| | if ( ! yyout )
| | yyout = stdout;
| |
| | if ( ! YY_CURRENT_BUFFER ) {
| | yyensure_buffer_stack ();
| | YY_CURRENT_BUFFER_LVALUE =
| | yy_create_buffer(yyin,YY_BUF_SIZE );
| | }
| |
| | yy_load_buffer_state( );
| | }
| |
| | while ( 1 ) /* loops until end-of-file is reached */
| | {
| | (yy_more_len) = 0;
| | if ( (yy_more_flag) )
| | {
| | (yy_more_len) = (yy_c_buf_p) - (yytext_ptr);
| | (yy_more_flag) = 0;
| | }
| | yy_cp = (yy_c_buf_p);
| |
| | /* Support of yytext. */
| | *yy_cp = (yy_hold_char);
| |
| | /* yy_bp points to the position in yy_ch_buf of the start of
| | * the current run.
| | */
| | yy_bp = yy_cp;
| |
| | yy_current_state = (yy_start);
| |
| | (yy_state_ptr) = (yy_state_buf);
| | *(yy_state_ptr)++ = yy_current_state;
| |
| | yy_match:
| | do
| | {
| | register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
| | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
| | {
| | yy_current_state = (int) yy_def[yy_current_state];
| | if ( yy_current_state >= 13 )
| | yy_c = yy_meta[(unsigned int) yy_c];
| | }
| | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
| | *(yy_state_ptr)++ = yy_current_state;
| | ++yy_cp;
| | }
| | while ( yy_base[yy_current_state] != 10 );
| |
| | yy_find_action:
| | yy_current_state = *--(yy_state_ptr);
| | (yy_lp) = yy_accept[yy_current_state];
| | find_rule: /* we branch to this label when backing up */
| | for ( ; ; ) /* until we find what rule we matched */
| | {
| | if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] )
| | {
| | yy_act = yy_acclist[(yy_lp)];
| | {
| | (yy_full_match) = yy_cp;
| | break;
| | }
| | }
| | --yy_cp;
| | yy_current_state = *--(yy_state_ptr);
| | (yy_lp) = yy_accept[yy_current_state];
| | }
| |
| | YY_DO_BEFORE_ACTION;
| |
| | do_action: /* This label is used only to access EOF actions. */
| |
| | switch ( yy_act )
| | { /* beginning of action switch */
| | case 1:
| | YY_RULE_SETUP
| | #line 2 "conftest.l"
| | { ECHO; }
| | YY_BREAK
| | case 2:
| | YY_RULE_SETUP
| | #line 3 "conftest.l"
| | { REJECT; }
| | YY_BREAK
| | case 3:
| | YY_RULE_SETUP
| | #line 4 "conftest.l"
| | { yymore (); }
| | YY_BREAK
| | case 4:
| | YY_RULE_SETUP
| | #line 5 "conftest.l"
| | { yyless (1); }
| | YY_BREAK
| | case 5:
| | YY_RULE_SETUP
| | #line 6 "conftest.l"
| | { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
| | yyless ((input () != 0)); }
| | YY_BREAK
| | case 6:
| | YY_RULE_SETUP
| | #line 8 "conftest.l"
| | { unput (yytext[0]); }
| | YY_BREAK
| | case 7:
| | YY_RULE_SETUP
| | #line 9 "conftest.l"
| | { BEGIN INITIAL; }
| | YY_BREAK
| | case 8:
| | YY_RULE_SETUP
| | #line 10 "conftest.l"
| | ECHO;
| | YY_BREAK
| | #line 805 "lex.yy.c"
| | case YY_STATE_EOF(INITIAL):
| | yyterminate();
| |
| | case YY_END_OF_BUFFER:
| | {
| | /* Amount of text matched not including the EOB char. */
| | int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
| |
| | /* Undo the effects of YY_DO_BEFORE_ACTION. */
| | *yy_cp = (yy_hold_char);
| | YY_RESTORE_YY_MORE_OFFSET
| |
| | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
| | {
| | /* We're scanning a new file or input source. It's
| | * possible that this happened because the user
| | * just pointed yyin at a new source and called
| | * yylex(). If so, then we have to assure
| | * consistency between YY_CURRENT_BUFFER and our
| | * globals. Here is the right place to do so, because
| | * this is the first action (other than possibly a
| | * back-up) that will match for the new input source.
| | */
| | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
| | YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
| | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
| | }
| |
| | /* Note that here we test for yy_c_buf_p "<=" to the position
| | * of the first EOB in the buffer, since yy_c_buf_p will
| | * already have been incremented past the NUL character
| | * (since all states make transitions on EOB to the
| | * end-of-buffer state). Contrast this with the test
| | * in input().
| | */
| | if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
| | { /* This was really a NUL. */
| | yy_state_type yy_next_state;
| |
| | (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
| |
| | yy_current_state = yy_get_previous_state( );
| |
| | /* Okay, we're now positioned to make the NUL
| | * transition. We couldn't have
| | * yy_get_previous_state() go ahead and do it
| | * for us because it doesn't know how to deal
| | * with the possibility of jamming (and we don't
| | * want to build jamming into it because then it
| | * will run more slowly).
| | */
| |
| | yy_next_state = yy_try_NUL_trans( yy_current_state );
| |
| | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
| |
| | if ( yy_next_state )
| | {
| | /* Consume the NUL. */
| | yy_cp = ++(yy_c_buf_p);
| | yy_current_state = yy_next_state;
| | goto yy_match;
| | }
| |
| | else
| | {
| | yy_cp = (yy_c_buf_p);
| | goto yy_find_action;
| | }
| | }
| |
| | else switch ( yy_get_next_buffer( ) )
| | {
| | case EOB_ACT_END_OF_FILE:
| | {
| | (yy_did_buffer_switch_on_eof) = 0;
| |
| | if ( yywrap( ) )
| | {
| | /* Note: because we've taken care in
| | * yy_get_next_buffer() to have set up
| | * yytext, we can now set up
| | * yy_c_buf_p so that if some total
| | * hoser (like flex itself) wants to
| | * call the scanner after we return the
| | * YY_NULL, it'll still work - another
| | * YY_NULL will get returned.
| | */
| | (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
| |
| | yy_act = YY_STATE_EOF(YY_START);
| | goto do_action;
| | }
| |
| | else
| | {
| | if ( ! (yy_did_buffer_switch_on_eof) )
| | YY_NEW_FILE;
| | }
| | break;
| | }
| |
| | case EOB_ACT_CONTINUE_SCAN:
| | (yy_c_buf_p) =
| | (yytext_ptr) + yy_amount_of_matched_text;
| |
| | yy_current_state = yy_get_previous_state( );
| |
| | yy_cp = (yy_c_buf_p);
| | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
| | goto yy_match;
| |
| | case EOB_ACT_LAST_MATCH:
| | (yy_c_buf_p) =
| | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
| |
| | yy_current_state = yy_get_previous_state( );
| |
| | yy_cp = (yy_c_buf_p);
| | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
| | goto yy_find_action;
| | }
| | break;
| | }
| |
| | default:
| | YY_FATAL_ERROR(
| | "fatal flex scanner internal error--no action found" );
| | } /* end of action switch */
| | } /* end of scanning one token */
| | } /* end of yylex */
| |
| | /* yy_get_next_buffer - try to read in a new buffer
| | *
| | * Returns a code representing an action:
| | * EOB_ACT_LAST_MATCH -
| | * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
| | * EOB_ACT_END_OF_FILE - end of file
| | */
| | static int yy_get_next_buffer (void)
| | {
| | register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
| | register char *source = (yytext_ptr);
| | register int number_to_move, i;
| | int ret_val;
| |
| | if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
| | YY_FATAL_ERROR(
| | "fatal flex scanner internal error--end of buffer missed" );
| |
| | if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
| | { /* Don't try to fill the buffer, so this is an EOF. */
| | if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
| | {
| | /* We matched a single character, the EOB, so
| | * treat this as a final EOF.
| | */
| | return EOB_ACT_END_OF_FILE;
| | }
| |
| | else
| | {
| | /* We matched some text prior to the EOB, first
| | * process it.
| | */
| | return EOB_ACT_LAST_MATCH;
| | }
| | }
| |
| | /* Try to read more data. */
| |
| | /* First move last chars to start of buffer. */
| | number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1;
| |
| | for ( i = 0; i < number_to_move; ++i )
| | *(dest++) = *(source++);
| |
| | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
| | /* don't do the read, it's not guaranteed to return an EOF,
| | * just force an EOF
| | */
| | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
| |
| | else
| | {
| | int num_to_read =
| | YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
| |
| | while ( num_to_read <= 0 )
| | { /* Not enough room in the buffer - grow it. */
| |
| | YY_FATAL_ERROR(
| | "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
| |
| | }
| |
| | if ( num_to_read > YY_READ_BUF_SIZE )
| | num_to_read = YY_READ_BUF_SIZE;
| |
| | /* Read in more data. */
| | YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
| | (yy_n_chars), (size_t) num_to_read );
| |
| | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
| | }
| |
| | if ( (yy_n_chars) == 0 )
| | {
| | if ( number_to_move == YY_MORE_ADJ )
| | {
| | ret_val = EOB_ACT_END_OF_FILE;
| | yyrestart(yyin );
| | }
| |
| | else
| | {
| | ret_val = EOB_ACT_LAST_MATCH;
| | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
| | YY_BUFFER_EOF_PENDING;
| | }
| | }
| |
| | else
| | ret_val = EOB_ACT_CONTINUE_SCAN;
| |
| | if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
| | /* Extend the array by 50%, plus the number we really need. */
| | yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
| | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size );
| | if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
| | YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
| | }
| |
| | (yy_n_chars) += number_to_move;
| | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
| | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
| |
| | (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
| |
| | return ret_val;
| | }
| |
| | /* yy_get_previous_state - get the state just before the EOB char was reached */
| |
| | static yy_state_type yy_get_previous_state (void)
| | {
| | register yy_state_type yy_current_state;
| | register char *yy_cp;
| |
| | yy_current_state = (yy_start);
| |
| | (yy_state_ptr) = (yy_state_buf);
| | *(yy_state_ptr)++ = yy_current_state;
| |
| | for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
| | {
| | register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
| | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
| | {
| | yy_current_state = (int) yy_def[yy_current_state];
| | if ( yy_current_state >= 13 )
| | yy_c = yy_meta[(unsigned int) yy_c];
| | }
| | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
| | *(yy_state_ptr)++ = yy_current_state;
| | }
| |
| | return yy_current_state;
| | }
| |
| | /* yy_try_NUL_trans - try to make a transition on the NUL character
| | *
| | * synopsis
| | * next_state = yy_try_NUL_trans( current_state );
| | */
| | static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
| | {
| | register int yy_is_jam;
| |
| | register YY_CHAR yy_c = 1;
| | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
| | {
| | yy_current_state = (int) yy_def[yy_current_state];
| | if ( yy_current_state >= 13 )
| | yy_c = yy_meta[(unsigned int) yy_c];
| | }
| | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
| | yy_is_jam = (yy_current_state == 12);
| | if ( ! yy_is_jam )
| | *(yy_state_ptr)++ = yy_current_state;
| |
| | return yy_is_jam ? 0 : yy_current_state;
| | }
| |
| | static void yyunput (int c, register char * yy_bp )
| | {
| | register char *yy_cp;
| |
| | yy_cp = (yy_c_buf_p);
| |
| | /* undo effects of setting up yytext */
| | *yy_cp = (yy_hold_char);
| |
| | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
| | { /* need to shift things up to make room */
| | /* +2 for EOB chars. */
| | register int number_to_move = (yy_n_chars) + 2;
| | register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
| | YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
| | register char *source =
| | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
| |
| | while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
| | *--dest = *--source;
| |
| | yy_cp += (int) (dest - source);
| | yy_bp += (int) (dest - source);
| | YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
| | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
| |
| | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
| | YY_FATAL_ERROR( "flex scanner push-back overflow" );
| | }
| |
| | *--yy_cp = (char) c;
| |
| | (yytext_ptr) = yy_bp;
| | (yy_hold_char) = *yy_cp;
| | (yy_c_buf_p) = yy_cp;
| | }
| |
| | #ifndef YY_NO_INPUT
| | #ifdef __cplusplus
| | static int yyinput (void)
| | #else
| | static int input (void)
| | #endif
| |
| | {
| | int c;
| |
| | *(yy_c_buf_p) = (yy_hold_char);
| |
| | if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
| | {
| | /* yy_c_buf_p now points to the character we want to return.
| | * If this occurs *before* the EOB characters, then it's a
| | * valid NUL; if not, then we've hit the end of the buffer.
| | */
| | if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
| | /* This was really a NUL. */
| | *(yy_c_buf_p) = '\0';
| |
| | else
| | { /* need more input */
| | int offset = (yy_c_buf_p) - (yytext_ptr);
| | ++(yy_c_buf_p);
| |
| | switch ( yy_get_next_buffer( ) )
| | {
| | case EOB_ACT_LAST_MATCH:
| | /* This happens because yy_g_n_b()
| | * sees that we've accumulated a
| | * token and flags that we need to
| | * try matching the token before
| | * proceeding. But for input(),
| | * there's no matching to consider.
| | * So convert the EOB_ACT_LAST_MATCH
| | * to EOB_ACT_END_OF_FILE.
| | */
| |
| | /* Reset buffer status. */
| | yyrestart(yyin );
| |
| | /*FALLTHROUGH*/
| |
| | case EOB_ACT_END_OF_FILE:
| | {
| | if ( yywrap( ) )
| | return EOF;
| |
| | if ( ! (yy_did_buffer_switch_on_eof) )
| | YY_NEW_FILE;
| | #ifdef __cplusplus
| | return yyinput();
| | #else
| | return input();
| | #endif
| | }
| |
| | case EOB_ACT_CONTINUE_SCAN:
| | (yy_c_buf_p) = (yytext_ptr) + offset;
| | break;
| | }
| | }
| | }
| |
| | c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
| | *(yy_c_buf_p) = '\0'; /* preserve yytext */
| | (yy_hold_char) = *++(yy_c_buf_p);
| |
| | return c;
| | }
| | #endif /* ifndef YY_NO_INPUT */
| |
| | /** Immediately switch to a different input stream.
| | * @param input_file A readable stream.
| | *
| | * @note This function does not reset the start condition to @c INITIAL .
| | */
| | void yyrestart (FILE * input_file )
| | {
| |
| | if ( ! YY_CURRENT_BUFFER ){
| | yyensure_buffer_stack ();
| | YY_CURRENT_BUFFER_LVALUE =
| | yy_create_buffer(yyin,YY_BUF_SIZE );
| | }
| |
| | yy_init_buffer(YY_CURRENT_BUFFER,input_file );
| | yy_load_buffer_state( );
| | }
| |
| | /** Switch to a different input buffer.
| | * @param new_buffer The new input buffer.
| | *
| | */
| | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer )
| | {
| |
| | /* TODO. We should be able to replace this entire function body
| | * with
| | * yypop_buffer_state();
| | * yypush_buffer_state(new_buffer);
| | */
| | yyensure_buffer_stack ();
| | if ( YY_CURRENT_BUFFER == new_buffer )
| | return;
| |
| | if ( YY_CURRENT_BUFFER )
| | {
| | /* Flush out information for old buffer. */
| | *(yy_c_buf_p) = (yy_hold_char);
| | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
| | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
| | }
| |
| | YY_CURRENT_BUFFER_LVALUE = new_buffer;
| | yy_load_buffer_state( );
| |
| | /* We don't actually know whether we did this switch during
| | * EOF (yywrap()) processing, but the only time this flag
| | * is looked at is after yywrap() is called, so it's safe
| | * to go ahead and always set it.
| | */
| | (yy_did_buffer_switch_on_eof) = 1;
| | }
| |
| | static void yy_load_buffer_state (void)
| | {
| | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
| | (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
| | yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
| | (yy_hold_char) = *(yy_c_buf_p);
| | }
| |
| | /** Allocate and initialize an input buffer state.
| | * @param file A readable stream.
| | * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
| | *
| | * @return the allocated buffer state.
| | */
| | YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
| | {
| | YY_BUFFER_STATE b;
| |
| | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
| | if ( ! b )
| | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
| |
| | b->yy_buf_size = size;
| |
| | /* yy_ch_buf has to be 2 characters longer than the size given because
| | * we need to put in 2 end-of-buffer characters.
| | */
| | b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 );
| | if ( ! b->yy_ch_buf )
| | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
| |
| | b->yy_is_our_buffer = 1;
| |
| | yy_init_buffer(b,file );
| |
| | return b;
| | }
| |
| | /** Destroy the buffer.
| | * @param b a buffer created with yy_create_buffer()
| | *
| | */
| | void yy_delete_buffer (YY_BUFFER_STATE b )
| | {
| |
| | if ( ! b )
| | return;
| |
| | if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
| | YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
| |
| | if ( b->yy_is_our_buffer )
| | yyfree((void *) b->yy_ch_buf );
| |
| | yyfree((void *) b );
| | }
| |
| | #ifndef __cplusplus
| | extern int isatty (int );
| | #endif /* __cplusplus */
| |
| | /* Initializes or reinitializes a buffer.
| | * This function is sometimes called more than once on the same buffer,
| | * such as during a yyrestart() or at EOF.
| | */
| | static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file )
| |
| | {
| | int oerrno = errno;
| |
| | yy_flush_buffer(b );
| |
| | b->yy_input_file = file;
| | b->yy_fill_buffer = 1;
| |
| | /* If b is the current buffer, then yy_init_buffer was _probably_
| | * called from yyrestart() or through yy_get_next_buffer.
| | * In that case, we don't want to reset the lineno or column.
| | */
| | if (b != YY_CURRENT_BUFFER){
| | b->yy_bs_lineno = 1;
| | b->yy_bs_column = 0;
| | }
| |
| | b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
| |
| | errno = oerrno;
| | }
| |
| | /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
| | * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
| | *
| | */
| | void yy_flush_buffer (YY_BUFFER_STATE b )
| | {
| | if ( ! b )
| | return;
| |
| | b->yy_n_chars = 0;
| |
| | /* We always need two end-of-buffer characters. The first causes
| | * a transition to the end-of-buffer state. The second causes
| | * a jam in that state.
| | */
| | b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
| | b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
| |
| | b->yy_buf_pos = &b->yy_ch_buf[0];
| |
| | b->yy_at_bol = 1;
| | b->yy_buffer_status = YY_BUFFER_NEW;
| |
| | if ( b == YY_CURRENT_BUFFER )
| | yy_load_buffer_state( );
| | }
| |
| | /** Pushes the new state onto the stack. The new state becomes
| | * the current state. This function will allocate the stack
| | * if necessary.
| | * @param new_buffer The new state.
| | *
| | */
| | void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
| | {
| | if (new_buffer == NULL)
| | return;
| |
| | yyensure_buffer_stack();
| |
| | /* This block is copied from yy_switch_to_buffer. */
| | if ( YY_CURRENT_BUFFER )
| | {
| | /* Flush out information for old buffer. */
| | *(yy_c_buf_p) = (yy_hold_char);
| | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
| | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
| | }
| |
| | /* Only push if top exists. Otherwise, replace top. */
| | if (YY_CURRENT_BUFFER)
| | (yy_buffer_stack_top)++;
| | YY_CURRENT_BUFFER_LVALUE = new_buffer;
| |
| | /* copied from yy_switch_to_buffer. */
| | yy_load_buffer_state( );
| | (yy_did_buffer_switch_on_eof) = 1;
| | }
| |
| | /** Removes and deletes the top of the stack, if present.
| | * The next element becomes the new top.
| | *
| | */
| | void yypop_buffer_state (void)
| | {
| | if (!YY_CURRENT_BUFFER)
| | return;
| |
| | yy_delete_buffer(YY_CURRENT_BUFFER );
| | YY_CURRENT_BUFFER_LVALUE = NULL;
| | if ((yy_buffer_stack_top) > 0)
| | --(yy_buffer_stack_top);
| |
| | if (YY_CURRENT_BUFFER) {
| | yy_load_buffer_state( );
| | (yy_did_buffer_switch_on_eof) = 1;
| | }
| | }
| |
| | /* Allocates the stack if it does not exist.
| | * Guarantees space for at least one push.
| | */
| | static void yyensure_buffer_stack (void)
| | {
| | int num_to_alloc;
| |
| | if (!(yy_buffer_stack)) {
| |
| | /* First allocation is just for 2 elements, since we don't know if this
| | * scanner will even need a stack. We use 2 instead of 1 to avoid an
| | * immediate realloc on the next call.
| | */
| | num_to_alloc = 1;
| | (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
| | (num_to_alloc * sizeof(struct yy_buffer_state*)
| | );
| | if ( ! (yy_buffer_stack) )
| | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
| |
| | memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
| |
| | (yy_buffer_stack_max) = num_to_alloc;
| | (yy_buffer_stack_top) = 0;
| | return;
| | }
| |
| | if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
| |
| | /* Increase the buffer to prepare for a possible push. */
| | int grow_size = 8 /* arbitrary grow size */;
| |
| | num_to_alloc = (yy_buffer_stack_max) + grow_size;
| | (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
| | ((yy_buffer_stack),
| | num_to_alloc * sizeof(struct yy_buffer_state*)
| | );
| | if ( ! (yy_buffer_stack) )
| | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
| |
| | /* zero only the new slots.*/
| | memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
| | (yy_buffer_stack_max) = num_to_alloc;
| | }
| | }
| |
| | /** Setup the input buffer state to scan directly from a user-specified character buffer.
| | * @param base the character buffer
| | * @param size the size in bytes of the character buffer
| | *
| | * @return the newly allocated buffer state object.
| | */
| | YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size )
| | {
| | YY_BUFFER_STATE b;
| |
| | if ( size < 2 ||
| | base[size-2] != YY_END_OF_BUFFER_CHAR ||
| | base[size-1] != YY_END_OF_BUFFER_CHAR )
| | /* They forgot to leave room for the EOB's. */
| | return 0;
| |
| | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
| | if ( ! b )
| | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
| |
| | b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
| | b->yy_buf_pos = b->yy_ch_buf = base;
| | b->yy_is_our_buffer = 0;
| | b->yy_input_file = 0;
| | b->yy_n_chars = b->yy_buf_size;
| | b->yy_is_interactive = 0;
| | b->yy_at_bol = 1;
| | b->yy_fill_buffer = 0;
| | b->yy_buffer_status = YY_BUFFER_NEW;
| |
| | yy_switch_to_buffer(b );
| |
| | return b;
| | }
| |
| | /** Setup the input buffer state to scan a string. The next call to yylex() will
| | * scan from a @e copy of @a str.
| | * @param yystr a NUL-terminated string to scan
| | *
| | * @return the newly allocated buffer state object.
| | * @note If you want to scan bytes that may contain NUL values, then use
| | * yy_scan_bytes() instead.
| | */
| | YY_BUFFER_STATE yy_scan_string (yyconst char * yystr )
| | {
| |
| | return yy_scan_bytes(yystr,strlen(yystr) );
| | }
| |
| | /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
| | * scan from a @e copy of @a bytes.
| | * @param yybytes the byte buffer to scan
| | * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
| | *
| | * @return the newly allocated buffer state object.
| | */
| | YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, int _yybytes_len )
| | {
| | YY_BUFFER_STATE b;
| | char *buf;
| | yy_size_t n;
| | int i;
| |
| | /* Get memory for full buffer, including space for trailing EOB's. */
| | n = _yybytes_len + 2;
| | buf = (char *) yyalloc(n );
| | if ( ! buf )
| | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
| |
| | for ( i = 0; i < _yybytes_len; ++i )
| | buf[i] = yybytes[i];
| |
| | buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
| |
| | b = yy_scan_buffer(buf,n );
| | if ( ! b )
| | YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
| |
| | /* It's okay to grow etc. this buffer, and we should throw it
| | * away when we're done.
| | */
| | b->yy_is_our_buffer = 1;
| |
| | return b;
| | }
| |
| | #ifndef YY_EXIT_FAILURE
| | #define YY_EXIT_FAILURE 2
| | #endif
| |
| | static void yy_fatal_error (yyconst char* msg )
| | {
| | (void) fprintf( stderr, "%s\n", msg );
| | exit( YY_EXIT_FAILURE );
| | }
| |
| | /* Redefine yyless() so it works in section 3 code. */
| |
| | #undef yyless
| | #define yyless(n) \
| | do \
| | { \
| | /* Undo effects of setting up yytext. */ \
| | int yyless_macro_arg = (n); \
| | YY_LESS_LINENO(yyless_macro_arg);\
| | yytext[yyleng] = (yy_hold_char); \
| | (yy_c_buf_p) = yytext + yyless_macro_arg; \
| | (yy_hold_char) = *(yy_c_buf_p); \
| | *(yy_c_buf_p) = '\0'; \
| | yyleng = yyless_macro_arg; \
| | } \
| | while ( 0 )
| |
| | /* Accessor methods (get/set functions) to struct members. */
| |
| | /** Get the current line number.
| | *
| | */
| | int yyget_lineno (void)
| | {
| |
| | return yylineno;
| | }
| |
| | /** Get the input stream.
| | *
| | */
| | FILE *yyget_in (void)
| | {
| | return yyin;
| | }
| |
| | /** Get the output stream.
| | *
| | */
| | FILE *yyget_out (void)
| | {
| | return yyout;
| | }
| |
| | /** Get the length of the current token.
| | *
| | */
| | int yyget_leng (void)
| | {
| | return yyleng;
| | }
| |
| | /** Get the current token.
| | *
| | */
| |
| | char *yyget_text (void)
| | {
| | return yytext;
| | }
| |
| | /** Set the current line number.
| | * @param line_number
| | *
| | */
| | void yyset_lineno (int line_number )
| | {
| |
| | yylineno = line_number;
| | }
| |
| | /** Set the input stream. This does not discard the current
| | * input buffer.
| | * @param in_str A readable stream.
| | *
| | * @see yy_switch_to_buffer
| | */
| | void yyset_in (FILE * in_str )
| | {
| | yyin = in_str ;
| | }
| |
| | void yyset_out (FILE * out_str )
| | {
| | yyout = out_str ;
| | }
| |
| | int yyget_debug (void)
| | {
| | return yy_flex_debug;
| | }
| |
| | void yyset_debug (int bdebug )
| | {
| | yy_flex_debug = bdebug ;
| | }
| |
| | static int yy_init_globals (void)
| | {
| | /* Initialization is the same as for the non-reentrant scanner.
| | * This function is called from yylex_destroy(), so don't allocate here.
| | */
| |
| | (yy_buffer_stack) = 0;
| | (yy_buffer_stack_top) = 0;
| | (yy_buffer_stack_max) = 0;
| | (yy_c_buf_p) = (char *) 0;
| | (yy_init) = 0;
| | (yy_start) = 0;
| |
| | (yy_state_buf) = 0;
| | (yy_state_ptr) = 0;
| | (yy_full_match) = 0;
| | (yy_lp) = 0;
| |
| | /* Defined in main.c */
| | #ifdef YY_STDINIT
| | yyin = stdin;
| | yyout = stdout;
| | #else
| | yyin = (FILE *) 0;
| | yyout = (FILE *) 0;
| | #endif
| |
| | /* For future reference: Set errno on error, since we are called by
| | * yylex_init()
| | */
| | return 0;
| | }
| |
| | /* yylex_destroy is for both reentrant and non-reentrant scanners. */
| | int yylex_destroy (void)
| | {
| |
| | /* Pop the buffer stack, destroying each element. */
| | while(YY_CURRENT_BUFFER){
| | yy_delete_buffer(YY_CURRENT_BUFFER );
| | YY_CURRENT_BUFFER_LVALUE = NULL;
| | yypop_buffer_state();
| | }
| |
| | /* Destroy the stack itself. */
| | yyfree((yy_buffer_stack) );
| | (yy_buffer_stack) = NULL;
| |
| | yyfree ( (yy_state_buf) );
| | (yy_state_buf) = NULL;
| |
| | /* Reset the globals. This is important in a non-reentrant scanner so the next time
| | * yylex() is called, initialization will occur. */
| | yy_init_globals( );
| |
| | return 0;
| | }
| |
| | /*
| | * Internal utility routines.
| | */
| |
| | #ifndef yytext_ptr
| | static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
| | {
| | register int i;
| | for ( i = 0; i < n; ++i )
| | s1[i] = s2[i];
| | }
| | #endif
| |
| | #ifdef YY_NEED_STRLEN
| | static int yy_flex_strlen (yyconst char * s )
| | {
| | register int n;
| | for ( n = 0; s[n]; ++n )
| | ;
| |
| | return n;
| | }
| | #endif
| |
| | void *yyalloc (yy_size_t size )
| | {
| | return (void *) malloc( size );
| | }
| |
| | void *yyrealloc (void * ptr, yy_size_t size )
| | {
| | /* The cast to (char *) in the following accommodates both
| | * implementations that use char* generic pointers, and those
| | * that use void* generic pointers. It works with the latter
| | * because both ANSI C and C++ allow castless assignment from
| | * any pointer type to void*, and deal with argument conversions
| | * as though doing an assignment.
| | */
| | return (void *) realloc( (char *) ptr, size );
| | }
| |
| | void yyfree (void * ptr )
| | {
| | free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
| | }
| |
| | #define YYTABLES_NAME "yytables"
| |
| | #line 10 "conftest.l"
| |
| |
| | #ifdef YYTEXT_POINTER
| | extern char *yytext;
| | #endif
| | int
| | main (void)
| | {
| | return ! yylex () + ! yywrap ();
| | }
| configure:12902: gcc -o conftest.exe -g -O2 conftest.c -ll >&5
| c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../../mingw32/bin/ld.exe: cannot find -ll
| collect2.exe: error: ld returned 1 exit status
| configure:12902: $? = 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "GnuCOBOL"
| | #define PACKAGE_TARNAME "gnucobol"
| | #define PACKAGE_VERSION "2.2"
| | #define PACKAGE_STRING "GnuCOBOL 2.2"
| | #define PACKAGE_BUGREPORT "address@hidden"
| | #define PACKAGE_URL "https://www.gnu.org/software/gnucobol/"
| | #define PACKAGE "gnucobol"
| | #define VERSION "2.2"
| | #define PATCH_LEVEL 0
| | #define MAX_CALL_FIELD_PARAMS 192
| | #define STDC_HEADERS 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SYS_STAT_H 1
| | #define HAVE_STDLIB_H 1
| | #define HAVE_STRING_H 1
| | #define HAVE_MEMORY_H 1
| | #define HAVE_STRINGS_H 1
| | #define HAVE_INTTYPES_H 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_UNISTD_H 1
| | #define __EXTENSIONS__ 1
| | #define _ALL_SOURCE 1
| | #define _GNU_SOURCE 1
| | #define _POSIX_PTHREAD_SEMANTICS 1
| | #define _TANDEM_SOURCE 1
| | #define HAVE_DLFCN_H 1
| | #define LT_OBJDIR ".libs/"
| | /* end confdefs.h. */
| |
| | #line 3 "lex.yy.c"
| |
| | #define YY_INT_ALIGNED short int
| |
| | /* A lexical scanner generated by flex */
| |
| | #define FLEX_SCANNER
| | #define YY_FLEX_MAJOR_VERSION 2
| | #define YY_FLEX_MINOR_VERSION 5
| | #define YY_FLEX_SUBMINOR_VERSION 35
| | #if YY_FLEX_SUBMINOR_VERSION > 0
| | #define FLEX_BETA
| | #endif
| |
| | /* First, we deal with platform-specific or compiler-specific issues. */
| |
| | /* begin standard C headers. */
| | #include
| | #include
| | #include
| | #include
| |
| | /* end standard C headers. */
| |
| | /* flex integer type definitions */
| |
| | #ifndef FLEXINT_H
| | #define FLEXINT_H
| |
| | /* C99 systems have . Non-C99 systems may or may not. */
| |
| | #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
| |
| | /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
| | * if you want the limit (max/min) macros for int types.
| | */
| | #ifndef __STDC_LIMIT_MACROS
| | #define __STDC_LIMIT_MACROS 1
| | #endif
| |
| | #include
| | typedef int8_t flex_int8_t;
| | typedef uint8_t flex_uint8_t;
| | typedef int16_t flex_int16_t;
| | typedef uint16_t flex_uint16_t;
| | typedef int32_t flex_int32_t;
| | typedef uint32_t flex_uint32_t;
| | #else
| | typedef signed char flex_int8_t;
| | typedef short int flex_int16_t;
| | typedef int flex_int32_t;
| | typedef unsigned char flex_uint8_t;
| | typedef unsigned short int flex_uint16_t;
| | typedef unsigned int flex_uint32_t;
| |
| | /* Limits of integral types. */
| | #ifndef INT8_MIN
| | #define INT8_MIN (-128)
| | #endif
| | #ifndef INT16_MIN
| | #define INT16_MIN (-32767-1)
| | #endif
| | #ifndef INT32_MIN
| | #define INT32_MIN (-2147483647-1)
| | #endif
| | #ifndef INT8_MAX
| | #define INT8_MAX (127)
| | #endif
| | #ifndef INT16_MAX
| | #define INT16_MAX (32767)
| | #endif
| | #ifndef INT32_MAX
| | #define INT32_MAX (2147483647)
| | #endif
| | #ifndef UINT8_MAX
| | #define UINT8_MAX (255U)
| | #endif
| | #ifndef UINT16_MAX
| | #define UINT16_MAX (65535U)
| | #endif
| | #ifndef UINT32_MAX
| | #define UINT32_MAX (4294967295U)
| | #endif
| |
| | #endif /* ! C99 */
| |
| | #endif /* ! FLEXINT_H */
| |
| | #ifdef __cplusplus
| |
| | /* The "const" storage-class-modifier is valid. */
| | #define YY_USE_CONST
| |
| | #else /* ! __cplusplus */
| |
| | /* C99 requires __STDC__ to be defined as 1. */
| | #if defined (__STDC__)
| |
| | #define YY_USE_CONST
| |
| | #endif /* defined (__STDC__) */
| | #endif /* ! __cplusplus */
| |
| | #ifdef YY_USE_CONST
| | #define yyconst const
| | #else
| | #define yyconst
| | #endif
| |
| | /* Returned upon end-of-file. */
| | #define YY_NULL 0
| |
| | /* Promotes a possibly negative, possibly signed char to an unsigned
| | * integer for use as an array index. If the signed char is negative,
| | * we want to instead treat it as an 8-bit unsigned char, hence the
| | * double cast.
| | */
| | #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
| |
| | /* Enter a start condition. This macro really ought to take a parameter,
| | * but we do it the disgusting crufty way forced on us by the ()-less
| | * definition of BEGIN.
| | */
| | #define BEGIN (yy_start) = 1 + 2 *
| |
| | /* Translate the current start state into a value that can be later handed
| | * to BEGIN to return to the state. The YYSTATE alias is for lex
| | * compatibility.
| | */
| | #define YY_START (((yy_start) - 1) / 2)
| | #define YYSTATE YY_START
| |
| | /* Action number for EOF rule of a given start state. */
| | #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
| |
| | /* Special action meaning "start processing a new file". */
| | #define YY_NEW_FILE yyrestart(yyin )
| |
| | #define YY_END_OF_BUFFER_CHAR 0
| |
| | /* Size of default input buffer. */
| | #ifndef YY_BUF_SIZE
| | #ifdef __ia64__
| | /* On IA-64, the buffer size is 16k, not 8k.
| | * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
| | * Ditto for the __ia64__ case accordingly.
| | */
| | #define YY_BUF_SIZE 32768
| | #else
| | #define YY_BUF_SIZE 16384
| | #endif /* __ia64__ */
| | #endif
| |
| | /* The state buf must be large enough to hold one state per character in the main buffer.
| | */
| | #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
| |
| | #ifndef YY_TYPEDEF_YY_BUFFER_STATE
| | #define YY_TYPEDEF_YY_BUFFER_STATE
| | typedef struct yy_buffer_state *YY_BUFFER_STATE;
| | #endif
| |
| | extern int yyleng;
| |
| | extern FILE *yyin, *yyout;
| |
| | #define EOB_ACT_CONTINUE_SCAN 0
| | #define EOB_ACT_END_OF_FILE 1
| | #define EOB_ACT_LAST_MATCH 2
| |
| | #define YY_LESS_LINENO(n)
| |
| | /* Return all but the first "n" matched characters back to the input stream. */
| | #define yyless(n) \
| | do \
| | { \
| | /* Undo effects of setting up yytext. */ \
| | int yyless_macro_arg = (n); \
| | YY_LESS_LINENO(yyless_macro_arg);\
| | *yy_cp = (yy_hold_char); \
| | YY_RESTORE_YY_MORE_OFFSET \
| | (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
| | YY_DO_BEFORE_ACTION; /* set up yytext again */ \
| | } \
| | while ( 0 )
| |
| | #define unput(c) yyunput( c, (yytext_ptr) )
| |
| | #ifndef YY_TYPEDEF_YY_SIZE_T
| | #define YY_TYPEDEF_YY_SIZE_T
| | typedef size_t yy_size_t;
| | #endif
| |
| | #ifndef YY_STRUCT_YY_BUFFER_STATE
| | #define YY_STRUCT_YY_BUFFER_STATE
| | struct yy_buffer_state
| | {
| | FILE *yy_input_file;
| |
| | char *yy_ch_buf; /* input buffer */
| | char *yy_buf_pos; /* current position in input buffer */
| |
| | /* Size of input buffer in bytes, not including room for EOB
| | * characters.
| | */
| | yy_size_t yy_buf_size;
| |
| | /* Number of characters read into yy_ch_buf, not including EOB
| | * characters.
| | */
| | int yy_n_chars;
| |
| | /* Whether we "own" the buffer - i.e., we know we created it,
| | * and can realloc() it to grow it, and should free() it to
| | * delete it.
| | */
| | int yy_is_our_buffer;
| |
| | /* Whether this is an "interactive" input source; if so, and
| | * if we're using stdio for input, then we want to use getc()
| | * instead of fread(), to make sure we stop fetching input after
| | * each newline.
| | */
| | int yy_is_interactive;
| |
| | /* Whether we're considered to be at the beginning of a line.
| | * If so, '^' rules will be active on the next match, otherwise
| | * not.
| | */
| | int yy_at_bol;
| |
| | int yy_bs_lineno; /**< The line count. */
| | int yy_bs_column; /**< The column count. */
| |
| | /* Whether to try to fill the input buffer when we reach the
| | * end of it.
| | */
| | int yy_fill_buffer;
| |
| | int yy_buffer_status;
| |
| | #define YY_BUFFER_NEW 0
| | #define YY_BUFFER_NORMAL 1
| | /* When an EOF's been seen but there's still some text to process
| | * then we mark the buffer as YY_EOF_PENDING, to indicate that we
| | * shouldn't try reading from the input source any more. We might
| | * still have a bunch of tokens to match, though, because of
| | * possible backing-up.
| | *
| | * When we actually see the EOF, we change the status to "new"
| | * (via yyrestart()), so that the user can continue scanning by
| | * just pointing yyin at a new input file.
| | */
| | #define YY_BUFFER_EOF_PENDING 2
| |
| | };
| | #endif /* !YY_STRUCT_YY_BUFFER_STATE */
| |
| | /* Stack of input buffers. */
| | static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
| | static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
| | static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
| |
| | /* We provide macros for accessing buffer states in case in the
| | * future we want to put the buffer states in a more general
| | * "scanner state".
| | *
| | * Returns the top of the stack, or NULL.
| | */
| | #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
| | ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
| | : NULL)
| |
| | /* Same as previous macro, but useful when we know that the buffer stack is not
| | * NULL or when we need an lvalue. For internal use only.
| | */
| | #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
| |
| | /* yy_hold_char holds the character lost when yytext is formed. */
| | static char yy_hold_char;
| | static int yy_n_chars; /* number of characters read into yy_ch_buf */
| | int yyleng;
| |
| | /* Points to current character in buffer. */
| | static char *yy_c_buf_p = (char *) 0;
| | static int yy_init = 0; /* whether we need to initialize */
| | static int yy_start = 0; /* start state number */
| |
| | /* Flag which is used to allow yywrap()'s to do buffer switches
| | * instead of setting up a fresh yyin. A bit of a hack ...
| | */
| | static int yy_did_buffer_switch_on_eof;
| |
| | void yyrestart (FILE *input_file );
| | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer );
| | YY_BUFFER_STATE yy_create_buffer (FILE *file,int size );
| | void yy_delete_buffer (YY_BUFFER_STATE b );
| | void yy_flush_buffer (YY_BUFFER_STATE b );
| | void yypush_buffer_state (YY_BUFFER_STATE new_buffer );
| | void yypop_buffer_state (void );
| |
| | static void yyensure_buffer_stack (void );
| | static void yy_load_buffer_state (void );
| | static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file );
| |
| | #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
| |
| | YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size );
| | YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str );
| | YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,int len );
| |
| | void *yyalloc (yy_size_t );
| | void *yyrealloc (void *,yy_size_t );
| | void yyfree (void * );
| |
| | #define yy_new_buffer yy_create_buffer
| |
| | #define yy_set_interactive(is_interactive) \
| | { \
| | if ( ! YY_CURRENT_BUFFER ){ \
| | yyensure_buffer_stack (); \
| | YY_CURRENT_BUFFER_LVALUE = \
| | yy_create_buffer(yyin,YY_BUF_SIZE ); \
| | } \
| | YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
| | }
| |
| | #define yy_set_bol(at_bol) \
| | { \
| | if ( ! YY_CURRENT_BUFFER ){\
| | yyensure_buffer_stack (); \
| | YY_CURRENT_BUFFER_LVALUE = \
| | yy_create_buffer(yyin,YY_BUF_SIZE ); \
| | } \
| | YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
| | }
| |
| | #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
| |
| | /* Begin user sect3 */
| |
| | typedef unsigned char YY_CHAR;
| |
| | FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
| |
| | typedef int yy_state_type;
| |
| | extern int yylineno;
| |
| | int yylineno = 1;
| |
| | extern char *yytext;
| | #define yytext_ptr yytext
| |
| | static yy_state_type yy_get_previous_state (void );
| | static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
| | static int yy_get_next_buffer (void );
| | static void yy_fatal_error (yyconst char msg[] );
| |
| | /* Done after the current pattern has been matched and before the
| | * corresponding action - sets up yytext.
| | */
| | #define YY_DO_BEFORE_ACTION \
| | (yytext_ptr) = yy_bp; \
| | (yytext_ptr) -= (yy_more_len); \
| | yyleng = (size_t) (yy_cp - (yytext_ptr)); \
| | (yy_hold_char) = *yy_cp; \
| | *yy_cp = '\0'; \
| | (yy_c_buf_p) = yy_cp;
| |
| | #define YY_NUM_RULES 8
| | #define YY_END_OF_BUFFER 9
| | /* This struct is not used in this scanner,
| | but its presence is necessary. */
| | struct yy_trans_info
| | {
| | flex_int32_t yy_verify;
| | flex_int32_t yy_nxt;
| | };
| | static yyconst flex_int16_t yy_acclist[23] =
| | { 0,
| | 9, 7, 8, 8, 1, 7, 8, 2, 7, 8,
| | 3, 7, 8, 4, 7, 8, 5, 7, 8, 6,
| | 7, 8
| | } ;
| |
| | static yyconst flex_int16_t yy_accept[14] =
| | { 0,
| | 1, 1, 1, 2, 4, 5, 8, 11, 14, 17,
| | 20, 23, 23
| | } ;
| |
| | static yyconst flex_int32_t yy_ec[256] =
| | { 0,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 2,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 3, 4, 5, 6,
| |
| | 7, 8, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| |
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1
| | } ;
| |
| | static yyconst flex_int32_t yy_meta[9] =
| | { 0,
| | 1, 1, 1, 1, 1, 1, 1, 1
| | } ;
| |
| | static yyconst flex_int16_t yy_base[13] =
| | { 0,
| | 0, 0, 9, 10, 10, 10, 10, 10, 10, 10,
| | 10, 10
| | } ;
| |
| | static yyconst flex_int16_t yy_def[13] =
| | { 0,
| | 12, 1, 12, 12, 12, 12, 12, 12, 12, 12,
| | 12, 0
| | } ;
| |
| | static yyconst flex_int16_t yy_nxt[19] =
| | { 0,
| | 4, 5, 6, 7, 8, 9, 10, 11, 12, 3,
| | 12, 12, 12, 12, 12, 12, 12, 12
| | } ;
| |
| | static yyconst flex_int16_t yy_chk[19] =
| | { 0,
| | 1, 1, 1, 1, 1, 1, 1, 1, 3, 12,
| | 12, 12, 12, 12, 12, 12, 12, 12
| | } ;
| |
| | extern int yy_flex_debug;
| | int yy_flex_debug = 0;
| |
| | static yy_state_type *yy_state_buf=0, *yy_state_ptr=0;
| | static char *yy_full_match;
| | static int yy_lp;
| | #define REJECT \
| | { \
| | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \
| | yy_cp = (yy_full_match); /* restore poss. backed-over text */ \
| | ++(yy_lp); \
| | goto find_rule; \
| | }
| |
| | static int yy_more_flag = 0;
| | static int yy_more_len = 0;
| | #define yymore() ((yy_more_flag) = 1)
| | #define YY_MORE_ADJ (yy_more_len)
| | #define YY_RESTORE_YY_MORE_OFFSET
| | char *yytext;
| | #line 1 "conftest.l"
| | #line 477 "lex.yy.c"
| |
| | #define INITIAL 0
| |
| | #ifndef YY_NO_UNISTD_H
| | /* Special case for "unistd.h", since it is non-ANSI. We include it way
| | * down here because we want the user's section 1 to have been scanned first.
| | * The user has a chance to override it with an option.
| | */
| | #include
| | #endif
| |
| | #ifndef YY_EXTRA_TYPE
| | #define YY_EXTRA_TYPE void *
| | #endif
| |
| | static int yy_init_globals (void );
| |
| | /* Accessor methods to globals.
| | These are made visible to non-reentrant scanners for convenience. */
| |
| | int yylex_destroy (void );
| |
| | int yyget_debug (void );
| |
| | void yyset_debug (int debug_flag );
| |
| | YY_EXTRA_TYPE yyget_extra (void );
| |
| | void yyset_extra (YY_EXTRA_TYPE user_defined );
| |
| | FILE *yyget_in (void );
| |
| | void yyset_in (FILE * in_str );
| |
| | FILE *yyget_out (void );
| |
| | void yyset_out (FILE * out_str );
| |
| | int yyget_leng (void );
| |
| | char *yyget_text (void );
| |
| | int yyget_lineno (void );
| |
| | void yyset_lineno (int line_number );
| |
| | /* Macros after this point can all be overridden by user definitions in
| | * section 1.
| | */
| |
| | #ifndef YY_SKIP_YYWRAP
| | #ifdef __cplusplus
| | extern "C" int yywrap (void );
| | #else
| | extern int yywrap (void );
| | #endif
| | #endif
| |
| | static void yyunput (int c,char *buf_ptr );
| |
| | #ifndef yytext_ptr
| | static void yy_flex_strncpy (char *,yyconst char *,int );
| | #endif
| |
| | #ifdef YY_NEED_STRLEN
| | static int yy_flex_strlen (yyconst char * );
| | #endif
| |
| | #ifndef YY_NO_INPUT
| |
| | #ifdef __cplusplus
| | static int yyinput (void );
| | #else
| | static int input (void );
| | #endif
| |
| | #endif
| |
| | /* Amount of stuff to slurp up with each read. */
| | #ifndef YY_READ_BUF_SIZE
| | #ifdef __ia64__
| | /* On IA-64, the buffer size is 16k, not 8k */
| | #define YY_READ_BUF_SIZE 16384
| | #else
| | #define YY_READ_BUF_SIZE 8192
| | #endif /* __ia64__ */
| | #endif
| |
| | /* Copy whatever the last rule matched to the standard output. */
| | #ifndef ECHO
| | /* This used to be an fputs(), but since the string might contain NUL's,
| | * we now use fwrite().
| | */
| | #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
| | #endif
| |
| | /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
| | * is returned in "result".
| | */
| | #ifndef YY_INPUT
| | #define YY_INPUT(buf,result,max_size) \
| | if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
| | { \
| | int c = '*'; \
| | size_t n; \
| | for ( n = 0; n < max_size && \
| | (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
| | buf[n] = (char) c; \
| | if ( c == '\n' ) \
| | buf[n++] = (char) c; \
| | if ( c == EOF && ferror( yyin ) ) \
| | YY_FATAL_ERROR( "input in flex scanner failed" ); \
| | result = n; \
| | } \
| | else \
| | { \
| | errno=0; \
| | while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
| | { \
| | if( errno != EINTR) \
| | { \
| | YY_FATAL_ERROR( "input in flex scanner failed" ); \
| | break; \
| | } \
| | errno=0; \
| | clearerr(yyin); \
| | } \
| | }\
| | \
| |
| | #endif
| |
| | /* No semi-colon after return; correct usage is to write "yyterminate();" -
| | * we don't want an extra ';' after the "return" because that will cause
| | * some compilers to complain about unreachable statements.
| | */
| | #ifndef yyterminate
| | #define yyterminate() return YY_NULL
| | #endif
| |
| | /* Number of entries by which start-condition stack grows. */
| | #ifndef YY_START_STACK_INCR
| | #define YY_START_STACK_INCR 25
| | #endif
| |
| | /* Report a fatal error. */
| | #ifndef YY_FATAL_ERROR
| | #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
| | #endif
| |
| | /* end tables serialization structures and prototypes */
| |
| | /* Default declaration of generated scanner - a define so the user can
| | * easily add parameters.
| | */
| | #ifndef YY_DECL
| | #define YY_DECL_IS_OURS 1
| |
| | extern int yylex (void);
| |
| | #define YY_DECL int yylex (void)
| | #endif /* !YY_DECL */
| |
| | /* Code executed at the beginning of each rule, after yytext and yyleng
| | * have been set up.
| | */
| | #ifndef YY_USER_ACTION
| | #define YY_USER_ACTION
| | #endif
| |
| | /* Code executed at the end of each rule. */
| | #ifndef YY_BREAK
| | #define YY_BREAK break;
| | #endif
| |
| | #define YY_RULE_SETUP \
| | YY_USER_ACTION
| |
| | /** The main scanner function which does all the work.
| | */
| | YY_DECL
| | {
| | register yy_state_type yy_current_state;
| | register char *yy_cp, *yy_bp;
| | register int yy_act;
| |
| | #line 1 "conftest.l"
| |
| | #line 666 "lex.yy.c"
| |
| | if ( !(yy_init) )
| | {
| | (yy_init) = 1;
| |
| | #ifdef YY_USER_INIT
| | YY_USER_INIT;
| | #endif
| |
| | /* Create the reject buffer large enough to save one state per allowed character. */
| | if ( ! (yy_state_buf) )
| | (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE );
| | if ( ! (yy_state_buf) )
| | YY_FATAL_ERROR( "out of dynamic memory in yylex()" );
| |
| | if ( ! (yy_start) )
| | (yy_start) = 1; /* first start state */
| |
| | if ( ! yyin )
| | yyin = stdin;
| |
| | if ( ! yyout )
| | yyout = stdout;
| |
| | if ( ! YY_CURRENT_BUFFER ) {
| | yyensure_buffer_stack ();
| | YY_CURRENT_BUFFER_LVALUE =
| | yy_create_buffer(yyin,YY_BUF_SIZE );
| | }
| |
| | yy_load_buffer_state( );
| | }
| |
| | while ( 1 ) /* loops until end-of-file is reached */
| | {
| | (yy_more_len) = 0;
| | if ( (yy_more_flag) )
| | {
| | (yy_more_len) = (yy_c_buf_p) - (yytext_ptr);
| | (yy_more_flag) = 0;
| | }
| | yy_cp = (yy_c_buf_p);
| |
| | /* Support of yytext. */
| | *yy_cp = (yy_hold_char);
| |
| | /* yy_bp points to the position in yy_ch_buf of the start of
| | * the current run.
| | */
| | yy_bp = yy_cp;
| |
| | yy_current_state = (yy_start);
| |
| | (yy_state_ptr) = (yy_state_buf);
| | *(yy_state_ptr)++ = yy_current_state;
| |
| | yy_match:
| | do
| | {
| | register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
| | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
| | {
| | yy_current_state = (int) yy_def[yy_current_state];
| | if ( yy_current_state >= 13 )
| | yy_c = yy_meta[(unsigned int) yy_c];
| | }
| | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
| | *(yy_state_ptr)++ = yy_current_state;
| | ++yy_cp;
| | }
| | while ( yy_base[yy_current_state] != 10 );
| |
| | yy_find_action:
| | yy_current_state = *--(yy_state_ptr);
| | (yy_lp) = yy_accept[yy_current_state];
| | find_rule: /* we branch to this label when backing up */
| | for ( ; ; ) /* until we find what rule we matched */
| | {
| | if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] )
| | {
| | yy_act = yy_acclist[(yy_lp)];
| | {
| | (yy_full_match) = yy_cp;
| | break;
| | }
| | }
| | --yy_cp;
| | yy_current_state = *--(yy_state_ptr);
| | (yy_lp) = yy_accept[yy_current_state];
| | }
| |
| | YY_DO_BEFORE_ACTION;
| |
| | do_action: /* This label is used only to access EOF actions. */
| |
| | switch ( yy_act )
| | { /* beginning of action switch */
| | case 1:
| | YY_RULE_SETUP
| | #line 2 "conftest.l"
| | { ECHO; }
| | YY_BREAK
| | case 2:
| | YY_RULE_SETUP
| | #line 3 "conftest.l"
| | { REJECT; }
| | YY_BREAK
| | case 3:
| | YY_RULE_SETUP
| | #line 4 "conftest.l"
| | { yymore (); }
| | YY_BREAK
| | case 4:
| | YY_RULE_SETUP
| | #line 5 "conftest.l"
| | { yyless (1); }
| | YY_BREAK
| | case 5:
| | YY_RULE_SETUP
| | #line 6 "conftest.l"
| | { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
| | yyless ((input () != 0)); }
| | YY_BREAK
| | case 6:
| | YY_RULE_SETUP
| | #line 8 "conftest.l"
| | { unput (yytext[0]); }
| | YY_BREAK
| | case 7:
| | YY_RULE_SETUP
| | #line 9 "conftest.l"
| | { BEGIN INITIAL; }
| | YY_BREAK
| | case 8:
| | YY_RULE_SETUP
| | #line 10 "conftest.l"
| | ECHO;
| | YY_BREAK
| | #line 805 "lex.yy.c"
| | case YY_STATE_EOF(INITIAL):
| | yyterminate();
| |
| | case YY_END_OF_BUFFER:
| | {
| | /* Amount of text matched not including the EOB char. */
| | int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
| |
| | /* Undo the effects of YY_DO_BEFORE_ACTION. */
| | *yy_cp = (yy_hold_char);
| | YY_RESTORE_YY_MORE_OFFSET
| |
| | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
| | {
| | /* We're scanning a new file or input source. It's
| | * possible that this happened because the user
| | * just pointed yyin at a new source and called
| | * yylex(). If so, then we have to assure
| | * consistency between YY_CURRENT_BUFFER and our
| | * globals. Here is the right place to do so, because
| | * this is the first action (other than possibly a
| | * back-up) that will match for the new input source.
| | */
| | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
| | YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
| | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
| | }
| |
| | /* Note that here we test for yy_c_buf_p "<=" to the position
| | * of the first EOB in the buffer, since yy_c_buf_p will
| | * already have been incremented past the NUL character
| | * (since all states make transitions on EOB to the
| | * end-of-buffer state). Contrast this with the test
| | * in input().
| | */
| | if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
| | { /* This was really a NUL. */
| | yy_state_type yy_next_state;
| |
| | (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
| |
| | yy_current_state = yy_get_previous_state( );
| |
| | /* Okay, we're now positioned to make the NUL
| | * transition. We couldn't have
| | * yy_get_previous_state() go ahead and do it
| | * for us because it doesn't know how to deal
| | * with the possibility of jamming (and we don't
| | * want to build jamming into it because then it
| | * will run more slowly).
| | */
| |
| | yy_next_state = yy_try_NUL_trans( yy_current_state );
| |
| | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
| |
| | if ( yy_next_state )
| | {
| | /* Consume the NUL. */
| | yy_cp = ++(yy_c_buf_p);
| | yy_current_state = yy_next_state;
| | goto yy_match;
| | }
| |
| | else
| | {
| | yy_cp = (yy_c_buf_p);
| | goto yy_find_action;
| | }
| | }
| |
| | else switch ( yy_get_next_buffer( ) )
| | {
| | case EOB_ACT_END_OF_FILE:
| | {
| | (yy_did_buffer_switch_on_eof) = 0;
| |
| | if ( yywrap( ) )
| | {
| | /* Note: because we've taken care in
| | * yy_get_next_buffer() to have set up
| | * yytext, we can now set up
| | * yy_c_buf_p so that if some total
| | * hoser (like flex itself) wants to
| | * call the scanner after we return the
| | * YY_NULL, it'll still work - another
| | * YY_NULL will get returned.
| | */
| | (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
| |
| | yy_act = YY_STATE_EOF(YY_START);
| | goto do_action;
| | }
| |
| | else
| | {
| | if ( ! (yy_did_buffer_switch_on_eof) )
| | YY_NEW_FILE;
| | }
| | break;
| | }
| |
| | case EOB_ACT_CONTINUE_SCAN:
| | (yy_c_buf_p) =
| | (yytext_ptr) + yy_amount_of_matched_text;
| |
| | yy_current_state = yy_get_previous_state( );
| |
| | yy_cp = (yy_c_buf_p);
| | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
| | goto yy_match;
| |
| | case EOB_ACT_LAST_MATCH:
| | (yy_c_buf_p) =
| | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
| |
| | yy_current_state = yy_get_previous_state( );
| |
| | yy_cp = (yy_c_buf_p);
| | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
| | goto yy_find_action;
| | }
| | break;
| | }
| |
| | default:
| | YY_FATAL_ERROR(
| | "fatal flex scanner internal error--no action found" );
| | } /* end of action switch */
| | } /* end of scanning one token */
| | } /* end of yylex */
| |
| | /* yy_get_next_buffer - try to read in a new buffer
| | *
| | * Returns a code representing an action:
| | * EOB_ACT_LAST_MATCH -
| | * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
| | * EOB_ACT_END_OF_FILE - end of file
| | */
| | static int yy_get_next_buffer (void)
| | {
| | register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
| | register char *source = (yytext_ptr);
| | register int number_to_move, i;
| | int ret_val;
| |
| | if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
| | YY_FATAL_ERROR(
| | "fatal flex scanner internal error--end of buffer missed" );
| |
| | if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
| | { /* Don't try to fill the buffer, so this is an EOF. */
| | if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
| | {
| | /* We matched a single character, the EOB, so
| | * treat this as a final EOF.
| | */
| | return EOB_ACT_END_OF_FILE;
| | }
| |
| | else
| | {
| | /* We matched some text prior to the EOB, first
| | * process it.
| | */
| | return EOB_ACT_LAST_MATCH;
| | }
| | }
| |
| | /* Try to read more data. */
| |
| | /* First move last chars to start of buffer. */
| | number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1;
| |
| | for ( i = 0; i < number_to_move; ++i )
| | *(dest++) = *(source++);
| |
| | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
| | /* don't do the read, it's not guaranteed to return an EOF,
| | * just force an EOF
| | */
| | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
| |
| | else
| | {
| | int num_to_read =
| | YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
| |
| | while ( num_to_read <= 0 )
| | { /* Not enough room in the buffer - grow it. */
| |
| | YY_FATAL_ERROR(
| | "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
| |
| | }
| |
| | if ( num_to_read > YY_READ_BUF_SIZE )
| | num_to_read = YY_READ_BUF_SIZE;
| |
| | /* Read in more data. */
| | YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
| | (yy_n_chars), (size_t) num_to_read );
| |
| | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
| | }
| |
| | if ( (yy_n_chars) == 0 )
| | {
| | if ( number_to_move == YY_MORE_ADJ )
| | {
| | ret_val = EOB_ACT_END_OF_FILE;
| | yyrestart(yyin );
| | }
| |
| | else
| | {
| | ret_val = EOB_ACT_LAST_MATCH;
| | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
| | YY_BUFFER_EOF_PENDING;
| | }
| | }
| |
| | else
| | ret_val = EOB_ACT_CONTINUE_SCAN;
| |
| | if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
| | /* Extend the array by 50%, plus the number we really need. */
| | yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
| | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size );
| | if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
| | YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
| | }
| |
| | (yy_n_chars) += number_to_move;
| | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
| | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
| |
| | (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
| |
| | return ret_val;
| | }
| |
| | /* yy_get_previous_state - get the state just before the EOB char was reached */
| |
| | static yy_state_type yy_get_previous_state (void)
| | {
| | register yy_state_type yy_current_state;
| | register char *yy_cp;
| |
| | yy_current_state = (yy_start);
| |
| | (yy_state_ptr) = (yy_state_buf);
| | *(yy_state_ptr)++ = yy_current_state;
| |
| | for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
| | {
| | register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
| | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
| | {
| | yy_current_state = (int) yy_def[yy_current_state];
| | if ( yy_current_state >= 13 )
| | yy_c = yy_meta[(unsigned int) yy_c];
| | }
| | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
| | *(yy_state_ptr)++ = yy_current_state;
| | }
| |
| | return yy_current_state;
| | }
| |
| | /* yy_try_NUL_trans - try to make a transition on the NUL character
| | *
| | * synopsis
| | * next_state = yy_try_NUL_trans( current_state );
| | */
| | static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
| | {
| | register int yy_is_jam;
| |
| | register YY_CHAR yy_c = 1;
| | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
| | {
| | yy_current_state = (int) yy_def[yy_current_state];
| | if ( yy_current_state >= 13 )
| | yy_c = yy_meta[(unsigned int) yy_c];
| | }
| | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
| | yy_is_jam = (yy_current_state == 12);
| | if ( ! yy_is_jam )
| | *(yy_state_ptr)++ = yy_current_state;
| |
| | return yy_is_jam ? 0 : yy_current_state;
| | }
| |
| | static void yyunput (int c, register char * yy_bp )
| | {
| | register char *yy_cp;
| |
| | yy_cp = (yy_c_buf_p);
| |
| | /* undo effects of setting up yytext */
| | *yy_cp = (yy_hold_char);
| |
| | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
| | { /* need to shift things up to make room */
| | /* +2 for EOB chars. */
| | register int number_to_move = (yy_n_chars) + 2;
| | register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
| | YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
| | register char *source =
| | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
| |
| | while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
| | *--dest = *--source;
| |
| | yy_cp += (int) (dest - source);
| | yy_bp += (int) (dest - source);
| | YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
| | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
| |
| | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
| | YY_FATAL_ERROR( "flex scanner push-back overflow" );
| | }
| |
| | *--yy_cp = (char) c;
| |
| | (yytext_ptr) = yy_bp;
| | (yy_hold_char) = *yy_cp;
| | (yy_c_buf_p) = yy_cp;
| | }
| |
| | #ifndef YY_NO_INPUT
| | #ifdef __cplusplus
| | static int yyinput (void)
| | #else
| | static int input (void)
| | #endif
| |
| | {
| | int c;
| |
| | *(yy_c_buf_p) = (yy_hold_char);
| |
| | if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
| | {
| | /* yy_c_buf_p now points to the character we want to return.
| | * If this occurs *before* the EOB characters, then it's a
| | * valid NUL; if not, then we've hit the end of the buffer.
| | */
| | if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
| | /* This was really a NUL. */
| | *(yy_c_buf_p) = '\0';
| |
| | else
| | { /* need more input */
| | int offset = (yy_c_buf_p) - (yytext_ptr);
| | ++(yy_c_buf_p);
| |
| | switch ( yy_get_next_buffer( ) )
| | {
| | case EOB_ACT_LAST_MATCH:
| | /* This happens because yy_g_n_b()
| | * sees that we've accumulated a
| | * token and flags that we need to
| | * try matching the token before
| | * proceeding. But for input(),
| | * there's no matching to consider.
| | * So convert the EOB_ACT_LAST_MATCH
| | * to EOB_ACT_END_OF_FILE.
| | */
| |
| | /* Reset buffer status. */
| | yyrestart(yyin );
| |
| | /*FALLTHROUGH*/
| |
| | case EOB_ACT_END_OF_FILE:
| | {
| | if ( yywrap( ) )
| | return EOF;
| |
| | if ( ! (yy_did_buffer_switch_on_eof) )
| | YY_NEW_FILE;
| | #ifdef __cplusplus
| | return yyinput();
| | #else
| | return input();
| | #endif
| | }
| |
| | case EOB_ACT_CONTINUE_SCAN:
| | (yy_c_buf_p) = (yytext_ptr) + offset;
| | break;
| | }
| | }
| | }
| |
| | c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
| | *(yy_c_buf_p) = '\0'; /* preserve yytext */
| | (yy_hold_char) = *++(yy_c_buf_p);
| |
| | return c;
| | }
| | #endif /* ifndef YY_NO_INPUT */
| |
| | /** Immediately switch to a different input stream.
| | * @param input_file A readable stream.
| | *
| | * @note This function does not reset the start condition to @c INITIAL .
| | */
| | void yyrestart (FILE * input_file )
| | {
| |
| | if ( ! YY_CURRENT_BUFFER ){
| | yyensure_buffer_stack ();
| | YY_CURRENT_BUFFER_LVALUE =
| | yy_create_buffer(yyin,YY_BUF_SIZE );
| | }
| |
| | yy_init_buffer(YY_CURRENT_BUFFER,input_file );
| | yy_load_buffer_state( );
| | }
| |
| | /** Switch to a different input buffer.
| | * @param new_buffer The new input buffer.
| | *
| | */
| | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer )
| | {
| |
| | /* TODO. We should be able to replace this entire function body
| | * with
| | * yypop_buffer_state();
| | * yypush_buffer_state(new_buffer);
| | */
| | yyensure_buffer_stack ();
| | if ( YY_CURRENT_BUFFER == new_buffer )
| | return;
| |
| | if ( YY_CURRENT_BUFFER )
| | {
| | /* Flush out information for old buffer. */
| | *(yy_c_buf_p) = (yy_hold_char);
| | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
| | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
| | }
| |
| | YY_CURRENT_BUFFER_LVALUE = new_buffer;
| | yy_load_buffer_state( );
| |
| | /* We don't actually know whether we did this switch during
| | * EOF (yywrap()) processing, but the only time this flag
| | * is looked at is after yywrap() is called, so it's safe
| | * to go ahead and always set it.
| | */
| | (yy_did_buffer_switch_on_eof) = 1;
| | }
| |
| | static void yy_load_buffer_state (void)
| | {
| | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
| | (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
| | yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
| | (yy_hold_char) = *(yy_c_buf_p);
| | }
| |
| | /** Allocate and initialize an input buffer state.
| | * @param file A readable stream.
| | * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
| | *
| | * @return the allocated buffer state.
| | */
| | YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
| | {
| | YY_BUFFER_STATE b;
| |
| | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
| | if ( ! b )
| | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
| |
| | b->yy_buf_size = size;
| |
| | /* yy_ch_buf has to be 2 characters longer than the size given because
| | * we need to put in 2 end-of-buffer characters.
| | */
| | b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 );
| | if ( ! b->yy_ch_buf )
| | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
| |
| | b->yy_is_our_buffer = 1;
| |
| | yy_init_buffer(b,file );
| |
| | return b;
| | }
| |
| | /** Destroy the buffer.
| | * @param b a buffer created with yy_create_buffer()
| | *
| | */
| | void yy_delete_buffer (YY_BUFFER_STATE b )
| | {
| |
| | if ( ! b )
| | return;
| |
| | if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
| | YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
| |
| | if ( b->yy_is_our_buffer )
| | yyfree((void *) b->yy_ch_buf );
| |
| | yyfree((void *) b );
| | }
| |
| | #ifndef __cplusplus
| | extern int isatty (int );
| | #endif /* __cplusplus */
| |
| | /* Initializes or reinitializes a buffer.
| | * This function is sometimes called more than once on the same buffer,
| | * such as during a yyrestart() or at EOF.
| | */
| | static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file )
| |
| | {
| | int oerrno = errno;
| |
| | yy_flush_buffer(b );
| |
| | b->yy_input_file = file;
| | b->yy_fill_buffer = 1;
| |
| | /* If b is the current buffer, then yy_init_buffer was _probably_
| | * called from yyrestart() or through yy_get_next_buffer.
| | * In that case, we don't want to reset the lineno or column.
| | */
| | if (b != YY_CURRENT_BUFFER){
| | b->yy_bs_lineno = 1;
| | b->yy_bs_column = 0;
| | }
| |
| | b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
| |
| | errno = oerrno;
| | }
| |
| | /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
| | * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
| | *
| | */
| | void yy_flush_buffer (YY_BUFFER_STATE b )
| | {
| | if ( ! b )
| | return;
| |
| | b->yy_n_chars = 0;
| |
| | /* We always need two end-of-buffer characters. The first causes
| | * a transition to the end-of-buffer state. The second causes
| | * a jam in that state.
| | */
| | b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
| | b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
| |
| | b->yy_buf_pos = &b->yy_ch_buf[0];
| |
| | b->yy_at_bol = 1;
| | b->yy_buffer_status = YY_BUFFER_NEW;
| |
| | if ( b == YY_CURRENT_BUFFER )
| | yy_load_buffer_state( );
| | }
| |
| | /** Pushes the new state onto the stack. The new state becomes
| | * the current state. This function will allocate the stack
| | * if necessary.
| | * @param new_buffer The new state.
| | *
| | */
| | void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
| | {
| | if (new_buffer == NULL)
| | return;
| |
| | yyensure_buffer_stack();
| |
| | /* This block is copied from yy_switch_to_buffer. */
| | if ( YY_CURRENT_BUFFER )
| | {
| | /* Flush out information for old buffer. */
| | *(yy_c_buf_p) = (yy_hold_char);
| | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
| | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
| | }
| |
| | /* Only push if top exists. Otherwise, replace top. */
| | if (YY_CURRENT_BUFFER)
| | (yy_buffer_stack_top)++;
| | YY_CURRENT_BUFFER_LVALUE = new_buffer;
| |
| | /* copied from yy_switch_to_buffer. */
| | yy_load_buffer_state( );
| | (yy_did_buffer_switch_on_eof) = 1;
| | }
| |
| | /** Removes and deletes the top of the stack, if present.
| | * The next element becomes the new top.
| | *
| | */
| | void yypop_buffer_state (void)
| | {
| | if (!YY_CURRENT_BUFFER)
| | return;
| |
| | yy_delete_buffer(YY_CURRENT_BUFFER );
| | YY_CURRENT_BUFFER_LVALUE = NULL;
| | if ((yy_buffer_stack_top) > 0)
| | --(yy_buffer_stack_top);
| |
| | if (YY_CURRENT_BUFFER) {
| | yy_load_buffer_state( );
| | (yy_did_buffer_switch_on_eof) = 1;
| | }
| | }
| |
| | /* Allocates the stack if it does not exist.
| | * Guarantees space for at least one push.
| | */
| | static void yyensure_buffer_stack (void)
| | {
| | int num_to_alloc;
| |
| | if (!(yy_buffer_stack)) {
| |
| | /* First allocation is just for 2 elements, since we don't know if this
| | * scanner will even need a stack. We use 2 instead of 1 to avoid an
| | * immediate realloc on the next call.
| | */
| | num_to_alloc = 1;
| | (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
| | (num_to_alloc * sizeof(struct yy_buffer_state*)
| | );
| | if ( ! (yy_buffer_stack) )
| | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
| |
| | memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
| |
| | (yy_buffer_stack_max) = num_to_alloc;
| | (yy_buffer_stack_top) = 0;
| | return;
| | }
| |
| | if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
| |
| | /* Increase the buffer to prepare for a possible push. */
| | int grow_size = 8 /* arbitrary grow size */;
| |
| | num_to_alloc = (yy_buffer_stack_max) + grow_size;
| | (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
| | ((yy_buffer_stack),
| | num_to_alloc * sizeof(struct yy_buffer_state*)
| | );
| | if ( ! (yy_buffer_stack) )
| | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
| |
| | /* zero only the new slots.*/
| | memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
| | (yy_buffer_stack_max) = num_to_alloc;
| | }
| | }
| |
| | /** Setup the input buffer state to scan directly from a user-specified character buffer.
| | * @param base the character buffer
| | * @param size the size in bytes of the character buffer
| | *
| | * @return the newly allocated buffer state object.
| | */
| | YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size )
| | {
| | YY_BUFFER_STATE b;
| |
| | if ( size < 2 ||
| | base[size-2] != YY_END_OF_BUFFER_CHAR ||
| | base[size-1] != YY_END_OF_BUFFER_CHAR )
| | /* They forgot to leave room for the EOB's. */
| | return 0;
| |
| | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
| | if ( ! b )
| | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
| |
| | b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
| | b->yy_buf_pos = b->yy_ch_buf = base;
| | b->yy_is_our_buffer = 0;
| | b->yy_input_file = 0;
| | b->yy_n_chars = b->yy_buf_size;
| | b->yy_is_interactive = 0;
| | b->yy_at_bol = 1;
| | b->yy_fill_buffer = 0;
| | b->yy_buffer_status = YY_BUFFER_NEW;
| |
| | yy_switch_to_buffer(b );
| |
| | return b;
| | }
| |
| | /** Setup the input buffer state to scan a string. The next call to yylex() will
| | * scan from a @e copy of @a str.
| | * @param yystr a NUL-terminated string to scan
| | *
| | * @return the newly allocated buffer state object.
| | * @note If you want to scan bytes that may contain NUL values, then use
| | * yy_scan_bytes() instead.
| | */
| | YY_BUFFER_STATE yy_scan_string (yyconst char * yystr )
| | {
| |
| | return yy_scan_bytes(yystr,strlen(yystr) );
| | }
| |
| | /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
| | * scan from a @e copy of @a bytes.
| | * @param yybytes the byte buffer to scan
| | * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
| | *
| | * @return the newly allocated buffer state object.
| | */
| | YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, int _yybytes_len )
| | {
| | YY_BUFFER_STATE b;
| | char *buf;
| | yy_size_t n;
| | int i;
| |
| | /* Get memory for full buffer, including space for trailing EOB's. */
| | n = _yybytes_len + 2;
| | buf = (char *) yyalloc(n );
| | if ( ! buf )
| | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
| |
| | for ( i = 0; i < _yybytes_len; ++i )
| | buf[i] = yybytes[i];
| |
| | buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
| |
| | b = yy_scan_buffer(buf,n );
| | if ( ! b )
| | YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
| |
| | /* It's okay to grow etc. this buffer, and we should throw it
| | * away when we're done.
| | */
| | b->yy_is_our_buffer = 1;
| |
| | return b;
| | }
| |
| | #ifndef YY_EXIT_FAILURE
| | #define YY_EXIT_FAILURE 2
| | #endif
| |
| | static void yy_fatal_error (yyconst char* msg )
| | {
| | (void) fprintf( stderr, "%s\n", msg );
| | exit( YY_EXIT_FAILURE );
| | }
| |
| | /* Redefine yyless() so it works in section 3 code. */
| |
| | #undef yyless
| | #define yyless(n) \
| | do \
| | { \
| | /* Undo effects of setting up yytext. */ \
| | int yyless_macro_arg = (n); \
| | YY_LESS_LINENO(yyless_macro_arg);\
| | yytext[yyleng] = (yy_hold_char); \
| | (yy_c_buf_p) = yytext + yyless_macro_arg; \
| | (yy_hold_char) = *(yy_c_buf_p); \
| | *(yy_c_buf_p) = '\0'; \
| | yyleng = yyless_macro_arg; \
| | } \
| | while ( 0 )
| |
| | /* Accessor methods (get/set functions) to struct members. */
| |
| | /** Get the current line number.
| | *
| | */
| | int yyget_lineno (void)
| | {
| |
| | return yylineno;
| | }
| |
| | /** Get the input stream.
| | *
| | */
| | FILE *yyget_in (void)
| | {
| | return yyin;
| | }
| |
| | /** Get the output stream.
| | *
| | */
| | FILE *yyget_out (void)
| | {
| | return yyout;
| | }
| |
| | /** Get the length of the current token.
| | *
| | */
| | int yyget_leng (void)
| | {
| | return yyleng;
| | }
| |
| | /** Get the current token.
| | *
| | */
| |
| | char *yyget_text (void)
| | {
| | return yytext;
| | }
| |
| | /** Set the current line number.
| | * @param line_number
| | *
| | */
| | void yyset_lineno (int line_number )
| | {
| |
| | yylineno = line_number;
| | }
| |
| | /** Set the input stream. This does not discard the current
| | * input buffer.
| | * @param in_str A readable stream.
| | *
| | * @see yy_switch_to_buffer
| | */
| | void yyset_in (FILE * in_str )
| | {
| | yyin = in_str ;
| | }
| |
| | void yyset_out (FILE * out_str )
| | {
| | yyout = out_str ;
| | }
| |
| | int yyget_debug (void)
| | {
| | return yy_flex_debug;
| | }
| |
| | void yyset_debug (int bdebug )
| | {
| | yy_flex_debug = bdebug ;
| | }
| |
| | static int yy_init_globals (void)
| | {
| | /* Initialization is the same as for the non-reentrant scanner.
| | * This function is called from yylex_destroy(), so don't allocate here.
| | */
| |
| | (yy_buffer_stack) = 0;
| | (yy_buffer_stack_top) = 0;
| | (yy_buffer_stack_max) = 0;
| | (yy_c_buf_p) = (char *) 0;
| | (yy_init) = 0;
| | (yy_start) = 0;
| |
| | (yy_state_buf) = 0;
| | (yy_state_ptr) = 0;
| | (yy_full_match) = 0;
| | (yy_lp) = 0;
| |
| | /* Defined in main.c */
| | #ifdef YY_STDINIT
| | yyin = stdin;
| | yyout = stdout;
| | #else
| | yyin = (FILE *) 0;
| | yyout = (FILE *) 0;
| | #endif
| |
| | /* For future reference: Set errno on error, since we are called by
| | * yylex_init()
| | */
| | return 0;
| | }
| |
| | /* yylex_destroy is for both reentrant and non-reentrant scanners. */
| | int yylex_destroy (void)
| | {
| |
| | /* Pop the buffer stack, destroying each element. */
| | while(YY_CURRENT_BUFFER){
| | yy_delete_buffer(YY_CURRENT_BUFFER );
| | YY_CURRENT_BUFFER_LVALUE = NULL;
| | yypop_buffer_state();
| | }
| |
| | /* Destroy the stack itself. */
| | yyfree((yy_buffer_stack) );
| | (yy_buffer_stack) = NULL;
| |
| | yyfree ( (yy_state_buf) );
| | (yy_state_buf) = NULL;
| |
| | /* Reset the globals. This is important in a non-reentrant scanner so the next time
| | * yylex() is called, initialization will occur. */
| | yy_init_globals( );
| |
| | return 0;
| | }
| |
| | /*
| | * Internal utility routines.
| | */
| |
| | #ifndef yytext_ptr
| | static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
| | {
| | register int i;
| | for ( i = 0; i < n; ++i )
| | s1[i] = s2[i];
| | }
| | #endif
| |
| | #ifdef YY_NEED_STRLEN
| | static int yy_flex_strlen (yyconst char * s )
| | {
| | register int n;
| | for ( n = 0; s[n]; ++n )
| | ;
| |
| | return n;
| | }
| | #endif
| |
| | void *yyalloc (yy_size_t size )
| | {
| | return (void *) malloc( size );
| | }
| |
| | void *yyrealloc (void * ptr, yy_size_t size )
| | {
| | /* The cast to (char *) in the following accommodates both
| | * implementations that use char* generic pointers, and those
| | * that use void* generic pointers. It works with the latter
| | * because both ANSI C and C++ allow castless assignment from
| | * any pointer type to void*, and deal with argument conversions
| | * as though doing an assignment.
| | */
| | return (void *) realloc( (char *) ptr, size );
| | }
| |
| | void yyfree (void * ptr )
| | {
| | free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
| | }
| |
| | #define YYTABLES_NAME "yytables"
| |
| | #line 10 "conftest.l"
| |
| |
| | #ifdef YYTEXT_POINTER
| | extern char *yytext;
| | #endif
| | int
| | main (void)
| | {
| | return ! yylex () + ! yywrap ();
| | }
| configure:12912: result: none needed
| configure:12918: checking whether yytext is a pointer
| configure:12935: gcc -o conftest.exe -g -O2 conftest.c >&5
| C:\Users\ramosa\AppData\Local\Temp\cctpQMzr.o: In function `input':
| C:\MinGW\msys\1.0\home\ramosa\gnucobol-2.2/lex.yy.c:1183: undefined reference to `yywrap'
| C:\Users\ramosa\AppData\Local\Temp\cctpQMzr.o: In function `yylex':
| C:\MinGW\msys\1.0\home\ramosa\gnucobol-2.2/lex.yy.c:882: undefined reference to `yywrap'
| C:\Users\ramosa\AppData\Local\Temp\cctpQMzr.o: In function `main':
| C:\MinGW\msys\1.0\home\ramosa\gnucobol-2.2/conftest.l:18: undefined reference to `yywrap'
| collect2.exe: error: ld returned 1 exit status
| configure:12935: $? = 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "GnuCOBOL"
| | #define PACKAGE_TARNAME "gnucobol"
| | #define PACKAGE_VERSION "2.2"
| | #define PACKAGE_STRING "GnuCOBOL 2.2"
| | #define PACKAGE_BUGREPORT "address@hidden"
| | #define PACKAGE_URL "https://www.gnu.org/software/gnucobol/"
| | #define PACKAGE "gnucobol"
| | #define VERSION "2.2"
| | #define PATCH_LEVEL 0
| | #define MAX_CALL_FIELD_PARAMS 192
| | #define STDC_HEADERS 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SYS_STAT_H 1
| | #define HAVE_STDLIB_H 1
| | #define HAVE_STRING_H 1
| | #define HAVE_MEMORY_H 1
| | #define HAVE_STRINGS_H 1
| | #define HAVE_INTTYPES_H 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_UNISTD_H 1
| | #define __EXTENSIONS__ 1
| | #define _ALL_SOURCE 1
| | #define _GNU_SOURCE 1
| | #define _POSIX_PTHREAD_SEMANTICS 1
| | #define _TANDEM_SOURCE 1
| | #define HAVE_DLFCN_H 1
| | #define LT_OBJDIR ".libs/"
| | /* end confdefs.h. */
| |
| | #define YYTEXT_POINTER 1
| |
| | #line 3 "lex.yy.c"
| |
| | #define YY_INT_ALIGNED short int
| |
| | /* A lexical scanner generated by flex */
| |
| | #define FLEX_SCANNER
| | #define YY_FLEX_MAJOR_VERSION 2
| | #define YY_FLEX_MINOR_VERSION 5
| | #define YY_FLEX_SUBMINOR_VERSION 35
| | #if YY_FLEX_SUBMINOR_VERSION > 0
| | #define FLEX_BETA
| | #endif
| |
| | /* First, we deal with platform-specific or compiler-specific issues. */
| |
| | /* begin standard C headers. */
| | #include
| | #include
| | #include
| | #include
| |
| | /* end standard C headers. */
| |
| | /* flex integer type definitions */
| |
| | #ifndef FLEXINT_H
| | #define FLEXINT_H
| |
| | /* C99 systems have . Non-C99 systems may or may not. */
| |
| | #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
| |
| | /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
| | * if you want the limit (max/min) macros for int types.
| | */
| | #ifndef __STDC_LIMIT_MACROS
| | #define __STDC_LIMIT_MACROS 1
| | #endif
| |
| | #include
| | typedef int8_t flex_int8_t;
| | typedef uint8_t flex_uint8_t;
| | typedef int16_t flex_int16_t;
| | typedef uint16_t flex_uint16_t;
| | typedef int32_t flex_int32_t;
| | typedef uint32_t flex_uint32_t;
| | #else
| | typedef signed char flex_int8_t;
| | typedef short int flex_int16_t;
| | typedef int flex_int32_t;
| | typedef unsigned char flex_uint8_t;
| | typedef unsigned short int flex_uint16_t;
| | typedef unsigned int flex_uint32_t;
| |
| | /* Limits of integral types. */
| | #ifndef INT8_MIN
| | #define INT8_MIN (-128)
| | #endif
| | #ifndef INT16_MIN
| | #define INT16_MIN (-32767-1)
| | #endif
| | #ifndef INT32_MIN
| | #define INT32_MIN (-2147483647-1)
| | #endif
| | #ifndef INT8_MAX
| | #define INT8_MAX (127)
| | #endif
| | #ifndef INT16_MAX
| | #define INT16_MAX (32767)
| | #endif
| | #ifndef INT32_MAX
| | #define INT32_MAX (2147483647)
| | #endif
| | #ifndef UINT8_MAX
| | #define UINT8_MAX (255U)
| | #endif
| | #ifndef UINT16_MAX
| | #define UINT16_MAX (65535U)
| | #endif
| | #ifndef UINT32_MAX
| | #define UINT32_MAX (4294967295U)
| | #endif
| |
| | #endif /* ! C99 */
| |
| | #endif /* ! FLEXINT_H */
| |
| | #ifdef __cplusplus
| |
| | /* The "const" storage-class-modifier is valid. */
| | #define YY_USE_CONST
| |
| | #else /* ! __cplusplus */
| |
| | /* C99 requires __STDC__ to be defined as 1. */
| | #if defined (__STDC__)
| |
| | #define YY_USE_CONST
| |
| | #endif /* defined (__STDC__) */
| | #endif /* ! __cplusplus */
| |
| | #ifdef YY_USE_CONST
| | #define yyconst const
| | #else
| | #define yyconst
| | #endif
| |
| | /* Returned upon end-of-file. */
| | #define YY_NULL 0
| |
| | /* Promotes a possibly negative, possibly signed char to an unsigned
| | * integer for use as an array index. If the signed char is negative,
| | * we want to instead treat it as an 8-bit unsigned char, hence the
| | * double cast.
| | */
| | #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
| |
| | /* Enter a start condition. This macro really ought to take a parameter,
| | * but we do it the disgusting crufty way forced on us by the ()-less
| | * definition of BEGIN.
| | */
| | #define BEGIN (yy_start) = 1 + 2 *
| |
| | /* Translate the current start state into a value that can be later handed
| | * to BEGIN to return to the state. The YYSTATE alias is for lex
| | * compatibility.
| | */
| | #define YY_START (((yy_start) - 1) / 2)
| | #define YYSTATE YY_START
| |
| | /* Action number for EOF rule of a given start state. */
| | #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
| |
| | /* Special action meaning "start processing a new file". */
| | #define YY_NEW_FILE yyrestart(yyin )
| |
| | #define YY_END_OF_BUFFER_CHAR 0
| |
| | /* Size of default input buffer. */
| | #ifndef YY_BUF_SIZE
| | #ifdef __ia64__
| | /* On IA-64, the buffer size is 16k, not 8k.
| | * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
| | * Ditto for the __ia64__ case accordingly.
| | */
| | #define YY_BUF_SIZE 32768
| | #else
| | #define YY_BUF_SIZE 16384
| | #endif /* __ia64__ */
| | #endif
| |
| | /* The state buf must be large enough to hold one state per character in the main buffer.
| | */
| | #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
| |
| | #ifndef YY_TYPEDEF_YY_BUFFER_STATE
| | #define YY_TYPEDEF_YY_BUFFER_STATE
| | typedef struct yy_buffer_state *YY_BUFFER_STATE;
| | #endif
| |
| | extern int yyleng;
| |
| | extern FILE *yyin, *yyout;
| |
| | #define EOB_ACT_CONTINUE_SCAN 0
| | #define EOB_ACT_END_OF_FILE 1
| | #define EOB_ACT_LAST_MATCH 2
| |
| | #define YY_LESS_LINENO(n)
| |
| | /* Return all but the first "n" matched characters back to the input stream. */
| | #define yyless(n) \
| | do \
| | { \
| | /* Undo effects of setting up yytext. */ \
| | int yyless_macro_arg = (n); \
| | YY_LESS_LINENO(yyless_macro_arg);\
| | *yy_cp = (yy_hold_char); \
| | YY_RESTORE_YY_MORE_OFFSET \
| | (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
| | YY_DO_BEFORE_ACTION; /* set up yytext again */ \
| | } \
| | while ( 0 )
| |
| | #define unput(c) yyunput( c, (yytext_ptr) )
| |
| | #ifndef YY_TYPEDEF_YY_SIZE_T
| | #define YY_TYPEDEF_YY_SIZE_T
| | typedef size_t yy_size_t;
| | #endif
| |
| | #ifndef YY_STRUCT_YY_BUFFER_STATE
| | #define YY_STRUCT_YY_BUFFER_STATE
| | struct yy_buffer_state
| | {
| | FILE *yy_input_file;
| |
| | char *yy_ch_buf; /* input buffer */
| | char *yy_buf_pos; /* current position in input buffer */
| |
| | /* Size of input buffer in bytes, not including room for EOB
| | * characters.
| | */
| | yy_size_t yy_buf_size;
| |
| | /* Number of characters read into yy_ch_buf, not including EOB
| | * characters.
| | */
| | int yy_n_chars;
| |
| | /* Whether we "own" the buffer - i.e., we know we created it,
| | * and can realloc() it to grow it, and should free() it to
| | * delete it.
| | */
| | int yy_is_our_buffer;
| |
| | /* Whether this is an "interactive" input source; if so, and
| | * if we're using stdio for input, then we want to use getc()
| | * instead of fread(), to make sure we stop fetching input after
| | * each newline.
| | */
| | int yy_is_interactive;
| |
| | /* Whether we're considered to be at the beginning of a line.
| | * If so, '^' rules will be active on the next match, otherwise
| | * not.
| | */
| | int yy_at_bol;
| |
| | int yy_bs_lineno; /**< The line count. */
| | int yy_bs_column; /**< The column count. */
| |
| | /* Whether to try to fill the input buffer when we reach the
| | * end of it.
| | */
| | int yy_fill_buffer;
| |
| | int yy_buffer_status;
| |
| | #define YY_BUFFER_NEW 0
| | #define YY_BUFFER_NORMAL 1
| | /* When an EOF's been seen but there's still some text to process
| | * then we mark the buffer as YY_EOF_PENDING, to indicate that we
| | * shouldn't try reading from the input source any more. We might
| | * still have a bunch of tokens to match, though, because of
| | * possible backing-up.
| | *
| | * When we actually see the EOF, we change the status to "new"
| | * (via yyrestart()), so that the user can continue scanning by
| | * just pointing yyin at a new input file.
| | */
| | #define YY_BUFFER_EOF_PENDING 2
| |
| | };
| | #endif /* !YY_STRUCT_YY_BUFFER_STATE */
| |
| | /* Stack of input buffers. */
| | static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
| | static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
| | static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
| |
| | /* We provide macros for accessing buffer states in case in the
| | * future we want to put the buffer states in a more general
| | * "scanner state".
| | *
| | * Returns the top of the stack, or NULL.
| | */
| | #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
| | ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
| | : NULL)
| |
| | /* Same as previous macro, but useful when we know that the buffer stack is not
| | * NULL or when we need an lvalue. For internal use only.
| | */
| | #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
| |
| | /* yy_hold_char holds the character lost when yytext is formed. */
| | static char yy_hold_char;
| | static int yy_n_chars; /* number of characters read into yy_ch_buf */
| | int yyleng;
| |
| | /* Points to current character in buffer. */
| | static char *yy_c_buf_p = (char *) 0;
| | static int yy_init = 0; /* whether we need to initialize */
| | static int yy_start = 0; /* start state number */
| |
| | /* Flag which is used to allow yywrap()'s to do buffer switches
| | * instead of setting up a fresh yyin. A bit of a hack ...
| | */
| | static int yy_did_buffer_switch_on_eof;
| |
| | void yyrestart (FILE *input_file );
| | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer );
| | YY_BUFFER_STATE yy_create_buffer (FILE *file,int size );
| | void yy_delete_buffer (YY_BUFFER_STATE b );
| | void yy_flush_buffer (YY_BUFFER_STATE b );
| | void yypush_buffer_state (YY_BUFFER_STATE new_buffer );
| | void yypop_buffer_state (void );
| |
| | static void yyensure_buffer_stack (void );
| | static void yy_load_buffer_state (void );
| | static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file );
| |
| | #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
| |
| | YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size );
| | YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str );
| | YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,int len );
| |
| | void *yyalloc (yy_size_t );
| | void *yyrealloc (void *,yy_size_t );
| | void yyfree (void * );
| |
| | #define yy_new_buffer yy_create_buffer
| |
| | #define yy_set_interactive(is_interactive) \
| | { \
| | if ( ! YY_CURRENT_BUFFER ){ \
| | yyensure_buffer_stack (); \
| | YY_CURRENT_BUFFER_LVALUE = \
| | yy_create_buffer(yyin,YY_BUF_SIZE ); \
| | } \
| | YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
| | }
| |
| | #define yy_set_bol(at_bol) \
| | { \
| | if ( ! YY_CURRENT_BUFFER ){\
| | yyensure_buffer_stack (); \
| | YY_CURRENT_BUFFER_LVALUE = \
| | yy_create_buffer(yyin,YY_BUF_SIZE ); \
| | } \
| | YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
| | }
| |
| | #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
| |
| | /* Begin user sect3 */
| |
| | typedef unsigned char YY_CHAR;
| |
| | FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
| |
| | typedef int yy_state_type;
| |
| | extern int yylineno;
| |
| | int yylineno = 1;
| |
| | extern char *yytext;
| | #define yytext_ptr yytext
| |
| | static yy_state_type yy_get_previous_state (void );
| | static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
| | static int yy_get_next_buffer (void );
| | static void yy_fatal_error (yyconst char msg[] );
| |
| | /* Done after the current pattern has been matched and before the
| | * corresponding action - sets up yytext.
| | */
| | #define YY_DO_BEFORE_ACTION \
| | (yytext_ptr) = yy_bp; \
| | (yytext_ptr) -= (yy_more_len); \
| | yyleng = (size_t) (yy_cp - (yytext_ptr)); \
| | (yy_hold_char) = *yy_cp; \
| | *yy_cp = '\0'; \
| | (yy_c_buf_p) = yy_cp;
| |
| | #define YY_NUM_RULES 8
| | #define YY_END_OF_BUFFER 9
| | /* This struct is not used in this scanner,
| | but its presence is necessary. */
| | struct yy_trans_info
| | {
| | flex_int32_t yy_verify;
| | flex_int32_t yy_nxt;
| | };
| | static yyconst flex_int16_t yy_acclist[23] =
| | { 0,
| | 9, 7, 8, 8, 1, 7, 8, 2, 7, 8,
| | 3, 7, 8, 4, 7, 8, 5, 7, 8, 6,
| | 7, 8
| | } ;
| |
| | static yyconst flex_int16_t yy_accept[14] =
| | { 0,
| | 1, 1, 1, 2, 4, 5, 8, 11, 14, 17,
| | 20, 23, 23
| | } ;
| |
| | static yyconst flex_int32_t yy_ec[256] =
| | { 0,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 2,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 3, 4, 5, 6,
| |
| | 7, 8, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| |
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
| | 1, 1, 1, 1, 1
| | } ;
| |
| | static yyconst flex_int32_t yy_meta[9] =
| | { 0,
| | 1, 1, 1, 1, 1, 1, 1, 1
| | } ;
| |
| | static yyconst flex_int16_t yy_base[13] =
| | { 0,
| | 0, 0, 9, 10, 10, 10, 10, 10, 10, 10,
| | 10, 10
| | } ;
| |
| | static yyconst flex_int16_t yy_def[13] =
| | { 0,
| | 12, 1, 12, 12, 12, 12, 12, 12, 12, 12,
| | 12, 0
| | } ;
| |
| | static yyconst flex_int16_t yy_nxt[19] =
| | { 0,
| | 4, 5, 6, 7, 8, 9, 10, 11, 12, 3,
| | 12, 12, 12, 12, 12, 12, 12, 12
| | } ;
| |
| | static yyconst flex_int16_t yy_chk[19] =
| | { 0,
| | 1, 1, 1, 1, 1, 1, 1, 1, 3, 12,
| | 12, 12, 12, 12, 12, 12, 12, 12
| | } ;
| |
| | extern int yy_flex_debug;
| | int yy_flex_debug = 0;
| |
| | static yy_state_type *yy_state_buf=0, *yy_state_ptr=0;
| | static char *yy_full_match;
| | static int yy_lp;
| | #define REJECT \
| | { \
| | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \
| | yy_cp = (yy_full_match); /* restore poss. backed-over text */ \
| | ++(yy_lp); \
| | goto find_rule; \
| | }
| |
| | static int yy_more_flag = 0;
| | static int yy_more_len = 0;
| | #define yymore() ((yy_more_flag) = 1)
| | #define YY_MORE_ADJ (yy_more_len)
| | #define YY_RESTORE_YY_MORE_OFFSET
| | char *yytext;
| | #line 1 "conftest.l"
| | #line 477 "lex.yy.c"
| |
| | #define INITIAL 0
| |
| | #ifndef YY_NO_UNISTD_H
| | /* Special case for "unistd.h", since it is non-ANSI. We include it way
| | * down here because we want the user's section 1 to have been scanned first.
| | * The user has a chance to override it with an option.
| | */
| | #include
| | #endif
| |
| | #ifndef YY_EXTRA_TYPE
| | #define YY_EXTRA_TYPE void *
| | #endif
| |
| | static int yy_init_globals (void );
| |
| | /* Accessor methods to globals.
| | These are made visible to non-reentrant scanners for convenience. */
| |
| | int yylex_destroy (void );
| |
| | int yyget_debug (void );
| |
| | void yyset_debug (int debug_flag );
| |
| | YY_EXTRA_TYPE yyget_extra (void );
| |
| | void yyset_extra (YY_EXTRA_TYPE user_defined );
| |
| | FILE *yyget_in (void );
| |
| | void yyset_in (FILE * in_str );
| |
| | FILE *yyget_out (void );
| |
| | void yyset_out (FILE * out_str );
| |
| | int yyget_leng (void );
| |
| | char *yyget_text (void );
| |
| | int yyget_lineno (void );
| |
| | void yyset_lineno (int line_number );
| |
| | /* Macros after this point can all be overridden by user definitions in
| | * section 1.
| | */
| |
| | #ifndef YY_SKIP_YYWRAP
| | #ifdef __cplusplus
| | extern "C" int yywrap (void );
| | #else
| | extern int yywrap (void );
| | #endif
| | #endif
| |
| | static void yyunput (int c,char *buf_ptr );
| |
| | #ifndef yytext_ptr
| | static void yy_flex_strncpy (char *,yyconst char *,int );
| | #endif
| |
| | #ifdef YY_NEED_STRLEN
| | static int yy_flex_strlen (yyconst char * );
| | #endif
| |
| | #ifndef YY_NO_INPUT
| |
| | #ifdef __cplusplus
| | static int yyinput (void );
| | #else
| | static int input (void );
| | #endif
| |
| | #endif
| |
| | /* Amount of stuff to slurp up with each read. */
| | #ifndef YY_READ_BUF_SIZE
| | #ifdef __ia64__
| | /* On IA-64, the buffer size is 16k, not 8k */
| | #define YY_READ_BUF_SIZE 16384
| | #else
| | #define YY_READ_BUF_SIZE 8192
| | #endif /* __ia64__ */
| | #endif
| |
| | /* Copy whatever the last rule matched to the standard output. */
| | #ifndef ECHO
| | /* This used to be an fputs(), but since the string might contain NUL's,
| | * we now use fwrite().
| | */
| | #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
| | #endif
| |
| | /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
| | * is returned in "result".
| | */
| | #ifndef YY_INPUT
| | #define YY_INPUT(buf,result,max_size) \
| | if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
| | { \
| | int c = '*'; \
| | size_t n; \
| | for ( n = 0; n < max_size && \
| | (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
| | buf[n] = (char) c; \
| | if ( c == '\n' ) \
| | buf[n++] = (char) c; \
| | if ( c == EOF && ferror( yyin ) ) \
| | YY_FATAL_ERROR( "input in flex scanner failed" ); \
| | result = n; \
| | } \
| | else \
| | { \
| | errno=0; \
| | while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
| | { \
| | if( errno != EINTR) \
| | { \
| | YY_FATAL_ERROR( "input in flex scanner failed" ); \
| | break; \
| | } \
| | errno=0; \
| | clearerr(yyin); \
| | } \
| | }\
| | \
| |
| | #endif
| |
| | /* No semi-colon after return; correct usage is to write "yyterminate();" -
| | * we don't want an extra ';' after the "return" because that will cause
| | * some compilers to complain about unreachable statements.
| | */
| | #ifndef yyterminate
| | #define yyterminate() return YY_NULL
| | #endif
| |
| | /* Number of entries by which start-condition stack grows. */
| | #ifndef YY_START_STACK_INCR
| | #define YY_START_STACK_INCR 25
| | #endif
| |
| | /* Report a fatal error. */
| | #ifndef YY_FATAL_ERROR
| | #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
| | #endif
| |
| | /* end tables serialization structures and prototypes */
| |
| | /* Default declaration of generated scanner - a define so the user can
| | * easily add parameters.
| | */
| | #ifndef YY_DECL
| | #define YY_DECL_IS_OURS 1
| |
| | extern int yylex (void);
| |
| | #define YY_DECL int yylex (void)
| | #endif /* !YY_DECL */
| |
| | /* Code executed at the beginning of each rule, after yytext and yyleng
| | * have been set up.
| | */
| | #ifndef YY_USER_ACTION
| | #define YY_USER_ACTION
| | #endif
| |
| | /* Code executed at the end of each rule. */
| | #ifndef YY_BREAK
| | #define YY_BREAK break;
| | #endif
| |
| | #define YY_RULE_SETUP \
| | YY_USER_ACTION
| |
| | /** The main scanner function which does all the work.
| | */
| | YY_DECL
| | {
| | register yy_state_type yy_current_state;
| | register char *yy_cp, *yy_bp;
| | register int yy_act;
| |
| | #line 1 "conftest.l"
| |
| | #line 666 "lex.yy.c"
| |
| | if ( !(yy_init) )
| | {
| | (yy_init) = 1;
| |
| | #ifdef YY_USER_INIT
| | YY_USER_INIT;
| | #endif
| |
| | /* Create the reject buffer large enough to save one state per allowed character. */
| | if ( ! (yy_state_buf) )
| | (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE );
| | if ( ! (yy_state_buf) )
| | YY_FATAL_ERROR( "out of dynamic memory in yylex()" );
| |
| | if ( ! (yy_start) )
| | (yy_start) = 1; /* first start state */
| |
| | if ( ! yyin )
| | yyin = stdin;
| |
| | if ( ! yyout )
| | yyout = stdout;
| |
| | if ( ! YY_CURRENT_BUFFER ) {
| | yyensure_buffer_stack ();
| | YY_CURRENT_BUFFER_LVALUE =
| | yy_create_buffer(yyin,YY_BUF_SIZE );
| | }
| |
| | yy_load_buffer_state( );
| | }
| |
| | while ( 1 ) /* loops until end-of-file is reached */
| | {
| | (yy_more_len) = 0;
| | if ( (yy_more_flag) )
| | {
| | (yy_more_len) = (yy_c_buf_p) - (yytext_ptr);
| | (yy_more_flag) = 0;
| | }
| | yy_cp = (yy_c_buf_p);
| |
| | /* Support of yytext. */
| | *yy_cp = (yy_hold_char);
| |
| | /* yy_bp points to the position in yy_ch_buf of the start of
| | * the current run.
| | */
| | yy_bp = yy_cp;
| |
| | yy_current_state = (yy_start);
| |
| | (yy_state_ptr) = (yy_state_buf);
| | *(yy_state_ptr)++ = yy_current_state;
| |
| | yy_match:
| | do
| | {
| | register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
| | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
| | {
| | yy_current_state = (int) yy_def[yy_current_state];
| | if ( yy_current_state >= 13 )
| | yy_c = yy_meta[(unsigned int) yy_c];
| | }
| | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
| | *(yy_state_ptr)++ = yy_current_state;
| | ++yy_cp;
| | }
| | while ( yy_base[yy_current_state] != 10 );
| |
| | yy_find_action:
| | yy_current_state = *--(yy_state_ptr);
| | (yy_lp) = yy_accept[yy_current_state];
| | find_rule: /* we branch to this label when backing up */
| | for ( ; ; ) /* until we find what rule we matched */
| | {
| | if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] )
| | {
| | yy_act = yy_acclist[(yy_lp)];
| | {
| | (yy_full_match) = yy_cp;
| | break;
| | }
| | }
| | --yy_cp;
| | yy_current_state = *--(yy_state_ptr);
| | (yy_lp) = yy_accept[yy_current_state];
| | }
| |
| | YY_DO_BEFORE_ACTION;
| |
| | do_action: /* This label is used only to access EOF actions. */
| |
| | switch ( yy_act )
| | { /* beginning of action switch */
| | case 1:
| | YY_RULE_SETUP
| | #line 2 "conftest.l"
| | { ECHO; }
| | YY_BREAK
| | case 2:
| | YY_RULE_SETUP
| | #line 3 "conftest.l"
| | { REJECT; }
| | YY_BREAK
| | case 3:
| | YY_RULE_SETUP
| | #line 4 "conftest.l"
| | { yymore (); }
| | YY_BREAK
| | case 4:
| | YY_RULE_SETUP
| | #line 5 "conftest.l"
| | { yyless (1); }
| | YY_BREAK
| | case 5:
| | YY_RULE_SETUP
| | #line 6 "conftest.l"
| | { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
| | yyless ((input () != 0)); }
| | YY_BREAK
| | case 6:
| | YY_RULE_SETUP
| | #line 8 "conftest.l"
| | { unput (yytext[0]); }
| | YY_BREAK
| | case 7:
| | YY_RULE_SETUP
| | #line 9 "conftest.l"
| | { BEGIN INITIAL; }
| | YY_BREAK
| | case 8:
| | YY_RULE_SETUP
| | #line 10 "conftest.l"
| | ECHO;
| | YY_BREAK
| | #line 805 "lex.yy.c"
| | case YY_STATE_EOF(INITIAL):
| | yyterminate();
| |
| | case YY_END_OF_BUFFER:
| | {
| | /* Amount of text matched not including the EOB char. */
| | int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
| |
| | /* Undo the effects of YY_DO_BEFORE_ACTION. */
| | *yy_cp = (yy_hold_char);
| | YY_RESTORE_YY_MORE_OFFSET
| |
| | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
| | {
| | /* We're scanning a new file or input source. It's
| | * possible that this happened because the user
| | * just pointed yyin at a new source and called
| | * yylex(). If so, then we have to assure
| | * consistency between YY_CURRENT_BUFFER and our
| | * globals. Here is the right place to do so, because
| | * this is the first action (other than possibly a
| | * back-up) that will match for the new input source.
| | */
| | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
| | YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
| | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
| | }
| |
| | /* Note that here we test for yy_c_buf_p "<=" to the position
| | * of the first EOB in the buffer, since yy_c_buf_p will
| | * already have been incremented past the NUL character
| | * (since all states make transitions on EOB to the
| | * end-of-buffer state). Contrast this with the test
| | * in input().
| | */
| | if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
| | { /* This was really a NUL. */
| | yy_state_type yy_next_state;
| |
| | (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
| |
| | yy_current_state = yy_get_previous_state( );
| |
| | /* Okay, we're now positioned to make the NUL
| | * transition. We couldn't have
| | * yy_get_previous_state() go ahead and do it
| | * for us because it doesn't know how to deal
| | * with the possibility of jamming (and we don't
| | * want to build jamming into it because then it
| | * will run more slowly).
| | */
| |
| | yy_next_state = yy_try_NUL_trans( yy_current_state );
| |
| | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
| |
| | if ( yy_next_state )
| | {
| | /* Consume the NUL. */
| | yy_cp = ++(yy_c_buf_p);
| | yy_current_state = yy_next_state;
| | goto yy_match;
| | }
| |
| | else
| | {
| | yy_cp = (yy_c_buf_p);
| | goto yy_find_action;
| | }
| | }
| |
| | else switch ( yy_get_next_buffer( ) )
| | {
| | case EOB_ACT_END_OF_FILE:
| | {
| | (yy_did_buffer_switch_on_eof) = 0;
| |
| | if ( yywrap( ) )
| | {
| | /* Note: because we've taken care in
| | * yy_get_next_buffer() to have set up
| | * yytext, we can now set up
| | * yy_c_buf_p so that if some total
| | * hoser (like flex itself) wants to
| | * call the scanner after we return the
| | * YY_NULL, it'll still work - another
| | * YY_NULL will get returned.
| | */
| | (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
| |
| | yy_act = YY_STATE_EOF(YY_START);
| | goto do_action;
| | }
| |
| | else
| | {
| | if ( ! (yy_did_buffer_switch_on_eof) )
| | YY_NEW_FILE;
| | }
| | break;
| | }
| |
| | case EOB_ACT_CONTINUE_SCAN:
| | (yy_c_buf_p) =
| | (yytext_ptr) + yy_amount_of_matched_text;
| |
| | yy_current_state = yy_get_previous_state( );
| |
| | yy_cp = (yy_c_buf_p);
| | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
| | goto yy_match;
| |
| | case EOB_ACT_LAST_MATCH:
| | (yy_c_buf_p) =
| | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
| |
| | yy_current_state = yy_get_previous_state( );
| |
| | yy_cp = (yy_c_buf_p);
| | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
| | goto yy_find_action;
| | }
| | break;
| | }
| |
| | default:
| | YY_FATAL_ERROR(
| | "fatal flex scanner internal error--no action found" );
| | } /* end of action switch */
| | } /* end of scanning one token */
| | } /* end of yylex */
| |
| | /* yy_get_next_buffer - try to read in a new buffer
| | *
| | * Returns a code representing an action:
| | * EOB_ACT_LAST_MATCH -
| | * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
| | * EOB_ACT_END_OF_FILE - end of file
| | */
| | static int yy_get_next_buffer (void)
| | {
| | register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
| | register char *source = (yytext_ptr);
| | register int number_to_move, i;
| | int ret_val;
| |
| | if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
| | YY_FATAL_ERROR(
| | "fatal flex scanner internal error--end of buffer missed" );
| |
| | if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
| | { /* Don't try to fill the buffer, so this is an EOF. */
| | if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
| | {
| | /* We matched a single character, the EOB, so
| | * treat this as a final EOF.
| | */
| | return EOB_ACT_END_OF_FILE;
| | }
| |
| | else
| | {
| | /* We matched some text prior to the EOB, first
| | * process it.
| | */
| | return EOB_ACT_LAST_MATCH;
| | }
| | }
| |
| | /* Try to read more data. */
| |
| | /* First move last chars to start of buffer. */
| | number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1;
| |
| | for ( i = 0; i < number_to_move; ++i )
| | *(dest++) = *(source++);
| |
| | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
| | /* don't do the read, it's not guaranteed to return an EOF,
| | * just force an EOF
| | */
| | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
| |
| | else
| | {
| | int num_to_read =
| | YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
| |
| | while ( num_to_read <= 0 )
| | { /* Not enough room in the buffer - grow it. */
| |
| | YY_FATAL_ERROR(
| | "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
| |
| | }
| |
| | if ( num_to_read > YY_READ_BUF_SIZE )
| | num_to_read = YY_READ_BUF_SIZE;
| |
| | /* Read in more data. */
| | YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
| | (yy_n_chars), (size_t) num_to_read );
| |
| | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
| | }
| |
| | if ( (yy_n_chars) == 0 )
| | {
| | if ( number_to_move == YY_MORE_ADJ )
| | {
| | ret_val = EOB_ACT_END_OF_FILE;
| | yyrestart(yyin );
| | }
| |
| | else
| | {
| | ret_val = EOB_ACT_LAST_MATCH;
| | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
| | YY_BUFFER_EOF_PENDING;
| | }
| | }
| |
| | else
| | ret_val = EOB_ACT_CONTINUE_SCAN;
| |
| | if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
| | /* Extend the array by 50%, plus the number we really need. */
| | yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
| | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size );
| | if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
| | YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
| | }
| |
| | (yy_n_chars) += number_to_move;
| | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
| | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
| |
| | (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
| |
| | return ret_val;
| | }
| |
| | /* yy_get_previous_state - get the state just before the EOB char was reached */
| |
| | static yy_state_type yy_get_previous_state (void)
| | {
| | register yy_state_type yy_current_state;
| | register char *yy_cp;
| |
| | yy_current_state = (yy_start);
| |
| | (yy_state_ptr) = (yy_state_buf);
| | *(yy_state_ptr)++ = yy_current_state;
| |
| | for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
| | {
| | register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
| | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
| | {
| | yy_current_state = (int) yy_def[yy_current_state];
| | if ( yy_current_state >= 13 )
| | yy_c = yy_meta[(unsigned int) yy_c];
| | }
| | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
| | *(yy_state_ptr)++ = yy_current_state;
| | }
| |
| | return yy_current_state;
| | }
| |
| | /* yy_try_NUL_trans - try to make a transition on the NUL character
| | *
| | * synopsis
| | * next_state = yy_try_NUL_trans( current_state );
| | */
| | static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
| | {
| | register int yy_is_jam;
| |
| | register YY_CHAR yy_c = 1;
| | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
| | {
| | yy_current_state = (int) yy_def[yy_current_state];
| | if ( yy_current_state >= 13 )
| | yy_c = yy_meta[(unsigned int) yy_c];
| | }
| | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
| | yy_is_jam = (yy_current_state == 12);
| | if ( ! yy_is_jam )
| | *(yy_state_ptr)++ = yy_current_state;
| |
| | return yy_is_jam ? 0 : yy_current_state;
| | }
| |
| | static void yyunput (int c, register char * yy_bp )
| | {
| | register char *yy_cp;
| |
| | yy_cp = (yy_c_buf_p);
| |
| | /* undo effects of setting up yytext */
| | *yy_cp = (yy_hold_char);
| |
| | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
| | { /* need to shift things up to make room */
| | /* +2 for EOB chars. */
| | register int number_to_move = (yy_n_chars) + 2;
| | register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
| | YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
| | register char *source =
| | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
| |
| | while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
| | *--dest = *--source;
| |
| | yy_cp += (int) (dest - source);
| | yy_bp += (int) (dest - source);
| | YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
| | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
| |
| | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
| | YY_FATAL_ERROR( "flex scanner push-back overflow" );
| | }
| |
| | *--yy_cp = (char) c;
| |
| | (yytext_ptr) = yy_bp;
| | (yy_hold_char) = *yy_cp;
| | (yy_c_buf_p) = yy_cp;
| | }
| |
| | #ifndef YY_NO_INPUT
| | #ifdef __cplusplus
| | static int yyinput (void)
| | #else
| | static int input (void)
| | #endif
| |
| | {
| | int c;
| |
| | *(yy_c_buf_p) = (yy_hold_char);
| |
| | if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
| | {
| | /* yy_c_buf_p now points to the character we want to return.
| | * If this occurs *before* the EOB characters, then it's a
| | * valid NUL; if not, then we've hit the end of the buffer.
| | */
| | if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
| | /* This was really a NUL. */
| | *(yy_c_buf_p) = '\0';
| |
| | else
| | { /* need more input */
| | int offset = (yy_c_buf_p) - (yytext_ptr);
| | ++(yy_c_buf_p);
| |
| | switch ( yy_get_next_buffer( ) )
| | {
| | case EOB_ACT_LAST_MATCH:
| | /* This happens because yy_g_n_b()
| | * sees that we've accumulated a
| | * token and flags that we need to
| | * try matching the token before
| | * proceeding. But for input(),
| | * there's no matching to consider.
| | * So convert the EOB_ACT_LAST_MATCH
| | * to EOB_ACT_END_OF_FILE.
| | */
| |
| | /* Reset buffer status. */
| | yyrestart(yyin );
| |
| | /*FALLTHROUGH*/
| |
| | case EOB_ACT_END_OF_FILE:
| | {
| | if ( yywrap( ) )
| | return EOF;
| |
| | if ( ! (yy_did_buffer_switch_on_eof) )
| | YY_NEW_FILE;
| | #ifdef __cplusplus
| | return yyinput();
| | #else
| | return input();
| | #endif
| | }
| |
| | case EOB_ACT_CONTINUE_SCAN:
| | (yy_c_buf_p) = (yytext_ptr) + offset;
| | break;
| | }
| | }
| | }
| |
| | c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
| | *(yy_c_buf_p) = '\0'; /* preserve yytext */
| | (yy_hold_char) = *++(yy_c_buf_p);
| |
| | return c;
| | }
| | #endif /* ifndef YY_NO_INPUT */
| |
| | /** Immediately switch to a different input stream.
| | * @param input_file A readable stream.
| | *
| | * @note This function does not reset the start condition to @c INITIAL .
| | */
| | void yyrestart (FILE * input_file )
| | {
| |
| | if ( ! YY_CURRENT_BUFFER ){
| | yyensure_buffer_stack ();
| | YY_CURRENT_BUFFER_LVALUE =
| | yy_create_buffer(yyin,YY_BUF_SIZE );
| | }
| |
| | yy_init_buffer(YY_CURRENT_BUFFER,input_file );
| | yy_load_buffer_state( );
| | }
| |
| | /** Switch to a different input buffer.
| | * @param new_buffer The new input buffer.
| | *
| | */
| | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer )
| | {
| |
| | /* TODO. We should be able to replace this entire function body
| | * with
| | * yypop_buffer_state();
| | * yypush_buffer_state(new_buffer);
| | */
| | yyensure_buffer_stack ();
| | if ( YY_CURRENT_BUFFER == new_buffer )
| | return;
| |
| | if ( YY_CURRENT_BUFFER )
| | {
| | /* Flush out information for old buffer. */
| | *(yy_c_buf_p) = (yy_hold_char);
| | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
| | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
| | }
| |
| | YY_CURRENT_BUFFER_LVALUE = new_buffer;
| | yy_load_buffer_state( );
| |
| | /* We don't actually know whether we did this switch during
| | * EOF (yywrap()) processing, but the only time this flag
| | * is looked at is after yywrap() is called, so it's safe
| | * to go ahead and always set it.
| | */
| | (yy_did_buffer_switch_on_eof) = 1;
| | }
| |
| | static void yy_load_buffer_state (void)
| | {
| | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
| | (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
| | yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
| | (yy_hold_char) = *(yy_c_buf_p);
| | }
| |
| | /** Allocate and initialize an input buffer state.
| | * @param file A readable stream.
| | * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
| | *
| | * @return the allocated buffer state.
| | */
| | YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
| | {
| | YY_BUFFER_STATE b;
| |
| | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
| | if ( ! b )
| | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
| |
| | b->yy_buf_size = size;
| |
| | /* yy_ch_buf has to be 2 characters longer than the size given because
| | * we need to put in 2 end-of-buffer characters.
| | */
| | b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 );
| | if ( ! b->yy_ch_buf )
| | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
| |
| | b->yy_is_our_buffer = 1;
| |
| | yy_init_buffer(b,file );
| |
| | return b;
| | }
| |
| | /** Destroy the buffer.
| | * @param b a buffer created with yy_create_buffer()
| | *
| | */
| | void yy_delete_buffer (YY_BUFFER_STATE b )
| | {
| |
| | if ( ! b )
| | return;
| |
| | if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
| | YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
| |
| | if ( b->yy_is_our_buffer )
| | yyfree((void *) b->yy_ch_buf );
| |
| | yyfree((void *) b );
| | }
| |
| | #ifndef __cplusplus
| | extern int isatty (int );
| | #endif /* __cplusplus */
| |
| | /* Initializes or reinitializes a buffer.
| | * This function is sometimes called more than once on the same buffer,
| | * such as during a yyrestart() or at EOF.
| | */
| | static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file )
| |
| | {
| | int oerrno = errno;
| |
| | yy_flush_buffer(b );
| |
| | b->yy_input_file = file;
| | b->yy_fill_buffer = 1;
| |
| | /* If b is the current buffer, then yy_init_buffer was _probably_
| | * called from yyrestart() or through yy_get_next_buffer.
| | * In that case, we don't want to reset the lineno or column.
| | */
| | if (b != YY_CURRENT_BUFFER){
| | b->yy_bs_lineno = 1;
| | b->yy_bs_column = 0;
| | }
| |
| | b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
| |
| | errno = oerrno;
| | }
| |
| | /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
| | * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
| | *
| | */
| | void yy_flush_buffer (YY_BUFFER_STATE b )
| | {
| | if ( ! b )
| | return;
| |
| | b->yy_n_chars = 0;
| |
| | /* We always need two end-of-buffer characters. The first causes
| | * a transition to the end-of-buffer state. The second causes
| | * a jam in that state.
| | */
| | b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
| | b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
| |
| | b->yy_buf_pos = &b->yy_ch_buf[0];
| |
| | b->yy_at_bol = 1;
| | b->yy_buffer_status = YY_BUFFER_NEW;
| |
| | if ( b == YY_CURRENT_BUFFER )
| | yy_load_buffer_state( );
| | }
| |
| | /** Pushes the new state onto the stack. The new state becomes
| | * the current state. This function will allocate the stack
| | * if necessary.
| | * @param new_buffer The new state.
| | *
| | */
| | void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
| | {
| | if (new_buffer == NULL)
| | return;
| |
| | yyensure_buffer_stack();
| |
| | /* This block is copied from yy_switch_to_buffer. */
| | if ( YY_CURRENT_BUFFER )
| | {
| | /* Flush out information for old buffer. */
| | *(yy_c_buf_p) = (yy_hold_char);
| | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
| | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
| | }
| |
| | /* Only push if top exists. Otherwise, replace top. */
| | if (YY_CURRENT_BUFFER)
| | (yy_buffer_stack_top)++;
| | YY_CURRENT_BUFFER_LVALUE = new_buffer;
| |
| | /* copied from yy_switch_to_buffer. */
| | yy_load_buffer_state( );
| | (yy_did_buffer_switch_on_eof) = 1;
| | }
| |
| | /** Removes and deletes the top of the stack, if present.
| | * The next element becomes the new top.
| | *
| | */
| | void yypop_buffer_state (void)
| | {
| | if (!YY_CURRENT_BUFFER)
| | return;
| |
| | yy_delete_buffer(YY_CURRENT_BUFFER );
| | YY_CURRENT_BUFFER_LVALUE = NULL;
| | if ((yy_buffer_stack_top) > 0)
| | --(yy_buffer_stack_top);
| |
| | if (YY_CURRENT_BUFFER) {
| | yy_load_buffer_state( );
| | (yy_did_buffer_switch_on_eof) = 1;
| | }
| | }
| |
| | /* Allocates the stack if it does not exist.
| | * Guarantees space for at least one push.
| | */
| | static void yyensure_buffer_stack (void)
| | {
| | int num_to_alloc;
| |
| | if (!(yy_buffer_stack)) {
| |
| | /* First allocation is just for 2 elements, since we don't know if this
| | * scanner will even need a stack. We use 2 instead of 1 to avoid an
| | * immediate realloc on the next call.
| | */
| | num_to_alloc = 1;
| | (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
| | (num_to_alloc * sizeof(struct yy_buffer_state*)
| | );
| | if ( ! (yy_buffer_stack) )
| | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
| |
| | memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
| |
| | (yy_buffer_stack_max) = num_to_alloc;
| | (yy_buffer_stack_top) = 0;
| | return;
| | }
| |
| | if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
| |
| | /* Increase the buffer to prepare for a possible push. */
| | int grow_size = 8 /* arbitrary grow size */;
| |
| | num_to_alloc = (yy_buffer_stack_max) + grow_size;
| | (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
| | ((yy_buffer_stack),
| | num_to_alloc * sizeof(struct yy_buffer_state*)
| | );
| | if ( ! (yy_buffer_stack) )
| | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
| |
| | /* zero only the new slots.*/
| | memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
| | (yy_buffer_stack_max) = num_to_alloc;
| | }
| | }
| |
| | /** Setup the input buffer state to scan directly from a user-specified character buffer.
| | * @param base the character buffer
| | * @param size the size in bytes of the character buffer
| | *
| | * @return the newly allocated buffer state object.
| | */
| | YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size )
| | {
| | YY_BUFFER_STATE b;
| |
| | if ( size < 2 ||
| | base[size-2] != YY_END_OF_BUFFER_CHAR ||
| | base[size-1] != YY_END_OF_BUFFER_CHAR )
| | /* They forgot to leave room for the EOB's. */
| | return 0;
| |
| | b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
| | if ( ! b )
| | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
| |
| | b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
| | b->yy_buf_pos = b->yy_ch_buf = base;
| | b->yy_is_our_buffer = 0;
| | b->yy_input_file = 0;
| | b->yy_n_chars = b->yy_buf_size;
| | b->yy_is_interactive = 0;
| | b->yy_at_bol = 1;
| | b->yy_fill_buffer = 0;
| | b->yy_buffer_status = YY_BUFFER_NEW;
| |
| | yy_switch_to_buffer(b );
| |
| | return b;
| | }
| |
| | /** Setup the input buffer state to scan a string. The next call to yylex() will
| | * scan from a @e copy of @a str.
| | * @param yystr a NUL-terminated string to scan
| | *
| | * @return the newly allocated buffer state object.
| | * @note If you want to scan bytes that may contain NUL values, then use
| | * yy_scan_bytes() instead.
| | */
| | YY_BUFFER_STATE yy_scan_string (yyconst char * yystr )
| | {
| |
| | return yy_scan_bytes(yystr,strlen(yystr) );
| | }
| |
| | /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
| | * scan from a @e copy of @a bytes.
| | * @param yybytes the byte buffer to scan
| | * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
| | *
| | * @return the newly allocated buffer state object.
| | */
| | YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, int _yybytes_len )
| | {
| | YY_BUFFER_STATE b;
| | char *buf;
| | yy_size_t n;
| | int i;
| |
| | /* Get memory for full buffer, including space for trailing EOB's. */
| | n = _yybytes_len + 2;
| | buf = (char *) yyalloc(n );
| | if ( ! buf )
| | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
| |
| | for ( i = 0; i < _yybytes_len; ++i )
| | buf[i] = yybytes[i];
| |
| | buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
| |
| | b = yy_scan_buffer(buf,n );
| | if ( ! b )
| | YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
| |
| | /* It's okay to grow etc. this buffer, and we should throw it
| | * away when we're done.
| | */
| | b->yy_is_our_buffer = 1;
| |
| | return b;
| | }
| |
| | #ifndef YY_EXIT_FAILURE
| | #define YY_EXIT_FAILURE 2
| | #endif
| |
| | static void yy_fatal_error (yyconst char* msg )
| | {
| | (void) fprintf( stderr, "%s\n", msg );
| | exit( YY_EXIT_FAILURE );
| | }
| |
| | /* Redefine yyless() so it works in section 3 code. */
| |
| | #undef yyless
| | #define yyless(n) \
| | do \
| | { \
| | /* Undo effects of setting up yytext. */ \
| | int yyless_macro_arg = (n); \
| | YY_LESS_LINENO(yyless_macro_arg);\
| | yytext[yyleng] = (yy_hold_char); \
| | (yy_c_buf_p) = yytext + yyless_macro_arg; \
| | (yy_hold_char) = *(yy_c_buf_p); \
| | *(yy_c_buf_p) = '\0'; \
| | yyleng = yyless_macro_arg; \
| | } \
| | while ( 0 )
| |
| | /* Accessor methods (get/set functions) to struct members. */
| |
| | /** Get the current line number.
| | *
| | */
| | int yyget_lineno (void)
| | {
| |
| | return yylineno;
| | }
| |
| | /** Get the input stream.
| | *
| | */
| | FILE *yyget_in (void)
| | {
| | return yyin;
| | }
| |
| | /** Get the output stream.
| | *
| | */
| | FILE *yyget_out (void)
| | {
| | return yyout;
| | }
| |
| | /** Get the length of the current token.
| | *
| | */
| | int yyget_leng (void)
| | {
| | return yyleng;
| | }
| |
| | /** Get the current token.
| | *
| | */
| |
| | char *yyget_text (void)
| | {
| | return yytext;
| | }
| |
| | /** Set the current line number.
| | * @param line_number
| | *
| | */
| | void yyset_lineno (int line_number )
| | {
| |
| | yylineno = line_number;
| | }
| |
| | /** Set the input stream. This does not discard the current
| | * input buffer.
| | * @param in_str A readable stream.
| | *
| | * @see yy_switch_to_buffer
| | */
| | void yyset_in (FILE * in_str )
| | {
| | yyin = in_str ;
| | }
| |
| | void yyset_out (FILE * out_str )
| | {
| | yyout = out_str ;
| | }
| |
| | int yyget_debug (void)
| | {
| | return yy_flex_debug;
| | }
| |
| | void yyset_debug (int bdebug )
| | {
| | yy_flex_debug = bdebug ;
| | }
| |
| | static int yy_init_globals (void)
| | {
| | /* Initialization is the same as for the non-reentrant scanner.
| | * This function is called from yylex_destroy(), so don't allocate here.
| | */
| |
| | (yy_buffer_stack) = 0;
| | (yy_buffer_stack_top) = 0;
| | (yy_buffer_stack_max) = 0;
| | (yy_c_buf_p) = (char *) 0;
| | (yy_init) = 0;
| | (yy_start) = 0;
| |
| | (yy_state_buf) = 0;
| | (yy_state_ptr) = 0;
| | (yy_full_match) = 0;
| | (yy_lp) = 0;
| |
| | /* Defined in main.c */
| | #ifdef YY_STDINIT
| | yyin = stdin;
| | yyout = stdout;
| | #else
| | yyin = (FILE *) 0;
| | yyout = (FILE *) 0;
| | #endif
| |
| | /* For future reference: Set errno on error, since we are called by
| | * yylex_init()
| | */
| | return 0;
| | }
| |
| | /* yylex_destroy is for both reentrant and non-reentrant scanners. */
| | int yylex_destroy (void)
| | {
| |
| | /* Pop the buffer stack, destroying each element. */
| | while(YY_CURRENT_BUFFER){
| | yy_delete_buffer(YY_CURRENT_BUFFER );
| | YY_CURRENT_BUFFER_LVALUE = NULL;
| | yypop_buffer_state();
| | }
| |
| | /* Destroy the stack itself. */
| | yyfree((yy_buffer_stack) );
| | (yy_buffer_stack) = NULL;
| |
| | yyfree ( (yy_state_buf) );
| | (yy_state_buf) = NULL;
| |
| | /* Reset the globals. This is important in a non-reentrant scanner so the next time
| | * yylex() is called, initialization will occur. */
| | yy_init_globals( );
| |
| | return 0;
| | }
| |
| | /*
| | * Internal utility routines.
| | */
| |
| | #ifndef yytext_ptr
| | static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
| | {
| | register int i;
| | for ( i = 0; i < n; ++i )
| | s1[i] = s2[i];
| | }
| | #endif
| |
| | #ifdef YY_NEED_STRLEN
| | static int yy_flex_strlen (yyconst char * s )
| | {
| | register int n;
| | for ( n = 0; s[n]; ++n )
| | ;
| |
| | return n;
| | }
| | #endif
| |
| | void *yyalloc (yy_size_t size )
| | {
| | return (void *) malloc( size );
| | }
| |
| | void *yyrealloc (void * ptr, yy_size_t size )
| | {
| | /* The cast to (char *) in the following accommodates both
| | * implementations that use char* generic pointers, and those
| | * that use void* generic pointers. It works with the latter
| | * because both ANSI C and C++ allow castless assignment from
| | * any pointer type to void*, and deal with argument conversions
| | * as though doing an assignment.
| | */
| | return (void *) realloc( (char *) ptr, size );
| | }
| |
| | void yyfree (void * ptr )
| | {
| | free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
| | }
| |
| | #define YYTABLES_NAME "yytables"
| |
| | #line 10 "conftest.l"
| |
| |
| | #ifdef YYTEXT_POINTER
| | extern char *yytext;
| | #endif
| | int
| | main (void)
| | {
| | return ! yylex () + ! yywrap ();
| | }
| configure:12943: result: no
| configure:12960: checking for bison
| configure:12976: found /bin/bison
| configure:12987: result: bison -y
| configure:13003: checking whether ln -s works
| configure:13010: result: no, using cp -pR
| configure:13020: checking whether make sets $(MAKE)
| configure:13042: result: yes
| configure:13076: checking for ld used by gcc
| configure:13143: result: c:/mingw/mingw32/bin/ld.exe
| configure:13150: checking if the linker (c:/mingw/mingw32/bin/ld.exe) is GNU ld
| configure:13165: result: yes
| configure:13172: checking for shared library run path origin
| configure:13185: result: done
| configure:13207: checking for ANSI C header files
| configure:13311: result: yes
| configure:13323: checking for stdint.h
| configure:13323: result: yes
| configure:13323: checking for sys/types.h
| configure:13323: result: yes
| configure:13323: checking signal.h usability
| configure:13323: gcc -c -g -O2 conftest.c >&5
| configure:13323: $? = 0
| configure:13323: result: yes
| configure:13323: checking signal.h presence
| configure:13323: gcc -E conftest.c
| configure:13323: $? = 0
| configure:13323: result: yes
| configure:13323: checking for signal.h
| configure:13323: result: yes
| configure:13323: checking fcntl.h usability
| configure:13323: gcc -c -g -O2 conftest.c >&5
| configure:13323: $? = 0
| configure:13323: result: yes
| configure:13323: checking fcntl.h presence
| configure:13323: gcc -E conftest.c
| configure:13323: $? = 0
| configure:13323: result: yes
| configure:13323: checking for fcntl.h
| configure:13323: result: yes
| configure:13323: checking malloc.h usability
| configure:13323: gcc -c -g -O2 conftest.c >&5
| configure:13323: $? = 0
| configure:13323: result: yes
| configure:13323: checking malloc.h presence
| configure:13323: gcc -E conftest.c
| configure:13323: $? = 0
| configure:13323: result: yes
| configure:13323: checking for malloc.h
| configure:13323: result: yes
| configure:13323: checking locale.h usability
| configure:13323: gcc -c -g -O2 conftest.c >&5
| configure:13323: $? = 0
| configure:13323: result: yes
| configure:13323: checking locale.h presence
| configure:13323: gcc -E conftest.c
| configure:13323: $? = 0
| configure:13323: result: yes
| configure:13323: checking for locale.h
| configure:13323: result: yes
| configure:13323: checking stddef.h usability
| configure:13323: gcc -c -g -O2 conftest.c >&5
| configure:13323: $? = 0
| configure:13323: result: yes
| configure:13323: checking stddef.h presence
| configure:13323: gcc -E conftest.c
| configure:13323: $? = 0
| configure:13323: result: yes
| configure:13323: checking for stddef.h
| configure:13323: result: yes
| configure:13323: checking wchar.h usability
| configure:13323: gcc -c -g -O2 conftest.c >&5
| configure:13323: $? = 0
| configure:13323: result: yes
| configure:13323: checking wchar.h presence
| configure:13323: gcc -E conftest.c
| configure:13323: $? = 0
| configure:13323: result: yes
| configure:13323: checking for wchar.h
| configure:13323: result: yes
| configure:13323: checking for dlfcn.h
| configure:13323: result: yes
| configure:13323: checking sys/time.h usability
| configure:13323: gcc -c -g -O2 conftest.c >&5
| configure:13323: $? = 0
| configure:13323: result: yes
| configure:13323: checking sys/time.h presence
| configure:13323: gcc -E conftest.c
| configure:13323: $? = 0
| configure:13323: result: yes
| configure:13323: checking for sys/time.h
| configure:13323: result: yes
| configure:13323: checking sys/wait.h usability
| configure:13323: gcc -c -g -O2 conftest.c >&5
| conftest.c:74:22: fatal error: sys/wait.h: No such file or directory
| #include
| ^
| compilation terminated.
| configure:13323: $? = 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "GnuCOBOL"
| | #define PACKAGE_TARNAME "gnucobol"
| | #define PACKAGE_VERSION "2.2"
| | #define PACKAGE_STRING "GnuCOBOL 2.2"
| | #define PACKAGE_BUGREPORT "address@hidden"
| | #define PACKAGE_URL "https://www.gnu.org/software/gnucobol/"
| | #define PACKAGE "gnucobol"
| | #define VERSION "2.2"
| | #define PATCH_LEVEL 0
| | #define MAX_CALL_FIELD_PARAMS 192
| | #define STDC_HEADERS 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SYS_STAT_H 1
| | #define HAVE_STDLIB_H 1
| | #define HAVE_STRING_H 1
| | #define HAVE_MEMORY_H 1
| | #define HAVE_STRINGS_H 1
| | #define HAVE_INTTYPES_H 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_UNISTD_H 1
| | #define __EXTENSIONS__ 1
| | #define _ALL_SOURCE 1
| | #define _GNU_SOURCE 1
| | #define _POSIX_PTHREAD_SEMANTICS 1
| | #define _TANDEM_SOURCE 1
| | #define HAVE_DLFCN_H 1
| | #define LT_OBJDIR ".libs/"
| | #define STDC_HEADERS 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SIGNAL_H 1
| | #define HAVE_FCNTL_H 1
| | #define HAVE_MALLOC_H 1
| | #define HAVE_LOCALE_H 1
| | #define HAVE_STDDEF_H 1
| | #define HAVE_WCHAR_H 1
| | #define HAVE_DLFCN_H 1
| | #define HAVE_SYS_TIME_H 1
| | /* end confdefs.h. */
| | #include
| | #ifdef HAVE_SYS_TYPES_H
| | # include
| | #endif
| | #ifdef HAVE_SYS_STAT_H
| | # include
| | #endif
| | #ifdef STDC_HEADERS
| | # include
| | # include
| | #else
| | # ifdef HAVE_STDLIB_H
| | # include
| | # endif
| | #endif
| | #ifdef HAVE_STRING_H
| | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| | # include
| | # endif
| | # include
| | #endif
| | #ifdef HAVE_STRINGS_H
| | # include
| | #endif
| | #ifdef HAVE_INTTYPES_H
| | # include
| | #endif
| | #ifdef HAVE_STDINT_H
| | # include
| | #endif
| | #ifdef HAVE_UNISTD_H
| | # include
| | #endif
| | #include
| configure:13323: result: no
| configure:13323: checking sys/wait.h presence
| configure:13323: gcc -E conftest.c
| conftest.c:41:22: fatal error: sys/wait.h: No such file or directory
| #include
| ^
| compilation terminated.
| configure:13323: $? = 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "GnuCOBOL"
| | #define PACKAGE_TARNAME "gnucobol"
| | #define PACKAGE_VERSION "2.2"
| | #define PACKAGE_STRING "GnuCOBOL 2.2"
| | #define PACKAGE_BUGREPORT "address@hidden"
| | #define PACKAGE_URL "https://www.gnu.org/software/gnucobol/"
| | #define PACKAGE "gnucobol"
| | #define VERSION "2.2"
| | #define PATCH_LEVEL 0
| | #define MAX_CALL_FIELD_PARAMS 192
| | #define STDC_HEADERS 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SYS_STAT_H 1
| | #define HAVE_STDLIB_H 1
| | #define HAVE_STRING_H 1
| | #define HAVE_MEMORY_H 1
| | #define HAVE_STRINGS_H 1
| | #define HAVE_INTTYPES_H 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_UNISTD_H 1
| | #define __EXTENSIONS__ 1
| | #define _ALL_SOURCE 1
| | #define _GNU_SOURCE 1
| | #define _POSIX_PTHREAD_SEMANTICS 1
| | #define _TANDEM_SOURCE 1
| | #define HAVE_DLFCN_H 1
| | #define LT_OBJDIR ".libs/"
| | #define STDC_HEADERS 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SIGNAL_H 1
| | #define HAVE_FCNTL_H 1
| | #define HAVE_MALLOC_H 1
| | #define HAVE_LOCALE_H 1
| | #define HAVE_STDDEF_H 1
| | #define HAVE_WCHAR_H 1
| | #define HAVE_DLFCN_H 1
| | #define HAVE_SYS_TIME_H 1
| | /* end confdefs.h. */
| | #include
| configure:13323: result: no
| configure:13323: checking for sys/wait.h
| configure:13323: result: no
| configure:13336: checking for an ANSI C-conforming const
| configure:13402: gcc -c -g -O2 conftest.c >&5
| configure:13402: $? = 0
| configure:13409: result: yes
| configure:13417: checking whether byte ordering is bigendian
| configure:13432: gcc -c -g -O2 conftest.c >&5
| conftest.c:42:9: error: unknown type name 'not'
| not a universal capable compiler
| ^~~
| conftest.c:42:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'universal'
| not a universal capable compiler
| ^~~~~~~~~
| conftest.c:42:15: error: unknown type name 'universal'
| configure:13432: $? = 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "GnuCOBOL"
| | #define PACKAGE_TARNAME "gnucobol"
| | #define PACKAGE_VERSION "2.2"
| | #define PACKAGE_STRING "GnuCOBOL 2.2"
| | #define PACKAGE_BUGREPORT "address@hidden"
| | #define PACKAGE_URL "https://www.gnu.org/software/gnucobol/"
| | #define PACKAGE "gnucobol"
| | #define VERSION "2.2"
| | #define PATCH_LEVEL 0
| | #define MAX_CALL_FIELD_PARAMS 192
| | #define STDC_HEADERS 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SYS_STAT_H 1
| | #define HAVE_STDLIB_H 1
| | #define HAVE_STRING_H 1
| | #define HAVE_MEMORY_H 1
| | #define HAVE_STRINGS_H 1
| | #define HAVE_INTTYPES_H 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_UNISTD_H 1
| | #define __EXTENSIONS__ 1
| | #define _ALL_SOURCE 1
| | #define _GNU_SOURCE 1
| | #define _POSIX_PTHREAD_SEMANTICS 1
| | #define _TANDEM_SOURCE 1
| | #define HAVE_DLFCN_H 1
| | #define LT_OBJDIR ".libs/"
| | #define STDC_HEADERS 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SIGNAL_H 1
| | #define HAVE_FCNTL_H 1
| | #define HAVE_MALLOC_H 1
| | #define HAVE_LOCALE_H 1
| | #define HAVE_STDDEF_H 1
| | #define HAVE_WCHAR_H 1
| | #define HAVE_DLFCN_H 1
| | #define HAVE_SYS_TIME_H 1
| | /* end confdefs.h. */
| | #ifndef __APPLE_CC__
| | not a universal capable compiler
| | #endif
| | typedef int dummy;
| |
| configure:13477: gcc -c -g -O2 conftest.c >&5
| configure:13477: $? = 0
| configure:13495: gcc -c -g -O2 conftest.c >&5
| conftest.c: In function 'main':
| conftest.c:48:4: error: unknown type name 'not'
| not big endian
| ^~~
| conftest.c:48:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'endian'
| not big endian
| ^~~~~~
| configure:13495: $? = 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "GnuCOBOL"
| | #define PACKAGE_TARNAME "gnucobol"
| | #define PACKAGE_VERSION "2.2"
| | #define PACKAGE_STRING "GnuCOBOL 2.2"
| | #define PACKAGE_BUGREPORT "address@hidden"
| | #define PACKAGE_URL "https://www.gnu.org/software/gnucobol/"
| | #define PACKAGE "gnucobol"
| | #define VERSION "2.2"
| | #define PATCH_LEVEL 0
| | #define MAX_CALL_FIELD_PARAMS 192
| | #define STDC_HEADERS 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SYS_STAT_H 1
| | #define HAVE_STDLIB_H 1
| | #define HAVE_STRING_H 1
| | #define HAVE_MEMORY_H 1
| | #define HAVE_STRINGS_H 1
| | #define HAVE_INTTYPES_H 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_UNISTD_H 1
| | #define __EXTENSIONS__ 1
| | #define _ALL_SOURCE 1
| | #define _GNU_SOURCE 1
| | #define _POSIX_PTHREAD_SEMANTICS 1
| | #define _TANDEM_SOURCE 1
| | #define HAVE_DLFCN_H 1
| | #define LT_OBJDIR ".libs/"
| | #define STDC_HEADERS 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SIGNAL_H 1
| | #define HAVE_FCNTL_H 1
| | #define HAVE_MALLOC_H 1
| | #define HAVE_LOCALE_H 1
| | #define HAVE_STDDEF_H 1
| | #define HAVE_WCHAR_H 1
| | #define HAVE_DLFCN_H 1
| | #define HAVE_SYS_TIME_H 1
| | /* end confdefs.h. */
| | #include
| | #include
| |
| | int
| | main ()
| | {
| | #if BYTE_ORDER != BIG_ENDIAN
| | not big endian
| | #endif
| |
| | ;
| | return 0;
| | }
| configure:13623: result: no
| configure:13641: checking for size_t
| configure:13641: gcc -c -g -O2 conftest.c >&5
| configure:13641: $? = 0
| configure:13641: gcc -c -g -O2 conftest.c >&5
| conftest.c: In function 'main':
| conftest.c:77:21: error: expected expression before ')' token
| if (sizeof ((size_t)))
| ^
| configure:13641: $? = 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "GnuCOBOL"
| | #define PACKAGE_TARNAME "gnucobol"
| | #define PACKAGE_VERSION "2.2"
| | #define PACKAGE_STRING "GnuCOBOL 2.2"
| | #define PACKAGE_BUGREPORT "address@hidden"
| | #define PACKAGE_URL "https://www.gnu.org/software/gnucobol/"
| | #define PACKAGE "gnucobol"
| | #define VERSION "2.2"
| | #define PATCH_LEVEL 0
| | #define MAX_CALL_FIELD_PARAMS 192
| | #define STDC_HEADERS 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SYS_STAT_H 1
| | #define HAVE_STDLIB_H 1
| | #define HAVE_STRING_H 1
| | #define HAVE_MEMORY_H 1
| | #define HAVE_STRINGS_H 1
| | #define HAVE_INTTYPES_H 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_UNISTD_H 1
| | #define __EXTENSIONS__ 1
| | #define _ALL_SOURCE 1
| | #define _GNU_SOURCE 1
| | #define _POSIX_PTHREAD_SEMANTICS 1
| | #define _TANDEM_SOURCE 1
| | #define HAVE_DLFCN_H 1
| | #define LT_OBJDIR ".libs/"
| | #define STDC_HEADERS 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SIGNAL_H 1
| | #define HAVE_FCNTL_H 1
| | #define HAVE_MALLOC_H 1
| | #define HAVE_LOCALE_H 1
| | #define HAVE_STDDEF_H 1
| | #define HAVE_WCHAR_H 1
| | #define HAVE_DLFCN_H 1
| | #define HAVE_SYS_TIME_H 1
| | /* end confdefs.h. */
| | #include
| | #ifdef HAVE_SYS_TYPES_H
| | # include
| | #endif
| | #ifdef HAVE_SYS_STAT_H
| | # include
| | #endif
| | #ifdef STDC_HEADERS
| | # include
| | # include
| | #else
| | # ifdef HAVE_STDLIB_H
| | # include
| | # endif
| | #endif
| | #ifdef HAVE_STRING_H
| | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| | # include
| | # endif
| | # include
| | #endif
| | #ifdef HAVE_STRINGS_H
| | # include
| | #endif
| | #ifdef HAVE_INTTYPES_H
| | # include
| | #endif
| | #ifdef HAVE_STDINT_H
| | # include
| | #endif
| | #ifdef HAVE_UNISTD_H
| | # include
| | #endif
| | int
| | main ()
| | {
| | if (sizeof ((size_t)))
| | return 0;
| | ;
| | return 0;
| | }
| configure:13641: result: yes
| configure:13652: checking whether struct tm is in sys/time.h or time.h
| configure:13672: gcc -c -g -O2 conftest.c >&5
| configure:13672: $? = 0
| configure:13679: result: time.h
| configure:13687: checking for sig_atomic_t
| configure:13687: gcc -c -g -O2 conftest.c >&5
| configure:13687: $? = 0
| configure:13687: gcc -c -g -O2 conftest.c >&5
| conftest.c: In function 'main':
| conftest.c:46:27: error: expected expression before ')' token
| if (sizeof ((sig_atomic_t)))
| ^
| configure:13687: $? = 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "GnuCOBOL"
| | #define PACKAGE_TARNAME "gnucobol"
| | #define PACKAGE_VERSION "2.2"
| | #define PACKAGE_STRING "GnuCOBOL 2.2"
| | #define PACKAGE_BUGREPORT "address@hidden"
| | #define PACKAGE_URL "https://www.gnu.org/software/gnucobol/"
| | #define PACKAGE "gnucobol"
| | #define VERSION "2.2"
| | #define PATCH_LEVEL 0
| | #define MAX_CALL_FIELD_PARAMS 192
| | #define STDC_HEADERS 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SYS_STAT_H 1
| | #define HAVE_STDLIB_H 1
| | #define HAVE_STRING_H 1
| | #define HAVE_MEMORY_H 1
| | #define HAVE_STRINGS_H 1
| | #define HAVE_INTTYPES_H 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_UNISTD_H 1
| | #define __EXTENSIONS__ 1
| | #define _ALL_SOURCE 1
| | #define _GNU_SOURCE 1
| | #define _POSIX_PTHREAD_SEMANTICS 1
| | #define _TANDEM_SOURCE 1
| | #define HAVE_DLFCN_H 1
| | #define LT_OBJDIR ".libs/"
| | #define STDC_HEADERS 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SIGNAL_H 1
| | #define HAVE_FCNTL_H 1
| | #define HAVE_MALLOC_H 1
| | #define HAVE_LOCALE_H 1
| | #define HAVE_STDDEF_H 1
| | #define HAVE_WCHAR_H 1
| | #define HAVE_DLFCN_H 1
| | #define HAVE_SYS_TIME_H 1
| | /* end confdefs.h. */
| | #include
| |
| | int
| | main ()
| | {
| | if (sizeof ((sig_atomic_t)))
| | return 0;
| | ;
| | return 0;
| | }
| configure:13687: result: yes
| configure:13701: checking for inline keyword
| configure:13725: gcc -c -g -O2 conftest.c >&5
| configure:13725: $? = 0
| configure:13733: result: __inline
| configure:13741: checking for vprintf
| configure:13741: gcc -o conftest.exe -g -O2 conftest.c >&5
| conftest.c:66:6: warning: conflicting types for built-in function 'vprintf'
| char vprintf ();
| ^~~~~~~
| configure:13741: $? = 0
| configure:13741: result: yes
| configure:13747: checking for _doprnt
| configure:13747: gcc -o conftest.exe -g -O2 conftest.c >&5
| C:\Users\ramosa\AppData\Local\Temp\ccacFJen.o: In function `main':
| C:\MinGW\msys\1.0\home\ramosa\gnucobol-2.2/conftest.c:78: undefined reference to `_doprnt'
| collect2.exe: error: ld returned 1 exit status
| configure:13747: $? = 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "GnuCOBOL"
| | #define PACKAGE_TARNAME "gnucobol"
| | #define PACKAGE_VERSION "2.2"
| | #define PACKAGE_STRING "GnuCOBOL 2.2"
| | #define PACKAGE_BUGREPORT "address@hidden"
| | #define PACKAGE_URL "https://www.gnu.org/software/gnucobol/"
| | #define PACKAGE "gnucobol"
| | #define VERSION "2.2"
| | #define PATCH_LEVEL 0
| | #define MAX_CALL_FIELD_PARAMS 192
| | #define STDC_HEADERS 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SYS_STAT_H 1
| | #define HAVE_STDLIB_H 1
| | #define HAVE_STRING_H 1
| | #define HAVE_MEMORY_H 1
| | #define HAVE_STRINGS_H 1
| | #define HAVE_INTTYPES_H 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_UNISTD_H 1
| | #define __EXTENSIONS__ 1
| | #define _ALL_SOURCE 1
| | #define _GNU_SOURCE 1
| | #define _POSIX_PTHREAD_SEMANTICS 1
| | #define _TANDEM_SOURCE 1
| | #define HAVE_DLFCN_H 1
| | #define LT_OBJDIR ".libs/"
| | #define STDC_HEADERS 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SIGNAL_H 1
| | #define HAVE_FCNTL_H 1
| | #define HAVE_MALLOC_H 1
| | #define HAVE_LOCALE_H 1
| | #define HAVE_STDDEF_H 1
| | #define HAVE_WCHAR_H 1
| | #define HAVE_DLFCN_H 1
| | #define HAVE_SYS_TIME_H 1
| | #define HAVE_SIG_ATOMIC_T 1
| | #define COB_KEYWORD_INLINE __inline
| | #define HAVE_VPRINTF 1
| | /* end confdefs.h. */
| | /* Define _doprnt to an innocuous variant, in case declares _doprnt.
| | For example, HP-UX 11i declares gettimeofday. */
| | #define _doprnt innocuous__doprnt
| |
| | /* System header to define __stub macros and hopefully few prototypes,
| | which can conflict with char _doprnt (); below.
| | Prefer to if __STDC__ is defined, since
| | exists even on freestanding compilers. */
| |
| | #ifdef __STDC__
| | # include
| | #else
| | # include
| | #endif
| |
| | #undef _doprnt
| |
| | /* Override any GCC internal prototype to avoid an error.
| | Use char because int might match the return type of a GCC
| | builtin and then its argument prototype would still apply. */
| | #ifdef __cplusplus
| | extern "C"
| | #endif
| | char _doprnt ();
| | /* The GNU C library defines this for functions which it implements
| | to always fail with ENOSYS. Some functions are actually named
| | something starting with __ and the normal name is an alias. */
| | #if defined __stub__doprnt || defined __stub____doprnt
| | choke me
| | #endif
| |
| | int
| | main ()
| | {
| | return _doprnt ();
| | ;
| | return 0;
| | }
| configure:13747: result: no
| configure:13764: checking for memmove
| configure:13764: gcc -o conftest.exe -g -O2 conftest.c >&5
| conftest.c:67:6: warning: conflicting types for built-in function 'memmove'
| char memmove ();
| ^~~~~~~
| configure:13764: $? = 0
| configure:13764: result: yes
| configure:13764: checking for memset
| configure:13764: gcc -o conftest.exe -g -O2 conftest.c >&5
| conftest.c:68:6: warning: conflicting types for built-in function 'memset'
| char memset ();
| ^~~~~~
| configure:13764: $? = 0
| configure:13764: result: yes
| configure:13764: checking for setlocale
| configure:13764: gcc -o conftest.exe -g -O2 conftest.c >&5
| configure:13764: $? = 0
| configure:13764: result: yes
| configure:13764: checking for fcntl
| configure:13764: gcc -o conftest.exe -g -O2 conftest.c >&5
| C:\Users\ramosa\AppData\Local\Temp\ccGP0Qmq.o: In function `main':
| C:\MinGW\msys\1.0\home\ramosa\gnucobol-2.2/conftest.c:81: undefined reference to `fcntl'
| collect2.exe: error: ld returned 1 exit status
| configure:13764: $? = 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "GnuCOBOL"
| | #define PACKAGE_TARNAME "gnucobol"
| | #define PACKAGE_VERSION "2.2"
| | #define PACKAGE_STRING "GnuCOBOL 2.2"
| | #define PACKAGE_BUGREPORT "address@hidden"
| | #define PACKAGE_URL "https://www.gnu.org/software/gnucobol/"
| | #define PACKAGE "gnucobol"
| | #define VERSION "2.2"
| | #define PATCH_LEVEL 0
| | #define MAX_CALL_FIELD_PARAMS 192
| | #define STDC_HEADERS 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SYS_STAT_H 1
| | #define HAVE_STDLIB_H 1
| | #define HAVE_STRING_H 1
| | #define HAVE_MEMORY_H 1
| | #define HAVE_STRINGS_H 1
| | #define HAVE_INTTYPES_H 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_UNISTD_H 1
| | #define __EXTENSIONS__ 1
| | #define _ALL_SOURCE 1
| | #define _GNU_SOURCE 1
| | #define _POSIX_PTHREAD_SEMANTICS 1
| | #define _TANDEM_SOURCE 1
| | #define HAVE_DLFCN_H 1
| | #define LT_OBJDIR ".libs/"
| | #define STDC_HEADERS 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SIGNAL_H 1
| | #define HAVE_FCNTL_H 1
| | #define HAVE_MALLOC_H 1
| | #define HAVE_LOCALE_H 1
| | #define HAVE_STDDEF_H 1
| | #define HAVE_WCHAR_H 1
| | #define HAVE_DLFCN_H 1
| | #define HAVE_SYS_TIME_H 1
| | #define HAVE_SIG_ATOMIC_T 1
| | #define COB_KEYWORD_INLINE __inline
| | #define HAVE_VPRINTF 1
| | #define HAVE_MEMMOVE 1
| | #define HAVE_MEMSET 1
| | #define HAVE_SETLOCALE 1
| | /* end confdefs.h. */
| | /* Define fcntl to an innocuous variant, in case declares fcntl.
| | For example, HP-UX 11i declares gettimeofday. */
| | #define fcntl innocuous_fcntl
| |
| | /* System header to define __stub macros and hopefully few prototypes,
| | which can conflict with char fcntl (); below.
| | Prefer to if __STDC__ is defined, since
| | exists even on freestanding compilers. */
| |
| | #ifdef __STDC__
| | # include
| | #else
| | # include
| | #endif
| |
| | #undef fcntl
| |
| | /* Override any GCC internal prototype to avoid an error.
| | Use char because int might match the return type of a GCC
| | builtin and then its argument prototype would still apply. */
| | #ifdef __cplusplus
| | extern "C"
| | #endif
| | char fcntl ();
| | /* The GNU C library defines this for functions which it implements
| | to always fail with ENOSYS. Some functions are actually named
| | something starting with __ and the normal name is an alias. */
| | #if defined __stub_fcntl || defined __stub___fcntl
| | choke me
| | #endif
| |
| | int
| | main ()
| | {
| | return fcntl ();
| | ;
| | return 0;
| | }
| configure:13764: result: no
| configure:13764: checking for strerror
| configure:13764: gcc -o conftest.exe -g -O2 conftest.c >&5
| configure:13764: $? = 0
| configure:13764: result: yes
| configure:13764: checking for strcasecmp
| configure:13764: gcc -o conftest.exe -g -O2 conftest.c >&5
| conftest.c:71:6: warning: conflicting types for built-in function 'strcasecmp'
| char strcasecmp ();
| ^~~~~~~~~~
| configure:13764: $? = 0
| configure:13764: result: yes
| configure:13764: checking for strchr
| configure:13764: gcc -o conftest.exe -g -O2 conftest.c >&5
| conftest.c:72:6: warning: conflicting types for built-in function 'strchr'
| char strchr ();
| ^~~~~~
| configure:13764: $? = 0
| configure:13764: result: yes
| configure:13764: checking for strrchr
| configure:13764: gcc -o conftest.exe -g -O2 conftest.c >&5
| conftest.c:73:6: warning: conflicting types for built-in function 'strrchr'
| char strrchr ();
| ^~~~~~~
| configure:13764: $? = 0
| configure:13764: result: yes
| configure:13764: checking for strdup
| configure:13764: gcc -o conftest.exe -g -O2 conftest.c >&5
| conftest.c:74:6: warning: conflicting types for built-in function 'strdup'
| char strdup ();
| ^~~~~~
| configure:13764: $? = 0
| configure:13764: result: yes
| configure:13764: checking for strstr
| configure:13764: gcc -o conftest.exe -g -O2 conftest.c >&5
| conftest.c:75:6: warning: conflicting types for built-in function 'strstr'
| char strstr ();
| ^~~~~~
| configure:13764: $? = 0
| configure:13764: result: yes
| configure:13764: checking for strtol
| configure:13764: gcc -o conftest.exe -g -O2 conftest.c >&5
| configure:13764: $? = 0
| configure:13764: result: yes
| configure:13764: checking for gettimeofday
| configure:13764: gcc -o conftest.exe -g -O2 conftest.c >&5
| configure:13764: $? = 0
| configure:13764: result: yes
| configure:13764: checking for localeconv
| configure:13764: gcc -o conftest.exe -g -O2 conftest.c >&5
| configure:13764: $? = 0
| configure:13764: result: yes
| configure:13764: checking for readlink
| configure:13764: gcc -o conftest.exe -g -O2 conftest.c >&5
| C:\Users\ramosa\AppData\Local\Temp\ccWcteL6.o: In function `main':
| C:\MinGW\msys\1.0\home\ramosa\gnucobol-2.2/conftest.c:90: undefined reference to `readlink'
| collect2.exe: error: ld returned 1 exit status
| configure:13764: $? = 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "GnuCOBOL"
| | #define PACKAGE_TARNAME "gnucobol"
| | #define PACKAGE_VERSION "2.2"
| | #define PACKAGE_STRING "GnuCOBOL 2.2"
| | #define PACKAGE_BUGREPORT "address@hidden"
| | #define PACKAGE_URL "https://www.gnu.org/software/gnucobol/"
| | #define PACKAGE "gnucobol"
| | #define VERSION "2.2"
| | #define PATCH_LEVEL 0
| | #define MAX_CALL_FIELD_PARAMS 192
| | #define STDC_HEADERS 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SYS_STAT_H 1
| | #define HAVE_STDLIB_H 1
| | #define HAVE_STRING_H 1
| | #define HAVE_MEMORY_H 1
| | #define HAVE_STRINGS_H 1
| | #define HAVE_INTTYPES_H 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_UNISTD_H 1
| | #define __EXTENSIONS__ 1
| | #define _ALL_SOURCE 1
| | #define _GNU_SOURCE 1
| | #define _POSIX_PTHREAD_SEMANTICS 1
| | #define _TANDEM_SOURCE 1
| | #define HAVE_DLFCN_H 1
| | #define LT_OBJDIR ".libs/"
| | #define STDC_HEADERS 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SIGNAL_H 1
| | #define HAVE_FCNTL_H 1
| | #define HAVE_MALLOC_H 1
| | #define HAVE_LOCALE_H 1
| | #define HAVE_STDDEF_H 1
| | #define HAVE_WCHAR_H 1
| | #define HAVE_DLFCN_H 1
| | #define HAVE_SYS_TIME_H 1
| | #define HAVE_SIG_ATOMIC_T 1
| | #define COB_KEYWORD_INLINE __inline
| | #define HAVE_VPRINTF 1
| | #define HAVE_MEMMOVE 1
| | #define HAVE_MEMSET 1
| | #define HAVE_SETLOCALE 1
| | #define HAVE_STRERROR 1
| | #define HAVE_STRCASECMP 1
| | #define HAVE_STRCHR 1
| | #define HAVE_STRRCHR 1
| | #define HAVE_STRDUP 1
| | #define HAVE_STRSTR 1
| | #define HAVE_STRTOL 1
| | #define HAVE_GETTIMEOFDAY 1
| | #define HAVE_LOCALECONV 1
| | /* end confdefs.h. */
| | /* Define readlink to an innocuous variant, in case declares readlink.
| | For example, HP-UX 11i declares gettimeofday. */
| | #define readlink innocuous_readlink
| |
| | /* System header to define __stub macros and hopefully few prototypes,
| | which can conflict with char readlink (); below.
| | Prefer to if __STDC__ is defined, since
| | exists even on freestanding compilers. */
| |
| | #ifdef __STDC__
| | # include
| | #else
| | # include
| | #endif
| |
| | #undef readlink
| |
| | /* Override any GCC internal prototype to avoid an error.
| | Use char because int might match the return type of a GCC
| | builtin and then its argument prototype would still apply. */
| | #ifdef __cplusplus
| | extern "C"
| | #endif
| | char readlink ();
| | /* The GNU C library defines this for functions which it implements
| | to always fail with ENOSYS. Some functions are actually named
| | something starting with __ and the normal name is an alias. */
| | #if defined __stub_readlink || defined __stub___readlink
| | choke me
| | #endif
| |
| | int
| | main ()
| | {
| | return readlink ();
| | ;
| | return 0;
| | }
| configure:13764: result: no
| configure:13764: checking for getexecname
| configure:13764: gcc -o conftest.exe -g -O2 conftest.c >&5
| C:\Users\ramosa\AppData\Local\Temp\ccuEqm6e.o: In function `main':
| C:\MinGW\msys\1.0\home\ramosa\gnucobol-2.2/conftest.c:90: undefined reference to `getexecname'
| collect2.exe: error: ld returned 1 exit status
| configure:13764: $? = 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "GnuCOBOL"
| | #define PACKAGE_TARNAME "gnucobol"
| | #define PACKAGE_VERSION "2.2"
| | #define PACKAGE_STRING "GnuCOBOL 2.2"
| | #define PACKAGE_BUGREPORT "address@hidden"
| | #define PACKAGE_URL "https://www.gnu.org/software/gnucobol/"
| | #define PACKAGE "gnucobol"
| | #define VERSION "2.2"
| | #define PATCH_LEVEL 0
| | #define MAX_CALL_FIELD_PARAMS 192
| | #define STDC_HEADERS 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SYS_STAT_H 1
| | #define HAVE_STDLIB_H 1
| | #define HAVE_STRING_H 1
| | #define HAVE_MEMORY_H 1
| | #define HAVE_STRINGS_H 1
| | #define HAVE_INTTYPES_H 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_UNISTD_H 1
| | #define __EXTENSIONS__ 1
| | #define _ALL_SOURCE 1
| | #define _GNU_SOURCE 1
| | #define _POSIX_PTHREAD_SEMANTICS 1
| | #define _TANDEM_SOURCE 1
| | #define HAVE_DLFCN_H 1
| | #define LT_OBJDIR ".libs/"
| | #define STDC_HEADERS 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SIGNAL_H 1
| | #define HAVE_FCNTL_H 1
| | #define HAVE_MALLOC_H 1
| | #define HAVE_LOCALE_H 1
| | #define HAVE_STDDEF_H 1
| | #define HAVE_WCHAR_H 1
| | #define HAVE_DLFCN_H 1
| | #define HAVE_SYS_TIME_H 1
| | #define HAVE_SIG_ATOMIC_T 1
| | #define COB_KEYWORD_INLINE __inline
| | #define HAVE_VPRINTF 1
| | #define HAVE_MEMMOVE 1
| | #define HAVE_MEMSET 1
| | #define HAVE_SETLOCALE 1
| | #define HAVE_STRERROR 1
| | #define HAVE_STRCASECMP 1
| | #define HAVE_STRCHR 1
| | #define HAVE_STRRCHR 1
| | #define HAVE_STRDUP 1
| | #define HAVE_STRSTR 1
| | #define HAVE_STRTOL 1
| | #define HAVE_GETTIMEOFDAY 1
| | #define HAVE_LOCALECONV 1
| | /* end confdefs.h. */
| | /* Define getexecname to an innocuous variant, in case declares getexecname.
| | For example, HP-UX 11i declares gettimeofday. */
| | #define getexecname innocuous_getexecname
| |
| | /* System header to define __stub macros and hopefully few prototypes,
| | which can conflict with char getexecname (); below.
| | Prefer to if __STDC__ is defined, since
| | exists even on freestanding compilers. */
| |
| | #ifdef __STDC__
| | # include
| | #else
| | # include
| | #endif
| |
| | #undef getexecname
| |
| | /* Override any GCC internal prototype to avoid an error.
| | Use char because int might match the return type of a GCC
| | builtin and then its argument prototype would still apply. */
| | #ifdef __cplusplus
| | extern "C"
| | #endif
| | char getexecname ();
| | /* The GNU C library defines this for functions which it implements
| | to always fail with ENOSYS. Some functions are actually named
| | something starting with __ and the normal name is an alias. */
| | #if defined __stub_getexecname || defined __stub___getexecname
| | choke me
| | #endif
| |
| | int
| | main ()
| | {
| | return getexecname ();
| | ;
| | return 0;
| | }
| configure:13764: result: no
| configure:13764: checking for canonicalize_file_name
| configure:13764: gcc -o conftest.exe -g -O2 conftest.c >&5
| C:\Users\ramosa\AppData\Local\Temp\cciP7j42.o: In function `main':
| C:\MinGW\msys\1.0\home\ramosa\gnucobol-2.2/conftest.c:90: undefined reference to `canonicalize_file_name'
| collect2.exe: error: ld returned 1 exit status
| configure:13764: $? = 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "GnuCOBOL"
| | #define PACKAGE_TARNAME "gnucobol"
| | #define PACKAGE_VERSION "2.2"
| | #define PACKAGE_STRING "GnuCOBOL 2.2"
| | #define PACKAGE_BUGREPORT "address@hidden"
| | #define PACKAGE_URL "https://www.gnu.org/software/gnucobol/"
| | #define PACKAGE "gnucobol"
| | #define VERSION "2.2"
| | #define PATCH_LEVEL 0
| | #define MAX_CALL_FIELD_PARAMS 192
| | #define STDC_HEADERS 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SYS_STAT_H 1
| | #define HAVE_STDLIB_H 1
| | #define HAVE_STRING_H 1
| | #define HAVE_MEMORY_H 1
| | #define HAVE_STRINGS_H 1
| | #define HAVE_INTTYPES_H 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_UNISTD_H 1
| | #define __EXTENSIONS__ 1
| | #define _ALL_SOURCE 1
| | #define _GNU_SOURCE 1
| | #define _POSIX_PTHREAD_SEMANTICS 1
| | #define _TANDEM_SOURCE 1
| | #define HAVE_DLFCN_H 1
| | #define LT_OBJDIR ".libs/"
| | #define STDC_HEADERS 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SIGNAL_H 1
| | #define HAVE_FCNTL_H 1
| | #define HAVE_MALLOC_H 1
| | #define HAVE_LOCALE_H 1
| | #define HAVE_STDDEF_H 1
| | #define HAVE_WCHAR_H 1
| | #define HAVE_DLFCN_H 1
| | #define HAVE_SYS_TIME_H 1
| | #define HAVE_SIG_ATOMIC_T 1
| | #define COB_KEYWORD_INLINE __inline
| | #define HAVE_VPRINTF 1
| | #define HAVE_MEMMOVE 1
| | #define HAVE_MEMSET 1
| | #define HAVE_SETLOCALE 1
| | #define HAVE_STRERROR 1
| | #define HAVE_STRCASECMP 1
| | #define HAVE_STRCHR 1
| | #define HAVE_STRRCHR 1
| | #define HAVE_STRDUP 1
| | #define HAVE_STRSTR 1
| | #define HAVE_STRTOL 1
| | #define HAVE_GETTIMEOFDAY 1
| | #define HAVE_LOCALECONV 1
| | /* end confdefs.h. */
| | /* Define canonicalize_file_name to an innocuous variant, in case declares canonicalize_file_name.
| | For example, HP-UX 11i declares gettimeofday. */
| | #define canonicalize_file_name innocuous_canonicalize_file_name
| |
| | /* System header to define __stub macros and hopefully few prototypes,
| | which can conflict with char canonicalize_file_name (); below.
| | Prefer to if __STDC__ is defined, since
| | exists even on freestanding compilers. */
| |
| | #ifdef __STDC__
| | # include
| | #else
| | # include
| | #endif
| |
| | #undef canonicalize_file_name
| |
| | /* Override any GCC internal prototype to avoid an error.
| | Use char because int might match the return type of a GCC
| | builtin and then its argument prototype would still apply. */
| | #ifdef __cplusplus
| | extern "C"
| | #endif
| | char canonicalize_file_name ();
| | /* The GNU C library defines this for functions which it implements
| | to always fail with ENOSYS. Some functions are actually named
| | something starting with __ and the normal name is an alias. */
| | #if defined __stub_canonicalize_file_name || defined __stub___canonicalize_file_name
| | choke me
| | #endif
| |
| | int
| | main ()
| | {
| | return canonicalize_file_name ();
| | ;
| | return 0;
| | }
| configure:13764: result: no
| configure:13764: checking for realpath
| configure:13764: gcc -o conftest.exe -g -O2 conftest.c >&5
| C:\Users\ramosa\AppData\Local\Temp\cc6E1slc.o: In function `main':
| C:\MinGW\msys\1.0\home\ramosa\gnucobol-2.2/conftest.c:90: undefined reference to `realpath'
| collect2.exe: error: ld returned 1 exit status
| configure:13764: $? = 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "GnuCOBOL"
| | #define PACKAGE_TARNAME "gnucobol"
| | #define PACKAGE_VERSION "2.2"
| | #define PACKAGE_STRING "GnuCOBOL 2.2"
| | #define PACKAGE_BUGREPORT "address@hidden"
| | #define PACKAGE_URL "https://www.gnu.org/software/gnucobol/"
| | #define PACKAGE "gnucobol"
| | #define VERSION "2.2"
| | #define PATCH_LEVEL 0
| | #define MAX_CALL_FIELD_PARAMS 192
| | #define STDC_HEADERS 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SYS_STAT_H 1
| | #define HAVE_STDLIB_H 1
| | #define HAVE_STRING_H 1
| | #define HAVE_MEMORY_H 1
| | #define HAVE_STRINGS_H 1
| | #define HAVE_INTTYPES_H 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_UNISTD_H 1
| | #define __EXTENSIONS__ 1
| | #define _ALL_SOURCE 1
| | #define _GNU_SOURCE 1
| | #define _POSIX_PTHREAD_SEMANTICS 1
| | #define _TANDEM_SOURCE 1
| | #define HAVE_DLFCN_H 1
| | #define LT_OBJDIR ".libs/"
| | #define STDC_HEADERS 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SIGNAL_H 1
| | #define HAVE_FCNTL_H 1
| | #define HAVE_MALLOC_H 1
| | #define HAVE_LOCALE_H 1
| | #define HAVE_STDDEF_H 1
| | #define HAVE_WCHAR_H 1
| | #define HAVE_DLFCN_H 1
| | #define HAVE_SYS_TIME_H 1
| | #define HAVE_SIG_ATOMIC_T 1
| | #define COB_KEYWORD_INLINE __inline
| | #define HAVE_VPRINTF 1
| | #define HAVE_MEMMOVE 1
| | #define HAVE_MEMSET 1
| | #define HAVE_SETLOCALE 1
| | #define HAVE_STRERROR 1
| | #define HAVE_STRCASECMP 1
| | #define HAVE_STRCHR 1
| | #define HAVE_STRRCHR 1
| | #define HAVE_STRDUP 1
| | #define HAVE_STRSTR 1
| | #define HAVE_STRTOL 1
| | #define HAVE_GETTIMEOFDAY 1
| | #define HAVE_LOCALECONV 1
| | /* end confdefs.h. */
| | /* Define realpath to an innocuous variant, in case declares realpath.
| | For example, HP-UX 11i declares gettimeofday. */
| | #define realpath innocuous_realpath
| |
| | /* System header to define __stub macros and hopefully few prototypes,
| | which can conflict with char realpath (); below.
| | Prefer to if __STDC__ is defined, since
| | exists even on freestanding compilers. */
| |
| | #ifdef __STDC__
| | # include
| | #else
| | # include
| | #endif
| |
| | #undef realpath
| |
| | /* Override any GCC internal prototype to avoid an error.
| | Use char because int might match the return type of a GCC
| | builtin and then its argument prototype would still apply. */
| | #ifdef __cplusplus
| | extern "C"
| | #endif
| | char realpath ();
| | /* The GNU C library defines this for functions which it implements
| | to always fail with ENOSYS. Some functions are actually named
| | something starting with __ and the normal name is an alias. */
| | #if defined __stub_realpath || defined __stub___realpath
| | choke me
| | #endif
| |
| | int
| | main ()
| | {
| | return realpath ();
| | ;
| | return 0;
| | }
| configure:13764: result: no
| configure:13764: checking for strcoll
| configure:13764: gcc -o conftest.exe -g -O2 conftest.c >&5
| configure:13764: $? = 0
| configure:13764: result: yes
| configure:13764: checking for strxfrm
| configure:13764: gcc -o conftest.exe -g -O2 conftest.c >&5
| configure:13764: $? = 0
| configure:13764: result: yes
| configure:13764: checking for setenv
| configure:13764: gcc -o conftest.exe -g -O2 conftest.c >&5
| configure:13764: $? = 0
| configure:13764: result: yes
| configure:13764: checking for raise
| configure:13764: gcc -o conftest.exe -g -O2 conftest.c >&5
| configure:13764: $? = 0
| configure:13764: result: yes
| configure:13799: gcc -o conftest.exe -g -O2 conftest.c >&5
| configure:13799: $? = 0
| configure:13799: ./conftest.exe
| configure:13799: $? = 1
| configure: program exited with status 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "GnuCOBOL"
| | #define PACKAGE_TARNAME "gnucobol"
| | #define PACKAGE_VERSION "2.2"
| | #define PACKAGE_STRING "GnuCOBOL 2.2"
| | #define PACKAGE_BUGREPORT "address@hidden"
| | #define PACKAGE_URL "https://www.gnu.org/software/gnucobol/"
| | #define PACKAGE "gnucobol"
| | #define VERSION "2.2"
| | #define PATCH_LEVEL 0
| | #define MAX_CALL_FIELD_PARAMS 192
| | #define STDC_HEADERS 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SYS_STAT_H 1
| | #define HAVE_STDLIB_H 1
| | #define HAVE_STRING_H 1
| | #define HAVE_MEMORY_H 1
| | #define HAVE_STRINGS_H 1
| | #define HAVE_INTTYPES_H 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_UNISTD_H 1
| | #define __EXTENSIONS__ 1
| | #define _ALL_SOURCE 1
| | #define _GNU_SOURCE 1
| | #define _POSIX_PTHREAD_SEMANTICS 1
| | #define _TANDEM_SOURCE 1
| | #define HAVE_DLFCN_H 1
| | #define LT_OBJDIR ".libs/"
| | #define STDC_HEADERS 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SIGNAL_H 1
| | #define HAVE_FCNTL_H 1
| | #define HAVE_MALLOC_H 1
| | #define HAVE_LOCALE_H 1
| | #define HAVE_STDDEF_H 1
| | #define HAVE_WCHAR_H 1
| | #define HAVE_DLFCN_H 1
| | #define HAVE_SYS_TIME_H 1
| | #define HAVE_SIG_ATOMIC_T 1
| | #define COB_KEYWORD_INLINE __inline
| | #define HAVE_VPRINTF 1
| | #define HAVE_MEMMOVE 1
| | #define HAVE_MEMSET 1
| | #define HAVE_SETLOCALE 1
| | #define HAVE_STRERROR 1
| | #define HAVE_STRCASECMP 1
| | #define HAVE_STRCHR 1
| | #define HAVE_STRRCHR 1
| | #define HAVE_STRDUP 1
| | #define HAVE_STRSTR 1
| | #define HAVE_STRTOL 1
| | #define HAVE_GETTIMEOFDAY 1
| | #define HAVE_LOCALECONV 1
| | #define HAVE_STRCOLL 1
| | #define HAVE_STRXFRM 1
| | #define HAVE_SETENV 1
| | #define HAVE_RAISE 1
| | /* end confdefs.h. */
| |
| | int
| | main ()
| | {
| |
| | #ifdef _BSD_SOURCE
| | return 0;
| | #else
| | return 1;
| | #endif
| | ;
| | return 0;
| | }
| configure:13808: checking for timezone variable access
| configure:13821: gcc -c -g -O2 conftest.c >&5
| configure:13821: $? = 0
| configure:13825: result: yes
| configure:13834: checking for designated initializers
| configure:13850: gcc -c -g -O2 conftest.c >&5
| configure:13850: $? = 0
| configure:13852: result: yes
| configure:13891: gcc -o conftest.exe -g -O2 conftest.c >&5
| configure:13891: $? = 0
| configure:13891: ./conftest.exe
| configure:13891: $? = 0
| configure:13921: gcc -o conftest.exe -g -O2 conftest.c >&5
| configure:13921: $? = 0
| configure:13921: ./conftest.exe
| configure:13921: $? = 0
| configure:13951: gcc -o conftest.exe -g -O2 conftest.c >&5
| configure:13951: $? = 0
| configure:13951: ./conftest.exe
| configure:13951: $? = 1
| configure: program exited with status 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "GnuCOBOL"
| | #define PACKAGE_TARNAME "gnucobol"
| | #define PACKAGE_VERSION "2.2"
| | #define PACKAGE_STRING "GnuCOBOL 2.2"
| | #define PACKAGE_BUGREPORT "address@hidden"
| | #define PACKAGE_URL "https://www.gnu.org/software/gnucobol/"
| | #define PACKAGE "gnucobol"
| | #define VERSION "2.2"
| | #define PATCH_LEVEL 0
| | #define MAX_CALL_FIELD_PARAMS 192
| | #define STDC_HEADERS 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SYS_STAT_H 1
| | #define HAVE_STDLIB_H 1
| | #define HAVE_STRING_H 1
| | #define HAVE_MEMORY_H 1
| | #define HAVE_STRINGS_H 1
| | #define HAVE_INTTYPES_H 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_UNISTD_H 1
| | #define __EXTENSIONS__ 1
| | #define _ALL_SOURCE 1
| | #define _GNU_SOURCE 1
| | #define _POSIX_PTHREAD_SEMANTICS 1
| | #define _TANDEM_SOURCE 1
| | #define HAVE_DLFCN_H 1
| | #define LT_OBJDIR ".libs/"
| | #define STDC_HEADERS 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SIGNAL_H 1
| | #define HAVE_FCNTL_H 1
| | #define HAVE_MALLOC_H 1
| | #define HAVE_LOCALE_H 1
| | #define HAVE_STDDEF_H 1
| | #define HAVE_WCHAR_H 1
| | #define HAVE_DLFCN_H 1
| | #define HAVE_SYS_TIME_H 1
| | #define HAVE_SIG_ATOMIC_T 1
| | #define COB_KEYWORD_INLINE __inline
| | #define HAVE_VPRINTF 1
| | #define HAVE_MEMMOVE 1
| | #define HAVE_MEMSET 1
| | #define HAVE_SETLOCALE 1
| | #define HAVE_STRERROR 1
| | #define HAVE_STRCASECMP 1
| | #define HAVE_STRCHR 1
| | #define HAVE_STRRCHR 1
| | #define HAVE_STRDUP 1
| | #define HAVE_STRSTR 1
| | #define HAVE_STRTOL 1
| | #define HAVE_GETTIMEOFDAY 1
| | #define HAVE_LOCALECONV 1
| | #define HAVE_STRCOLL 1
| | #define HAVE_STRXFRM 1
| | #define HAVE_SETENV 1
| | #define HAVE_RAISE 1
| | #define HAVE_TIMEZONE 1
| | #define HAVE_DESIGNATED_INITS 1
| | /* end confdefs.h. */
| |
| | int
| | main ()
| | {
| |
| | #ifdef __INTEL_COMPILER
| | return 0;
| | #else
| | return 1;
| | #endif
| | ;
| | return 0;
| | }
| configure:13981: gcc -o conftest.exe -g -O2 conftest.c >&5
| configure:13981: $? = 0
| configure:13981: ./conftest.exe
| configure:13981: $? = 1
| configure: program exited with status 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "GnuCOBOL"
| | #define PACKAGE_TARNAME "gnucobol"
| | #define PACKAGE_VERSION "2.2"
| | #define PACKAGE_STRING "GnuCOBOL 2.2"
| | #define PACKAGE_BUGREPORT "address@hidden"
| | #define PACKAGE_URL "https://www.gnu.org/software/gnucobol/"
| | #define PACKAGE "gnucobol"
| | #define VERSION "2.2"
| | #define PATCH_LEVEL 0
| | #define MAX_CALL_FIELD_PARAMS 192
| | #define STDC_HEADERS 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SYS_STAT_H 1
| | #define HAVE_STDLIB_H 1
| | #define HAVE_STRING_H 1
| | #define HAVE_MEMORY_H 1
| | #define HAVE_STRINGS_H 1
| | #define HAVE_INTTYPES_H 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_UNISTD_H 1
| | #define __EXTENSIONS__ 1
| | #define _ALL_SOURCE 1
| | #define _GNU_SOURCE 1
| | #define _POSIX_PTHREAD_SEMANTICS 1
| | #define _TANDEM_SOURCE 1
| | #define HAVE_DLFCN_H 1
| | #define LT_OBJDIR ".libs/"
| | #define STDC_HEADERS 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SIGNAL_H 1
| | #define HAVE_FCNTL_H 1
| | #define HAVE_MALLOC_H 1
| | #define HAVE_LOCALE_H 1
| | #define HAVE_STDDEF_H 1
| | #define HAVE_WCHAR_H 1
| | #define HAVE_DLFCN_H 1
| | #define HAVE_SYS_TIME_H 1
| | #define HAVE_SIG_ATOMIC_T 1
| | #define COB_KEYWORD_INLINE __inline
| | #define HAVE_VPRINTF 1
| | #define HAVE_MEMMOVE 1
| | #define HAVE_MEMSET 1
| | #define HAVE_SETLOCALE 1
| | #define HAVE_STRERROR 1
| | #define HAVE_STRCASECMP 1
| | #define HAVE_STRCHR 1
| | #define HAVE_STRRCHR 1
| | #define HAVE_STRDUP 1
| | #define HAVE_STRSTR 1
| | #define HAVE_STRTOL 1
| | #define HAVE_GETTIMEOFDAY 1
| | #define HAVE_LOCALECONV 1
| | #define HAVE_STRCOLL 1
| | #define HAVE_STRXFRM 1
| | #define HAVE_SETENV 1
| | #define HAVE_RAISE 1
| | #define HAVE_TIMEZONE 1
| | #define HAVE_DESIGNATED_INITS 1
| | /* end confdefs.h. */
| |
| | int
| | main ()
| | {
| |
| | #ifdef __clang__
| | return 0;
| | #else
| | return 1;
| | #endif
| | ;
| | return 0;
| | }
| configure:14011: gcc -o conftest.exe -g -O2 conftest.c >&5
| configure:14011: $? = 0
| configure:14011: ./conftest.exe
| configure:14011: $? = 1
| configure: program exited with status 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "GnuCOBOL"
| | #define PACKAGE_TARNAME "gnucobol"
| | #define PACKAGE_VERSION "2.2"
| | #define PACKAGE_STRING "GnuCOBOL 2.2"
| | #define PACKAGE_BUGREPORT "address@hidden"
| | #define PACKAGE_URL "https://www.gnu.org/software/gnucobol/"
| | #define PACKAGE "gnucobol"
| | #define VERSION "2.2"
| | #define PATCH_LEVEL 0
| | #define MAX_CALL_FIELD_PARAMS 192
| | #define STDC_HEADERS 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SYS_STAT_H 1
| | #define HAVE_STDLIB_H 1
| | #define HAVE_STRING_H 1
| | #define HAVE_MEMORY_H 1
| | #define HAVE_STRINGS_H 1
| | #define HAVE_INTTYPES_H 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_UNISTD_H 1
| | #define __EXTENSIONS__ 1
| | #define _ALL_SOURCE 1
| | #define _GNU_SOURCE 1
| | #define _POSIX_PTHREAD_SEMANTICS 1
| | #define _TANDEM_SOURCE 1
| | #define HAVE_DLFCN_H 1
| | #define LT_OBJDIR ".libs/"
| | #define STDC_HEADERS 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SIGNAL_H 1
| | #define HAVE_FCNTL_H 1
| | #define HAVE_MALLOC_H 1
| | #define HAVE_LOCALE_H 1
| | #define HAVE_STDDEF_H 1
| | #define HAVE_WCHAR_H 1
| | #define HAVE_DLFCN_H 1
| | #define HAVE_SYS_TIME_H 1
| | #define HAVE_SIG_ATOMIC_T 1
| | #define COB_KEYWORD_INLINE __inline
| | #define HAVE_VPRINTF 1
| | #define HAVE_MEMMOVE 1
| | #define HAVE_MEMSET 1
| | #define HAVE_SETLOCALE 1
| | #define HAVE_STRERROR 1
| | #define HAVE_STRCASECMP 1
| | #define HAVE_STRCHR 1
| | #define HAVE_STRRCHR 1
| | #define HAVE_STRDUP 1
| | #define HAVE_STRSTR 1
| | #define HAVE_STRTOL 1
| | #define HAVE_GETTIMEOFDAY 1
| | #define HAVE_LOCALECONV 1
| | #define HAVE_STRCOLL 1
| | #define HAVE_STRXFRM 1
| | #define HAVE_SETENV 1
| | #define HAVE_RAISE 1
| | #define HAVE_TIMEZONE 1
| | #define HAVE_DESIGNATED_INITS 1
| | /* end confdefs.h. */
| |
| | int
| | main ()
| | {
| |
| | #ifdef __xlc__
| | return 0;
| | #else
| | return 1;
| | #endif
| | ;
| | return 0;
| | }
| configure:14041: gcc -o conftest.exe -g -O2 conftest.c >&5
| configure:14041: $? = 0
| configure:14041: ./conftest.exe
| configure:14041: $? = 1
| configure: program exited with status 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "GnuCOBOL"
| | #define PACKAGE_TARNAME "gnucobol"
| | #define PACKAGE_VERSION "2.2"
| | #define PACKAGE_STRING "GnuCOBOL 2.2"
| | #define PACKAGE_BUGREPORT "address@hidden"
| | #define PACKAGE_URL "https://www.gnu.org/software/gnucobol/"
| | #define PACKAGE "gnucobol"
| | #define VERSION "2.2"
| | #define PATCH_LEVEL 0
| | #define MAX_CALL_FIELD_PARAMS 192
| | #define STDC_HEADERS 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SYS_STAT_H 1
| | #define HAVE_STDLIB_H 1
| | #define HAVE_STRING_H 1
| | #define HAVE_MEMORY_H 1
| | #define HAVE_STRINGS_H 1
| | #define HAVE_INTTYPES_H 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_UNISTD_H 1
| | #define __EXTENSIONS__ 1
| | #define _ALL_SOURCE 1
| | #define _GNU_SOURCE 1
| | #define _POSIX_PTHREAD_SEMANTICS 1
| | #define _TANDEM_SOURCE 1
| | #define HAVE_DLFCN_H 1
| | #define LT_OBJDIR ".libs/"
| | #define STDC_HEADERS 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SIGNAL_H 1
| | #define HAVE_FCNTL_H 1
| | #define HAVE_MALLOC_H 1
| | #define HAVE_LOCALE_H 1
| | #define HAVE_STDDEF_H 1
| | #define HAVE_WCHAR_H 1
| | #define HAVE_DLFCN_H 1
| | #define HAVE_SYS_TIME_H 1
| | #define HAVE_SIG_ATOMIC_T 1
| | #define COB_KEYWORD_INLINE __inline
| | #define HAVE_VPRINTF 1
| | #define HAVE_MEMMOVE 1
| | #define HAVE_MEMSET 1
| | #define HAVE_SETLOCALE 1
| | #define HAVE_STRERROR 1
| | #define HAVE_STRCASECMP 1
| | #define HAVE_STRCHR 1
| | #define HAVE_STRRCHR 1
| | #define HAVE_STRDUP 1
| | #define HAVE_STRSTR 1
| | #define HAVE_STRTOL 1
| | #define HAVE_GETTIMEOFDAY 1
| | #define HAVE_LOCALECONV 1
| | #define HAVE_STRCOLL 1
| | #define HAVE_STRXFRM 1
| | #define HAVE_SETENV 1
| | #define HAVE_RAISE 1
| | #define HAVE_TIMEZONE 1
| | #define HAVE_DESIGNATED_INITS 1
| | /* end confdefs.h. */
| |
| | int
| | main ()
| | {
| |
| | #ifdef __WATCOMC__
| | return 0;
| | #else
| | return 1;
| | #endif
| | ;
| | return 0;
| | }
| configure:14070: checking whether to build with code coverage support
| configure:14090: result: no
| configure:14618: checking vbisam.h usability
| configure:14618: gcc -c -g -O2 conftest.c >&5
| configure:14618: $? = 0
| configure:14618: result: yes
| configure:14618: checking vbisam.h presence
| configure:14618: gcc -E conftest.c
| configure:14618: $? = 0
| configure:14618: result: yes
| configure:14618: checking for vbisam.h
| configure:14618: result: yes
| configure:14630: checking for isopen in -lvbisam
| configure:14655: gcc -o conftest.exe -g -O2 conftest.c -lvbisam >&5
| configure:14655: $? = 0
| configure:14664: result: yes
| configure:14743: Checks for GMP ...
| configure:14747: checking gmp.h usability
| configure:14747: gcc -c -g -O2 conftest.c >&5
| configure:14747: $? = 0
| configure:14747: result: yes
| configure:14747: checking gmp.h presence
| configure:14747: gcc -E conftest.c
| configure:14747: $? = 0
| configure:14747: result: yes
| configure:14747: checking for gmp.h
| configure:14747: result: yes
| configure:14760: checking for __gmpz_init in -lgmp
| configure:14785: gcc -o conftest.exe -g -O2 conftest.c -lgmp >&5
| configure:14785: $? = 0
| configure:14794: result: yes
| configure:14825: gcc -o conftest.exe -g -O2 conftest.c >&5
| configure:14825: $? = 0
| configure:14825: ./conftest.exe
| configure:14825: $? = 0
| configure:14861: gcc -o conftest.exe -g -O2 conftest.c -lgmp >&5
| configure:14861: $? = 0
| configure:14861: ./conftest.exe
| configure:14861: $? = 0
| configure:14874: checking matching GMP version
| configure:14880: result: yes (6.1)
| configure:14892: checking for __gmp_get_memory_functions in -lgmp
| configure:14917: gcc -o conftest.exe -g -O2 conftest.c -lgmp >&5
| configure:14917: $? = 0
| configure:14926: result: yes
| configure:14936: checking for nanosleep
| configure:14949: gcc -o conftest.exe -g -O2 conftest.c >&5
| configure:14949: $? = 0
| configure:14951: result: yes
| configure:15066: checking for clock_gettime and CLOCK_REALTIME
| configure:15079: gcc -o conftest.exe -g -O2 conftest.c >&5
| conftest.c: In function 'main':
| conftest.c:72:1: warning: implicit declaration of function 'clock_gettime' [-Wimplicit-function-declaration]
| clock_gettime (CLOCK_REALTIME, NULL);
| ^~~~~~~~~~~~~
| conftest.c:72:16: error: 'CLOCK_REALTIME' undeclared (first use in this function)
| clock_gettime (CLOCK_REALTIME, NULL);
| ^~~~~~~~~~~~~~
| conftest.c:72:16: note: each undeclared identifier is reported only once for each function it appears in
| configure:15079: $? = 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "GnuCOBOL"
| | #define PACKAGE_TARNAME "gnucobol"
| | #define PACKAGE_VERSION "2.2"
| | #define PACKAGE_STRING "GnuCOBOL 2.2"
| | #define PACKAGE_BUGREPORT "address@hidden"
| | #define PACKAGE_URL "https://www.gnu.org/software/gnucobol/"
| | #define PACKAGE "gnucobol"
| | #define VERSION "2.2"
| | #define PATCH_LEVEL 0
| | #define MAX_CALL_FIELD_PARAMS 192
| | #define STDC_HEADERS 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SYS_STAT_H 1
| | #define HAVE_STDLIB_H 1
| | #define HAVE_STRING_H 1
| | #define HAVE_MEMORY_H 1
| | #define HAVE_STRINGS_H 1
| | #define HAVE_INTTYPES_H 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_UNISTD_H 1
| | #define __EXTENSIONS__ 1
| | #define _ALL_SOURCE 1
| | #define _GNU_SOURCE 1
| | #define _POSIX_PTHREAD_SEMANTICS 1
| | #define _TANDEM_SOURCE 1
| | #define HAVE_DLFCN_H 1
| | #define LT_OBJDIR ".libs/"
| | #define STDC_HEADERS 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SIGNAL_H 1
| | #define HAVE_FCNTL_H 1
| | #define HAVE_MALLOC_H 1
| | #define HAVE_LOCALE_H 1
| | #define HAVE_STDDEF_H 1
| | #define HAVE_WCHAR_H 1
| | #define HAVE_DLFCN_H 1
| | #define HAVE_SYS_TIME_H 1
| | #define HAVE_SIG_ATOMIC_T 1
| | #define COB_KEYWORD_INLINE __inline
| | #define HAVE_VPRINTF 1
| | #define HAVE_MEMMOVE 1
| | #define HAVE_MEMSET 1
| | #define HAVE_SETLOCALE 1
| | #define HAVE_STRERROR 1
| | #define HAVE_STRCASECMP 1
| | #define HAVE_STRCHR 1
| | #define HAVE_STRRCHR 1
| | #define HAVE_STRDUP 1
| | #define HAVE_STRSTR 1
| | #define HAVE_STRTOL 1
| | #define HAVE_GETTIMEOFDAY 1
| | #define HAVE_LOCALECONV 1
| | #define HAVE_STRCOLL 1
| | #define HAVE_STRXFRM 1
| | #define HAVE_SETENV 1
| | #define HAVE_RAISE 1
| | #define HAVE_TIMEZONE 1
| | #define HAVE_DESIGNATED_INITS 1
| | #define HAVE_VBISAM_H 1
| | #define WITH_VBISAM 1
| | #define WITH_VARSEQ 0
| | #define HAVE_GMP_H 1
| | #define HAVE_MP_GET_MEMORY_FUNCTIONS 1
| | #define HAVE_NANO_SLEEP 1
| | /* end confdefs.h. */
| | #include
| | int
| | main ()
| | {
| | clock_gettime (CLOCK_REALTIME, NULL);
| | ;
| | return 0;
| | }
| configure:15084: result: no
| configure:15090: checking for isfinite
| configure:15103: gcc -o conftest.exe -g -O2 conftest.c >&5
| configure:15103: $? = 0
| configure:15105: result: yes
| configure:15123: checking prototype for finite in
| configure:15132: result: yes
| configure:15163: checking for fdatasync
| configure:15163: gcc -o conftest.exe -g -O2 conftest.c >&5
| C:\Users\ramosa\AppData\Local\Temp\cc4Bb7aD.o: In function `main':
| C:\MinGW\msys\1.0\home\ramosa\gnucobol-2.2/conftest.c:103: undefined reference to `fdatasync'
| collect2.exe: error: ld returned 1 exit status
| configure:15163: $? = 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "GnuCOBOL"
| | #define PACKAGE_TARNAME "gnucobol"
| | #define PACKAGE_VERSION "2.2"
| | #define PACKAGE_STRING "GnuCOBOL 2.2"
| | #define PACKAGE_BUGREPORT "address@hidden"
| | #define PACKAGE_URL "https://www.gnu.org/software/gnucobol/"
| | #define PACKAGE "gnucobol"
| | #define VERSION "2.2"
| | #define PATCH_LEVEL 0
| | #define MAX_CALL_FIELD_PARAMS 192
| | #define STDC_HEADERS 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SYS_STAT_H 1
| | #define HAVE_STDLIB_H 1
| | #define HAVE_STRING_H 1
| | #define HAVE_MEMORY_H 1
| | #define HAVE_STRINGS_H 1
| | #define HAVE_INTTYPES_H 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_UNISTD_H 1
| | #define __EXTENSIONS__ 1
| | #define _ALL_SOURCE 1
| | #define _GNU_SOURCE 1
| | #define _POSIX_PTHREAD_SEMANTICS 1
| | #define _TANDEM_SOURCE 1
| | #define HAVE_DLFCN_H 1
| | #define LT_OBJDIR ".libs/"
| | #define STDC_HEADERS 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SIGNAL_H 1
| | #define HAVE_FCNTL_H 1
| | #define HAVE_MALLOC_H 1
| | #define HAVE_LOCALE_H 1
| | #define HAVE_STDDEF_H 1
| | #define HAVE_WCHAR_H 1
| | #define HAVE_DLFCN_H 1
| | #define HAVE_SYS_TIME_H 1
| | #define HAVE_SIG_ATOMIC_T 1
| | #define COB_KEYWORD_INLINE __inline
| | #define HAVE_VPRINTF 1
| | #define HAVE_MEMMOVE 1
| | #define HAVE_MEMSET 1
| | #define HAVE_SETLOCALE 1
| | #define HAVE_STRERROR 1
| | #define HAVE_STRCASECMP 1
| | #define HAVE_STRCHR 1
| | #define HAVE_STRRCHR 1
| | #define HAVE_STRDUP 1
| | #define HAVE_STRSTR 1
| | #define HAVE_STRTOL 1
| | #define HAVE_GETTIMEOFDAY 1
| | #define HAVE_LOCALECONV 1
| | #define HAVE_STRCOLL 1
| | #define HAVE_STRXFRM 1
| | #define HAVE_SETENV 1
| | #define HAVE_RAISE 1
| | #define HAVE_TIMEZONE 1
| | #define HAVE_DESIGNATED_INITS 1
| | #define HAVE_VBISAM_H 1
| | #define WITH_VBISAM 1
| | #define WITH_VARSEQ 0
| | #define HAVE_GMP_H 1
| | #define HAVE_MP_GET_MEMORY_FUNCTIONS 1
| | #define HAVE_NANO_SLEEP 1
| | #define HAVE_ISFINITE 1
| | /* end confdefs.h. */
| | /* Define fdatasync to an innocuous variant, in case declares fdatasync.
| | For example, HP-UX 11i declares gettimeofday. */
| | #define fdatasync innocuous_fdatasync
| |
| | /* System header to define __stub macros and hopefully few prototypes,
| | which can conflict with char fdatasync (); below.
| | Prefer to if __STDC__ is defined, since
| | exists even on freestanding compilers. */
| |
| | #ifdef __STDC__
| | # include
| | #else
| | # include
| | #endif
| |
| | #undef fdatasync
| |
| | /* Override any GCC internal prototype to avoid an error.
| | Use char because int might match the return type of a GCC
| | builtin and then its argument prototype would still apply. */
| | #ifdef __cplusplus
| | extern "C"
| | #endif
| | char fdatasync ();
| | /* The GNU C library defines this for functions which it implements
| | to always fail with ENOSYS. Some functions are actually named
| | something starting with __ and the normal name is an alias. */
| | #if defined __stub_fdatasync || defined __stub___fdatasync
| | choke me
| | #endif
| |
| | int
| | main ()
| | {
| | return fdatasync ();
| | ;
| | return 0;
| | }
| configure:15163: result: no
| configure:15163: checking for sigaction
| configure:15163: gcc -o conftest.exe -g -O2 conftest.c >&5
| C:\Users\ramosa\AppData\Local\Temp\ccIdxNwn.o: In function `main':
| C:\MinGW\msys\1.0\home\ramosa\gnucobol-2.2/conftest.c:103: undefined reference to `sigaction'
| collect2.exe: error: ld returned 1 exit status
| configure:15163: $? = 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "GnuCOBOL"
| | #define PACKAGE_TARNAME "gnucobol"
| | #define PACKAGE_VERSION "2.2"
| | #define PACKAGE_STRING "GnuCOBOL 2.2"
| | #define PACKAGE_BUGREPORT "address@hidden"
| | #define PACKAGE_URL "https://www.gnu.org/software/gnucobol/"
| | #define PACKAGE "gnucobol"
| | #define VERSION "2.2"
| | #define PATCH_LEVEL 0
| | #define MAX_CALL_FIELD_PARAMS 192
| | #define STDC_HEADERS 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SYS_STAT_H 1
| | #define HAVE_STDLIB_H 1
| | #define HAVE_STRING_H 1
| | #define HAVE_MEMORY_H 1
| | #define HAVE_STRINGS_H 1
| | #define HAVE_INTTYPES_H 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_UNISTD_H 1
| | #define __EXTENSIONS__ 1
| | #define _ALL_SOURCE 1
| | #define _GNU_SOURCE 1
| | #define _POSIX_PTHREAD_SEMANTICS 1
| | #define _TANDEM_SOURCE 1
| | #define HAVE_DLFCN_H 1
| | #define LT_OBJDIR ".libs/"
| | #define STDC_HEADERS 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SIGNAL_H 1
| | #define HAVE_FCNTL_H 1
| | #define HAVE_MALLOC_H 1
| | #define HAVE_LOCALE_H 1
| | #define HAVE_STDDEF_H 1
| | #define HAVE_WCHAR_H 1
| | #define HAVE_DLFCN_H 1
| | #define HAVE_SYS_TIME_H 1
| | #define HAVE_SIG_ATOMIC_T 1
| | #define COB_KEYWORD_INLINE __inline
| | #define HAVE_VPRINTF 1
| | #define HAVE_MEMMOVE 1
| | #define HAVE_MEMSET 1
| | #define HAVE_SETLOCALE 1
| | #define HAVE_STRERROR 1
| | #define HAVE_STRCASECMP 1
| | #define HAVE_STRCHR 1
| | #define HAVE_STRRCHR 1
| | #define HAVE_STRDUP 1
| | #define HAVE_STRSTR 1
| | #define HAVE_STRTOL 1
| | #define HAVE_GETTIMEOFDAY 1
| | #define HAVE_LOCALECONV 1
| | #define HAVE_STRCOLL 1
| | #define HAVE_STRXFRM 1
| | #define HAVE_SETENV 1
| | #define HAVE_RAISE 1
| | #define HAVE_TIMEZONE 1
| | #define HAVE_DESIGNATED_INITS 1
| | #define HAVE_VBISAM_H 1
| | #define WITH_VBISAM 1
| | #define WITH_VARSEQ 0
| | #define HAVE_GMP_H 1
| | #define HAVE_MP_GET_MEMORY_FUNCTIONS 1
| | #define HAVE_NANO_SLEEP 1
| | #define HAVE_ISFINITE 1
| | /* end confdefs.h. */
| | /* Define sigaction to an innocuous variant, in case declares sigaction.
| | For example, HP-UX 11i declares gettimeofday. */
| | #define sigaction innocuous_sigaction
| |
| | /* System header to define __stub macros and hopefully few prototypes,
| | which can conflict with char sigaction (); below.
| | Prefer to if __STDC__ is defined, since
| | exists even on freestanding compilers. */
| |
| | #ifdef __STDC__
| | # include
| | #else
| | # include
| | #endif
| |
| | #undef sigaction
| |
| | /* Override any GCC internal prototype to avoid an error.
| | Use char because int might match the return type of a GCC
| | builtin and then its argument prototype would still apply. */
| | #ifdef __cplusplus
| | extern "C"
| | #endif
| | char sigaction ();
| | /* The GNU C library defines this for functions which it implements
| | to always fail with ENOSYS. Some functions are actually named
| | something starting with __ and the normal name is an alias. */
| | #if defined __stub_sigaction || defined __stub___sigaction
| | choke me
| | #endif
| |
| | int
| | main ()
| | {
| | return sigaction ();
| | ;
| | return 0;
| | }
| configure:15163: result: no
| configure:15197: checking whether NLS is requested
| configure:15206: result: yes
| configure:15246: checking for msgfmt
| configure: trying /mingw/bin/msgfmt...
| 0 translated messages.
| configure:15278: result: /mingw/bin/msgfmt
| configure:15287: checking for gmsgfmt
| configure:15318: result: /mingw/bin/msgfmt
| configure:15368: checking for xgettext
| configure: trying /mingw/bin/xgettext...
| C:\MinGW\bin\xgettext.exe: warning: file 'nul' extension '' is unknown; will try C
| configure:15400: result: /mingw/bin/xgettext
| configure:15445: checking for msgmerge
| configure: trying /mingw/bin/msgmerge...
| configure:15476: result: /mingw/bin/msgmerge
| configure:16062: checking for CFPreferencesCopyAppValue
| configure:16089: result: no
| configure:16096: checking for CFLocaleCopyCurrent
| configure:16123: result: no
| configure:16172: checking for GNU gettext in libc
| configure:16201: gcc -o conftest.exe -g -O2 conftest.c >&5
| C:\Users\ramosa\AppData\Local\Temp\ccezcnoL.o: In function `main':
| C:\MinGW\msys\1.0\home\ramosa\gnucobol-2.2/conftest.c:84: undefined reference to `libintl_bindtextdomain'
| C:\MinGW\msys\1.0\home\ramosa\gnucobol-2.2/conftest.c:85: undefined reference to `libintl_gettext'
| collect2.exe: error: ld returned 1 exit status
| configure:16201: $? = 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "GnuCOBOL"
| | #define PACKAGE_TARNAME "gnucobol"
| | #define PACKAGE_VERSION "2.2"
| | #define PACKAGE_STRING "GnuCOBOL 2.2"
| | #define PACKAGE_BUGREPORT "address@hidden"
| | #define PACKAGE_URL "https://www.gnu.org/software/gnucobol/"
| | #define PACKAGE "gnucobol"
| | #define VERSION "2.2"
| | #define PATCH_LEVEL 0
| | #define MAX_CALL_FIELD_PARAMS 192
| | #define STDC_HEADERS 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SYS_STAT_H 1
| | #define HAVE_STDLIB_H 1
| | #define HAVE_STRING_H 1
| | #define HAVE_MEMORY_H 1
| | #define HAVE_STRINGS_H 1
| | #define HAVE_INTTYPES_H 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_UNISTD_H 1
| | #define __EXTENSIONS__ 1
| | #define _ALL_SOURCE 1
| | #define _GNU_SOURCE 1
| | #define _POSIX_PTHREAD_SEMANTICS 1
| | #define _TANDEM_SOURCE 1
| | #define HAVE_DLFCN_H 1
| | #define LT_OBJDIR ".libs/"
| | #define STDC_HEADERS 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SIGNAL_H 1
| | #define HAVE_FCNTL_H 1
| | #define HAVE_MALLOC_H 1
| | #define HAVE_LOCALE_H 1
| | #define HAVE_STDDEF_H 1
| | #define HAVE_WCHAR_H 1
| | #define HAVE_DLFCN_H 1
| | #define HAVE_SYS_TIME_H 1
| | #define HAVE_SIG_ATOMIC_T 1
| | #define COB_KEYWORD_INLINE __inline
| | #define HAVE_VPRINTF 1
| | #define HAVE_MEMMOVE 1
| | #define HAVE_MEMSET 1
| | #define HAVE_SETLOCALE 1
| | #define HAVE_STRERROR 1
| | #define HAVE_STRCASECMP 1
| | #define HAVE_STRCHR 1
| | #define HAVE_STRRCHR 1
| | #define HAVE_STRDUP 1
| | #define HAVE_STRSTR 1
| | #define HAVE_STRTOL 1
| | #define HAVE_GETTIMEOFDAY 1
| | #define HAVE_LOCALECONV 1
| | #define HAVE_STRCOLL 1
| | #define HAVE_STRXFRM 1
| | #define HAVE_SETENV 1
| | #define HAVE_RAISE 1
| | #define HAVE_TIMEZONE 1
| | #define HAVE_DESIGNATED_INITS 1
| | #define HAVE_VBISAM_H 1
| | #define WITH_VBISAM 1
| | #define WITH_VARSEQ 0
| | #define HAVE_GMP_H 1
| | #define HAVE_MP_GET_MEMORY_FUNCTIONS 1
| | #define HAVE_NANO_SLEEP 1
| | #define HAVE_ISFINITE 1
| | /* end confdefs.h. */
| |
| | #include
| | #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
| | extern int _nl_msg_cat_cntr;
| | extern int *_nl_domain_bindings;
| | #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings)
| | #else
| | #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
| | #endif
| |
| |
| | int
| | main ()
| | {
| |
| | bindtextdomain ("", "");
| | return * gettext ("") + __GNU_GETTEXT_SYMBOL_EXPRESSION
| |
| | ;
| | return 0;
| | }
| configure:16210: result: no
| configure:16244: checking for iconv
| configure:16268: gcc -o conftest.exe -g -O2 -I/mingw/include conftest.c >&5
| C:\Users\ramosa\AppData\Local\Temp\ccQPn4Mq.o: In function `main':
| C:\MinGW\msys\1.0\home\ramosa\gnucobol-2.2/conftest.c:76: undefined reference to `libiconv_open'
| C:\MinGW\msys\1.0\home\ramosa\gnucobol-2.2/conftest.c:77: undefined reference to `libiconv'
| C:\MinGW\msys\1.0\home\ramosa\gnucobol-2.2/conftest.c:78: undefined reference to `libiconv_close'
| collect2.exe: error: ld returned 1 exit status
| configure:16268: $? = 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "GnuCOBOL"
| | #define PACKAGE_TARNAME "gnucobol"
| | #define PACKAGE_VERSION "2.2"
| | #define PACKAGE_STRING "GnuCOBOL 2.2"
| | #define PACKAGE_BUGREPORT "address@hidden"
| | #define PACKAGE_URL "https://www.gnu.org/software/gnucobol/"
| | #define PACKAGE "gnucobol"
| | #define VERSION "2.2"
| | #define PATCH_LEVEL 0
| | #define MAX_CALL_FIELD_PARAMS 192
| | #define STDC_HEADERS 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SYS_STAT_H 1
| | #define HAVE_STDLIB_H 1
| | #define HAVE_STRING_H 1
| | #define HAVE_MEMORY_H 1
| | #define HAVE_STRINGS_H 1
| | #define HAVE_INTTYPES_H 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_UNISTD_H 1
| | #define __EXTENSIONS__ 1
| | #define _ALL_SOURCE 1
| | #define _GNU_SOURCE 1
| | #define _POSIX_PTHREAD_SEMANTICS 1
| | #define _TANDEM_SOURCE 1
| | #define HAVE_DLFCN_H 1
| | #define LT_OBJDIR ".libs/"
| | #define STDC_HEADERS 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SIGNAL_H 1
| | #define HAVE_FCNTL_H 1
| | #define HAVE_MALLOC_H 1
| | #define HAVE_LOCALE_H 1
| | #define HAVE_STDDEF_H 1
| | #define HAVE_WCHAR_H 1
| | #define HAVE_DLFCN_H 1
| | #define HAVE_SYS_TIME_H 1
| | #define HAVE_SIG_ATOMIC_T 1
| | #define COB_KEYWORD_INLINE __inline
| | #define HAVE_VPRINTF 1
| | #define HAVE_MEMMOVE 1
| | #define HAVE_MEMSET 1
| | #define HAVE_SETLOCALE 1
| | #define HAVE_STRERROR 1
| | #define HAVE_STRCASECMP 1
| | #define HAVE_STRCHR 1
| | #define HAVE_STRRCHR 1
| | #define HAVE_STRDUP 1
| | #define HAVE_STRSTR 1
| | #define HAVE_STRTOL 1
| | #define HAVE_GETTIMEOFDAY 1
| | #define HAVE_LOCALECONV 1
| | #define HAVE_STRCOLL 1
| | #define HAVE_STRXFRM 1
| | #define HAVE_SETENV 1
| | #define HAVE_RAISE 1
| | #define HAVE_TIMEZONE 1
| | #define HAVE_DESIGNATED_INITS 1
| | #define HAVE_VBISAM_H 1
| | #define WITH_VBISAM 1
| | #define WITH_VARSEQ 0
| | #define HAVE_GMP_H 1
| | #define HAVE_MP_GET_MEMORY_FUNCTIONS 1
| | #define HAVE_NANO_SLEEP 1
| | #define HAVE_ISFINITE 1
| | /* end confdefs.h. */
| |
| | #include
| | #include
| |
| | int
| | main ()
| | {
| | iconv_t cd = iconv_open("","");
| | iconv(cd,NULL,NULL,NULL,NULL);
| | iconv_close(cd);
| | ;
| | return 0;
| | }
| configure:16292: gcc -o conftest.exe -g -O2 -I/mingw/include conftest.c /mingw/lib/libiconv.dll.a >&5
| configure:16292: $? = 0
| configure:16302: result: yes
| configure:16305: checking for working iconv
| configure:16434: gcc -o conftest.exe -g -O2 -I/mingw/include conftest.c /mingw/lib/libiconv.dll.a >&5
| configure:16434: $? = 0
| configure:16434: ./conftest.exe
| configure:16434: $? = 0
| configure:16446: result: yes
| configure:16461: checking how to link with libiconv
| configure:16463: result: /mingw/lib/libiconv.dll.a
| configure:16935: checking for GNU gettext in libintl
| configure:16972: gcc -o conftest.exe -g -O2 -I/mingw/include conftest.c /mingw/lib/libintl.dll.a >&5
| configure:16972: $? = 0
| configure:17022: result: yes
| configure:17057: checking whether to use NLS
| configure:17059: result: yes
| configure:17062: checking where the gettext function comes from
| configure:17073: result: external libintl
| configure:17081: checking how to link with libintl
| configure:17083: result: /mingw/lib/libintl.dll.a
| configure:17139: checking for nl_langinfo and CODESET
| configure:17155: gcc -o conftest.exe -g -O2 -I/mingw/include conftest.c >&5
| conftest.c:73:22: fatal error: langinfo.h: No such file or directory
| #include
| ^
| compilation terminated.
| configure:17155: $? = 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "GnuCOBOL"
| | #define PACKAGE_TARNAME "gnucobol"
| | #define PACKAGE_VERSION "2.2"
| | #define PACKAGE_STRING "GnuCOBOL 2.2"
| | #define PACKAGE_BUGREPORT "address@hidden"
| | #define PACKAGE_URL "https://www.gnu.org/software/gnucobol/"
| | #define PACKAGE "gnucobol"
| | #define VERSION "2.2"
| | #define PATCH_LEVEL 0
| | #define MAX_CALL_FIELD_PARAMS 192
| | #define STDC_HEADERS 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SYS_STAT_H 1
| | #define HAVE_STDLIB_H 1
| | #define HAVE_STRING_H 1
| | #define HAVE_MEMORY_H 1
| | #define HAVE_STRINGS_H 1
| | #define HAVE_INTTYPES_H 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_UNISTD_H 1
| | #define __EXTENSIONS__ 1
| | #define _ALL_SOURCE 1
| | #define _GNU_SOURCE 1
| | #define _POSIX_PTHREAD_SEMANTICS 1
| | #define _TANDEM_SOURCE 1
| | #define HAVE_DLFCN_H 1
| | #define LT_OBJDIR ".libs/"
| | #define STDC_HEADERS 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SIGNAL_H 1
| | #define HAVE_FCNTL_H 1
| | #define HAVE_MALLOC_H 1
| | #define HAVE_LOCALE_H 1
| | #define HAVE_STDDEF_H 1
| | #define HAVE_WCHAR_H 1
| | #define HAVE_DLFCN_H 1
| | #define HAVE_SYS_TIME_H 1
| | #define HAVE_SIG_ATOMIC_T 1
| | #define COB_KEYWORD_INLINE __inline
| | #define HAVE_VPRINTF 1
| | #define HAVE_MEMMOVE 1
| | #define HAVE_MEMSET 1
| | #define HAVE_SETLOCALE 1
| | #define HAVE_STRERROR 1
| | #define HAVE_STRCASECMP 1
| | #define HAVE_STRCHR 1
| | #define HAVE_STRRCHR 1
| | #define HAVE_STRDUP 1
| | #define HAVE_STRSTR 1
| | #define HAVE_STRTOL 1
| | #define HAVE_GETTIMEOFDAY 1
| | #define HAVE_LOCALECONV 1
| | #define HAVE_STRCOLL 1
| | #define HAVE_STRXFRM 1
| | #define HAVE_SETENV 1
| | #define HAVE_RAISE 1
| | #define HAVE_TIMEZONE 1
| | #define HAVE_DESIGNATED_INITS 1
| | #define HAVE_VBISAM_H 1
| | #define WITH_VBISAM 1
| | #define WITH_VARSEQ 0
| | #define HAVE_GMP_H 1
| | #define HAVE_MP_GET_MEMORY_FUNCTIONS 1
| | #define HAVE_NANO_SLEEP 1
| | #define HAVE_ISFINITE 1
| | #define HAVE_ICONV 1
| | #define ENABLE_NLS 1
| | #define HAVE_GETTEXT 1
| | #define HAVE_DCGETTEXT 1
| | /* end confdefs.h. */
| | #include
| | int
| | main ()
| | {
| | char* cs = nl_langinfo(CODESET); return !cs;
| | ;
| | return 0;
| | }
| configure:17164: result: no
| configure:17174: Checks for curses ...
| configure:17178: checking for initscr in -lncursesw
| configure:17203: gcc -o conftest.exe -g -O2 -I/mingw/include conftest.c -lncursesw >&5
| c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../../mingw32/bin/ld.exe: cannot find -lncursesw
| collect2.exe: error: ld returned 1 exit status
| configure:17203: $? = 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "GnuCOBOL"
| | #define PACKAGE_TARNAME "gnucobol"
| | #define PACKAGE_VERSION "2.2"
| | #define PACKAGE_STRING "GnuCOBOL 2.2"
| | #define PACKAGE_BUGREPORT "address@hidden"
| | #define PACKAGE_URL "https://www.gnu.org/software/gnucobol/"
| | #define PACKAGE "gnucobol"
| | #define VERSION "2.2"
| | #define PATCH_LEVEL 0
| | #define MAX_CALL_FIELD_PARAMS 192
| | #define STDC_HEADERS 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SYS_STAT_H 1
| | #define HAVE_STDLIB_H 1
| | #define HAVE_STRING_H 1
| | #define HAVE_MEMORY_H 1
| | #define HAVE_STRINGS_H 1
| | #define HAVE_INTTYPES_H 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_UNISTD_H 1
| | #define __EXTENSIONS__ 1
| | #define _ALL_SOURCE 1
| | #define _GNU_SOURCE 1
| | #define _POSIX_PTHREAD_SEMANTICS 1
| | #define _TANDEM_SOURCE 1
| | #define HAVE_DLFCN_H 1
| | #define LT_OBJDIR ".libs/"
| | #define STDC_HEADERS 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SIGNAL_H 1
| | #define HAVE_FCNTL_H 1
| | #define HAVE_MALLOC_H 1
| | #define HAVE_LOCALE_H 1
| | #define HAVE_STDDEF_H 1
| | #define HAVE_WCHAR_H 1
| | #define HAVE_DLFCN_H 1
| | #define HAVE_SYS_TIME_H 1
| | #define HAVE_SIG_ATOMIC_T 1
| | #define COB_KEYWORD_INLINE __inline
| | #define HAVE_VPRINTF 1
| | #define HAVE_MEMMOVE 1
| | #define HAVE_MEMSET 1
| | #define HAVE_SETLOCALE 1
| | #define HAVE_STRERROR 1
| | #define HAVE_STRCASECMP 1
| | #define HAVE_STRCHR 1
| | #define HAVE_STRRCHR 1
| | #define HAVE_STRDUP 1
| | #define HAVE_STRSTR 1
| | #define HAVE_STRTOL 1
| | #define HAVE_GETTIMEOFDAY 1
| | #define HAVE_LOCALECONV 1
| | #define HAVE_STRCOLL 1
| | #define HAVE_STRXFRM 1
| | #define HAVE_SETENV 1
| | #define HAVE_RAISE 1
| | #define HAVE_TIMEZONE 1
| | #define HAVE_DESIGNATED_INITS 1
| | #define HAVE_VBISAM_H 1
| | #define WITH_VBISAM 1
| | #define WITH_VARSEQ 0
| | #define HAVE_GMP_H 1
| | #define HAVE_MP_GET_MEMORY_FUNCTIONS 1
| | #define HAVE_NANO_SLEEP 1
| | #define HAVE_ISFINITE 1
| | #define HAVE_ICONV 1
| | #define ENABLE_NLS 1
| | #define HAVE_GETTEXT 1
| | #define HAVE_DCGETTEXT 1
| | /* end confdefs.h. */
| |
| | /* Override any GCC internal prototype to avoid an error.
| | Use char because int might match the return type of a GCC
| | builtin and then its argument prototype would still apply. */
| | #ifdef __cplusplus
| | extern "C"
| | #endif
| | char initscr ();
| | int
| | main ()
| | {
| | return initscr ();
| | ;
| | return 0;
| | }
| configure:17212: result: no
| configure:17264: checking for initscr in -lncurses
| configure:17289: gcc -o conftest.exe -g -O2 -I/mingw/include conftest.c -lncurses >&5
| c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../../mingw32/bin/ld.exe: cannot find -lncurses
| collect2.exe: error: ld returned 1 exit status
| configure:17289: $? = 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "GnuCOBOL"
| | #define PACKAGE_TARNAME "gnucobol"
| | #define PACKAGE_VERSION "2.2"
| | #define PACKAGE_STRING "GnuCOBOL 2.2"
| | #define PACKAGE_BUGREPORT "address@hidden"
| | #define PACKAGE_URL "https://www.gnu.org/software/gnucobol/"
| | #define PACKAGE "gnucobol"
| | #define VERSION "2.2"
| | #define PATCH_LEVEL 0
| | #define MAX_CALL_FIELD_PARAMS 192
| | #define STDC_HEADERS 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SYS_STAT_H 1
| | #define HAVE_STDLIB_H 1
| | #define HAVE_STRING_H 1
| | #define HAVE_MEMORY_H 1
| | #define HAVE_STRINGS_H 1
| | #define HAVE_INTTYPES_H 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_UNISTD_H 1
| | #define __EXTENSIONS__ 1
| | #define _ALL_SOURCE 1
| | #define _GNU_SOURCE 1
| | #define _POSIX_PTHREAD_SEMANTICS 1
| | #define _TANDEM_SOURCE 1
| | #define HAVE_DLFCN_H 1
| | #define LT_OBJDIR ".libs/"
| | #define STDC_HEADERS 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SIGNAL_H 1
| | #define HAVE_FCNTL_H 1
| | #define HAVE_MALLOC_H 1
| | #define HAVE_LOCALE_H 1
| | #define HAVE_STDDEF_H 1
| | #define HAVE_WCHAR_H 1
| | #define HAVE_DLFCN_H 1
| | #define HAVE_SYS_TIME_H 1
| | #define HAVE_SIG_ATOMIC_T 1
| | #define COB_KEYWORD_INLINE __inline
| | #define HAVE_VPRINTF 1
| | #define HAVE_MEMMOVE 1
| | #define HAVE_MEMSET 1
| | #define HAVE_SETLOCALE 1
| | #define HAVE_STRERROR 1
| | #define HAVE_STRCASECMP 1
| | #define HAVE_STRCHR 1
| | #define HAVE_STRRCHR 1
| | #define HAVE_STRDUP 1
| | #define HAVE_STRSTR 1
| | #define HAVE_STRTOL 1
| | #define HAVE_GETTIMEOFDAY 1
| | #define HAVE_LOCALECONV 1
| | #define HAVE_STRCOLL 1
| | #define HAVE_STRXFRM 1
| | #define HAVE_SETENV 1
| | #define HAVE_RAISE 1
| | #define HAVE_TIMEZONE 1
| | #define HAVE_DESIGNATED_INITS 1
| | #define HAVE_VBISAM_H 1
| | #define WITH_VBISAM 1
| | #define WITH_VARSEQ 0
| | #define HAVE_GMP_H 1
| | #define HAVE_MP_GET_MEMORY_FUNCTIONS 1
| | #define HAVE_NANO_SLEEP 1
| | #define HAVE_ISFINITE 1
| | #define HAVE_ICONV 1
| | #define ENABLE_NLS 1
| | #define HAVE_GETTEXT 1
| | #define HAVE_DCGETTEXT 1
| | /* end confdefs.h. */
| |
| | /* Override any GCC internal prototype to avoid an error.
| | Use char because int might match the return type of a GCC
| | builtin and then its argument prototype would still apply. */
| | #ifdef __cplusplus
| | extern "C"
| | #endif
| | char initscr ();
| | int
| | main ()
| | {
| | return initscr ();
| | ;
| | return 0;
| | }
| configure:17298: result: no
| configure:17364: checking for initscr in -lpdcurses
| configure:17389: gcc -o conftest.exe -g -O2 -I/mingw/include conftest.c -lpdcurses >&5
| configure:17389: $? = 0
| configure:17398: result: yes
| configure:17412: checking pdcurses.h usability
| configure:17412: gcc -c -g -O2 -I/mingw/include conftest.c >&5
| conftest.c:107:22: fatal error: pdcurses.h: No such file or directory
| #include
| ^
| compilation terminated.
| configure:17412: $? = 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "GnuCOBOL"
| | #define PACKAGE_TARNAME "gnucobol"
| | #define PACKAGE_VERSION "2.2"
| | #define PACKAGE_STRING "GnuCOBOL 2.2"
| | #define PACKAGE_BUGREPORT "address@hidden"
| | #define PACKAGE_URL "https://www.gnu.org/software/gnucobol/"
| | #define PACKAGE "gnucobol"
| | #define VERSION "2.2"
| | #define PATCH_LEVEL 0
| | #define MAX_CALL_FIELD_PARAMS 192
| | #define STDC_HEADERS 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SYS_STAT_H 1
| | #define HAVE_STDLIB_H 1
| | #define HAVE_STRING_H 1
| | #define HAVE_MEMORY_H 1
| | #define HAVE_STRINGS_H 1
| | #define HAVE_INTTYPES_H 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_UNISTD_H 1
| | #define __EXTENSIONS__ 1
| | #define _ALL_SOURCE 1
| | #define _GNU_SOURCE 1
| | #define _POSIX_PTHREAD_SEMANTICS 1
| | #define _TANDEM_SOURCE 1
| | #define HAVE_DLFCN_H 1
| | #define LT_OBJDIR ".libs/"
| | #define STDC_HEADERS 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SIGNAL_H 1
| | #define HAVE_FCNTL_H 1
| | #define HAVE_MALLOC_H 1
| | #define HAVE_LOCALE_H 1
| | #define HAVE_STDDEF_H 1
| | #define HAVE_WCHAR_H 1
| | #define HAVE_DLFCN_H 1
| | #define HAVE_SYS_TIME_H 1
| | #define HAVE_SIG_ATOMIC_T 1
| | #define COB_KEYWORD_INLINE __inline
| | #define HAVE_VPRINTF 1
| | #define HAVE_MEMMOVE 1
| | #define HAVE_MEMSET 1
| | #define HAVE_SETLOCALE 1
| | #define HAVE_STRERROR 1
| | #define HAVE_STRCASECMP 1
| | #define HAVE_STRCHR 1
| | #define HAVE_STRRCHR 1
| | #define HAVE_STRDUP 1
| | #define HAVE_STRSTR 1
| | #define HAVE_STRTOL 1
| | #define HAVE_GETTIMEOFDAY 1
| | #define HAVE_LOCALECONV 1
| | #define HAVE_STRCOLL 1
| | #define HAVE_STRXFRM 1
| | #define HAVE_SETENV 1
| | #define HAVE_RAISE 1
| | #define HAVE_TIMEZONE 1
| | #define HAVE_DESIGNATED_INITS 1
| | #define HAVE_VBISAM_H 1
| | #define WITH_VBISAM 1
| | #define WITH_VARSEQ 0
| | #define HAVE_GMP_H 1
| | #define HAVE_MP_GET_MEMORY_FUNCTIONS 1
| | #define HAVE_NANO_SLEEP 1
| | #define HAVE_ISFINITE 1
| | #define HAVE_ICONV 1
| | #define ENABLE_NLS 1
| | #define HAVE_GETTEXT 1
| | #define HAVE_DCGETTEXT 1
| | #define HAVE_LIBPDCURSES 1
| | /* end confdefs.h. */
| | #include
| | #ifdef HAVE_SYS_TYPES_H
| | # include
| | #endif
| | #ifdef HAVE_SYS_STAT_H
| | # include
| | #endif
| | #ifdef STDC_HEADERS
| | # include
| | # include
| | #else
| | # ifdef HAVE_STDLIB_H
| | # include
| | # endif
| | #endif
| | #ifdef HAVE_STRING_H
| | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| | # include
| | # endif
| | # include
| | #endif
| | #ifdef HAVE_STRINGS_H
| | # include
| | #endif
| | #ifdef HAVE_INTTYPES_H
| | # include
| | #endif
| | #ifdef HAVE_STDINT_H
| | # include
| | #endif
| | #ifdef HAVE_UNISTD_H
| | # include
| | #endif
| | #include
| configure:17412: result: no
| configure:17412: checking pdcurses.h presence
| configure:17412: gcc -E -I/mingw/include conftest.c
| conftest.c:74:22: fatal error: pdcurses.h: No such file or directory
| #include
| ^
| compilation terminated.
| configure:17412: $? = 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "GnuCOBOL"
| | #define PACKAGE_TARNAME "gnucobol"
| | #define PACKAGE_VERSION "2.2"
| | #define PACKAGE_STRING "GnuCOBOL 2.2"
| | #define PACKAGE_BUGREPORT "address@hidden"
| | #define PACKAGE_URL "https://www.gnu.org/software/gnucobol/"
| | #define PACKAGE "gnucobol"
| | #define VERSION "2.2"
| | #define PATCH_LEVEL 0
| | #define MAX_CALL_FIELD_PARAMS 192
| | #define STDC_HEADERS 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SYS_STAT_H 1
| | #define HAVE_STDLIB_H 1
| | #define HAVE_STRING_H 1
| | #define HAVE_MEMORY_H 1
| | #define HAVE_STRINGS_H 1
| | #define HAVE_INTTYPES_H 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_UNISTD_H 1
| | #define __EXTENSIONS__ 1
| | #define _ALL_SOURCE 1
| | #define _GNU_SOURCE 1
| | #define _POSIX_PTHREAD_SEMANTICS 1
| | #define _TANDEM_SOURCE 1
| | #define HAVE_DLFCN_H 1
| | #define LT_OBJDIR ".libs/"
| | #define STDC_HEADERS 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SIGNAL_H 1
| | #define HAVE_FCNTL_H 1
| | #define HAVE_MALLOC_H 1
| | #define HAVE_LOCALE_H 1
| | #define HAVE_STDDEF_H 1
| | #define HAVE_WCHAR_H 1
| | #define HAVE_DLFCN_H 1
| | #define HAVE_SYS_TIME_H 1
| | #define HAVE_SIG_ATOMIC_T 1
| | #define COB_KEYWORD_INLINE __inline
| | #define HAVE_VPRINTF 1
| | #define HAVE_MEMMOVE 1
| | #define HAVE_MEMSET 1
| | #define HAVE_SETLOCALE 1
| | #define HAVE_STRERROR 1
| | #define HAVE_STRCASECMP 1
| | #define HAVE_STRCHR 1
| | #define HAVE_STRRCHR 1
| | #define HAVE_STRDUP 1
| | #define HAVE_STRSTR 1
| | #define HAVE_STRTOL 1
| | #define HAVE_GETTIMEOFDAY 1
| | #define HAVE_LOCALECONV 1
| | #define HAVE_STRCOLL 1
| | #define HAVE_STRXFRM 1
| | #define HAVE_SETENV 1
| | #define HAVE_RAISE 1
| | #define HAVE_TIMEZONE 1
| | #define HAVE_DESIGNATED_INITS 1
| | #define HAVE_VBISAM_H 1
| | #define WITH_VBISAM 1
| | #define WITH_VARSEQ 0
| | #define HAVE_GMP_H 1
| | #define HAVE_MP_GET_MEMORY_FUNCTIONS 1
| | #define HAVE_NANO_SLEEP 1
| | #define HAVE_ISFINITE 1
| | #define HAVE_ICONV 1
| | #define ENABLE_NLS 1
| | #define HAVE_GETTEXT 1
| | #define HAVE_DCGETTEXT 1
| | #define HAVE_LIBPDCURSES 1
| | /* end confdefs.h. */
| | #include
| configure:17412: result: no
| configure:17412: checking for pdcurses.h
| configure:17412: result: no
| configure:17421: checking curses.h usability
| configure:17421: gcc -c -g -O2 -I/mingw/include conftest.c >&5
| configure:17421: $? = 0
| configure:17421: result: yes
| configure:17421: checking curses.h presence
| configure:17421: gcc -E -I/mingw/include conftest.c
| configure:17421: $? = 0
| configure:17421: result: yes
| configure:17421: checking for curses.h
| configure:17421: result: yes
| configure:17609: checking for curses color_set function
| configure:17636: gcc -o conftest.exe -g -O2 -I/mingw/include conftest.c -lpdcurses >&5
| configure:17636: $? = 0
| configure:17638: result: yes
| configure:17813: gcc -o conftest.exe -g -O2 -I/mingw/include conftest.c -lpdcurses >&5
| configure:17813: $? = 0
| configure:17813: ./conftest.exe
| configure:17813: $? = 0
| configure:18145: checking for working strftime
| configure:18177: gcc -o conftest.exe -g -O2 -I/mingw/include conftest.c -lpdcurses >&5
| configure:18177: $? = 0
| configure:18177: ./conftest.exe
| configure:18177: $? = 1
| configure: program exited with status 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "GnuCOBOL"
| | #define PACKAGE_TARNAME "gnucobol"
| | #define PACKAGE_VERSION "2.2"
| | #define PACKAGE_STRING "GnuCOBOL 2.2"
| | #define PACKAGE_BUGREPORT "address@hidden"
| | #define PACKAGE_URL "https://www.gnu.org/software/gnucobol/"
| | #define PACKAGE "gnucobol"
| | #define VERSION "2.2"
| | #define PATCH_LEVEL 0
| | #define MAX_CALL_FIELD_PARAMS 192
| | #define STDC_HEADERS 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SYS_STAT_H 1
| | #define HAVE_STDLIB_H 1
| | #define HAVE_STRING_H 1
| | #define HAVE_MEMORY_H 1
| | #define HAVE_STRINGS_H 1
| | #define HAVE_INTTYPES_H 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_UNISTD_H 1
| | #define __EXTENSIONS__ 1
| | #define _ALL_SOURCE 1
| | #define _GNU_SOURCE 1
| | #define _POSIX_PTHREAD_SEMANTICS 1
| | #define _TANDEM_SOURCE 1
| | #define HAVE_DLFCN_H 1
| | #define LT_OBJDIR ".libs/"
| | #define STDC_HEADERS 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SIGNAL_H 1
| | #define HAVE_FCNTL_H 1
| | #define HAVE_MALLOC_H 1
| | #define HAVE_LOCALE_H 1
| | #define HAVE_STDDEF_H 1
| | #define HAVE_WCHAR_H 1
| | #define HAVE_DLFCN_H 1
| | #define HAVE_SYS_TIME_H 1
| | #define HAVE_SIG_ATOMIC_T 1
| | #define COB_KEYWORD_INLINE __inline
| | #define HAVE_VPRINTF 1
| | #define HAVE_MEMMOVE 1
| | #define HAVE_MEMSET 1
| | #define HAVE_SETLOCALE 1
| | #define HAVE_STRERROR 1
| | #define HAVE_STRCASECMP 1
| | #define HAVE_STRCHR 1
| | #define HAVE_STRRCHR 1
| | #define HAVE_STRDUP 1
| | #define HAVE_STRSTR 1
| | #define HAVE_STRTOL 1
| | #define HAVE_GETTIMEOFDAY 1
| | #define HAVE_LOCALECONV 1
| | #define HAVE_STRCOLL 1
| | #define HAVE_STRXFRM 1
| | #define HAVE_SETENV 1
| | #define HAVE_RAISE 1
| | #define HAVE_TIMEZONE 1
| | #define HAVE_DESIGNATED_INITS 1
| | #define HAVE_VBISAM_H 1
| | #define WITH_VBISAM 1
| | #define WITH_VARSEQ 0
| | #define HAVE_GMP_H 1
| | #define HAVE_MP_GET_MEMORY_FUNCTIONS 1
| | #define HAVE_NANO_SLEEP 1
| | #define HAVE_ISFINITE 1
| | #define HAVE_ICONV 1
| | #define ENABLE_NLS 1
| | #define HAVE_GETTEXT 1
| | #define HAVE_DCGETTEXT 1
| | #define HAVE_LIBPDCURSES 1
| | #define HAVE_CURSES_H 1
| | #define WITH_CURSES "pdcurses"
| | #define HAVE_COLOR_SET 1
| | /* end confdefs.h. */
| | #include
| | #include
| | int
| | main ()
| | {
| |
| | time_t ticks;
| | int ret;
| | char buff[16];
| | ticks = time(NULL);
| | ret = strftime(buff, 15, "%z", localtime(&ticks));
| | if (ret != 5) {
| | return 1;
| | }
| | if (buff[0] != '+' && buff[0] != '-') {
| | return 1;
| | }
| | return 0;
| | ;
| | return 0;
| | }
| configure:18184: result: no
| configure:18193: checking if size of long int = size of long long
| configure:18216: gcc -o conftest.exe -g -O2 -I/mingw/include conftest.c -lpdcurses >&5
| configure:18216: $? = 0
| configure:18216: ./conftest.exe
| configure:18216: $? = 1
| configure: program exited with status 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "GnuCOBOL"
| | #define PACKAGE_TARNAME "gnucobol"
| | #define PACKAGE_VERSION "2.2"
| | #define PACKAGE_STRING "GnuCOBOL 2.2"
| | #define PACKAGE_BUGREPORT "address@hidden"
| | #define PACKAGE_URL "https://www.gnu.org/software/gnucobol/"
| | #define PACKAGE "gnucobol"
| | #define VERSION "2.2"
| | #define PATCH_LEVEL 0
| | #define MAX_CALL_FIELD_PARAMS 192
| | #define STDC_HEADERS 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SYS_STAT_H 1
| | #define HAVE_STDLIB_H 1
| | #define HAVE_STRING_H 1
| | #define HAVE_MEMORY_H 1
| | #define HAVE_STRINGS_H 1
| | #define HAVE_INTTYPES_H 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_UNISTD_H 1
| | #define __EXTENSIONS__ 1
| | #define _ALL_SOURCE 1
| | #define _GNU_SOURCE 1
| | #define _POSIX_PTHREAD_SEMANTICS 1
| | #define _TANDEM_SOURCE 1
| | #define HAVE_DLFCN_H 1
| | #define LT_OBJDIR ".libs/"
| | #define STDC_HEADERS 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SIGNAL_H 1
| | #define HAVE_FCNTL_H 1
| | #define HAVE_MALLOC_H 1
| | #define HAVE_LOCALE_H 1
| | #define HAVE_STDDEF_H 1
| | #define HAVE_WCHAR_H 1
| | #define HAVE_DLFCN_H 1
| | #define HAVE_SYS_TIME_H 1
| | #define HAVE_SIG_ATOMIC_T 1
| | #define COB_KEYWORD_INLINE __inline
| | #define HAVE_VPRINTF 1
| | #define HAVE_MEMMOVE 1
| | #define HAVE_MEMSET 1
| | #define HAVE_SETLOCALE 1
| | #define HAVE_STRERROR 1
| | #define HAVE_STRCASECMP 1
| | #define HAVE_STRCHR 1
| | #define HAVE_STRRCHR 1
| | #define HAVE_STRDUP 1
| | #define HAVE_STRSTR 1
| | #define HAVE_STRTOL 1
| | #define HAVE_GETTIMEOFDAY 1
| | #define HAVE_LOCALECONV 1
| | #define HAVE_STRCOLL 1
| | #define HAVE_STRXFRM 1
| | #define HAVE_SETENV 1
| | #define HAVE_RAISE 1
| | #define HAVE_TIMEZONE 1
| | #define HAVE_DESIGNATED_INITS 1
| | #define HAVE_VBISAM_H 1
| | #define WITH_VBISAM 1
| | #define WITH_VARSEQ 0
| | #define HAVE_GMP_H 1
| | #define HAVE_MP_GET_MEMORY_FUNCTIONS 1
| | #define HAVE_NANO_SLEEP 1
| | #define HAVE_ISFINITE 1
| | #define HAVE_ICONV 1
| | #define ENABLE_NLS 1
| | #define HAVE_GETTEXT 1
| | #define HAVE_DCGETTEXT 1
| | #define HAVE_LIBPDCURSES 1
| | #define HAVE_CURSES_H 1
| | #define WITH_CURSES "pdcurses"
| | #define HAVE_COLOR_SET 1
| | /* end confdefs.h. */
| |
| | int
| | main ()
| | {
| |
| | if (sizeof(long int) == sizeof(long long))
| | return 0;
| | return 1;
| |
| | ;
| | return 0;
| | }
| configure:18221: result: no
| configure:18229: checking if long is 32 bits
| configure:18252: gcc -o conftest.exe -g -O2 -I/mingw/include conftest.c -lpdcurses >&5
| configure:18252: $? = 0
| configure:18252: ./conftest.exe
| configure:18252: $? = 0
| configure:18254: result: yes
| configure:18267: checking if pointer is longer than 32 bits
| configure:18290: gcc -o conftest.exe -g -O2 -I/mingw/include conftest.c -lpdcurses >&5
| configure:18290: $? = 0
| configure:18290: ./conftest.exe
| configure:18290: $? = 1
| configure: program exited with status 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "GnuCOBOL"
| | #define PACKAGE_TARNAME "gnucobol"
| | #define PACKAGE_VERSION "2.2"
| | #define PACKAGE_STRING "GnuCOBOL 2.2"
| | #define PACKAGE_BUGREPORT "address@hidden"
| | #define PACKAGE_URL "https://www.gnu.org/software/gnucobol/"
| | #define PACKAGE "gnucobol"
| | #define VERSION "2.2"
| | #define PATCH_LEVEL 0
| | #define MAX_CALL_FIELD_PARAMS 192
| | #define STDC_HEADERS 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SYS_STAT_H 1
| | #define HAVE_STDLIB_H 1
| | #define HAVE_STRING_H 1
| | #define HAVE_MEMORY_H 1
| | #define HAVE_STRINGS_H 1
| | #define HAVE_INTTYPES_H 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_UNISTD_H 1
| | #define __EXTENSIONS__ 1
| | #define _ALL_SOURCE 1
| | #define _GNU_SOURCE 1
| | #define _POSIX_PTHREAD_SEMANTICS 1
| | #define _TANDEM_SOURCE 1
| | #define HAVE_DLFCN_H 1
| | #define LT_OBJDIR ".libs/"
| | #define STDC_HEADERS 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SIGNAL_H 1
| | #define HAVE_FCNTL_H 1
| | #define HAVE_MALLOC_H 1
| | #define HAVE_LOCALE_H 1
| | #define HAVE_STDDEF_H 1
| | #define HAVE_WCHAR_H 1
| | #define HAVE_DLFCN_H 1
| | #define HAVE_SYS_TIME_H 1
| | #define HAVE_SIG_ATOMIC_T 1
| | #define COB_KEYWORD_INLINE __inline
| | #define HAVE_VPRINTF 1
| | #define HAVE_MEMMOVE 1
| | #define HAVE_MEMSET 1
| | #define HAVE_SETLOCALE 1
| | #define HAVE_STRERROR 1
| | #define HAVE_STRCASECMP 1
| | #define HAVE_STRCHR 1
| | #define HAVE_STRRCHR 1
| | #define HAVE_STRDUP 1
| | #define HAVE_STRSTR 1
| | #define HAVE_STRTOL 1
| | #define HAVE_GETTIMEOFDAY 1
| | #define HAVE_LOCALECONV 1
| | #define HAVE_STRCOLL 1
| | #define HAVE_STRXFRM 1
| | #define HAVE_SETENV 1
| | #define HAVE_RAISE 1
| | #define HAVE_TIMEZONE 1
| | #define HAVE_DESIGNATED_INITS 1
| | #define HAVE_VBISAM_H 1
| | #define WITH_VBISAM 1
| | #define WITH_VARSEQ 0
| | #define HAVE_GMP_H 1
| | #define HAVE_MP_GET_MEMORY_FUNCTIONS 1
| | #define HAVE_NANO_SLEEP 1
| | #define HAVE_ISFINITE 1
| | #define HAVE_ICONV 1
| | #define ENABLE_NLS 1
| | #define HAVE_GETTEXT 1
| | #define HAVE_DCGETTEXT 1
| | #define HAVE_LIBPDCURSES 1
| | #define HAVE_CURSES_H 1
| | #define WITH_CURSES "pdcurses"
| | #define HAVE_COLOR_SET 1
| | #define COB_32_BIT_LONG 1
| | /* end confdefs.h. */
| |
| | int
| | main ()
| | {
| |
| | if (sizeof (void *) > 4U)
| | return 0;
| | return 1;
| |
| | ;
| | return 0;
| | }
| configure:18297: result: no
| configure:18330: checking for aligned attribute
| configure:18343: gcc -c -g -O2 -I/mingw/include conftest.c >&5
| configure:18343: $? = 0
| configure:18345: result: yes
| configure:18474: checking for gcc pointer sign option
| configure:18487: gcc -c -O2 -pipe -Wno-pointer-sign -I/mingw/include conftest.c >&5
| configure:18487: $? = 0
| configure:18488: result: yes
| configure:18622: checking for ld bind now option
| configure:18635: gcc -o conftest.exe -O2 -pipe -I/mingw/include -Wl,-z,relro,-z,now,-O1 conftest.c >&5
| c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../../mingw32/bin/ld.exe: unrecognized option '-z'
| c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../../mingw32/bin/ld.exe: use the --help option for usage information
| collect2.exe: error: ld returned 1 exit status
| configure:18635: $? = 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "GnuCOBOL"
| | #define PACKAGE_TARNAME "gnucobol"
| | #define PACKAGE_VERSION "2.2"
| | #define PACKAGE_STRING "GnuCOBOL 2.2"
| | #define PACKAGE_BUGREPORT "address@hidden"
| | #define PACKAGE_URL "https://www.gnu.org/software/gnucobol/"
| | #define PACKAGE "gnucobol"
| | #define VERSION "2.2"
| | #define PATCH_LEVEL 0
| | #define MAX_CALL_FIELD_PARAMS 192
| | #define STDC_HEADERS 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SYS_STAT_H 1
| | #define HAVE_STDLIB_H 1
| | #define HAVE_STRING_H 1
| | #define HAVE_MEMORY_H 1
| | #define HAVE_STRINGS_H 1
| | #define HAVE_INTTYPES_H 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_UNISTD_H 1
| | #define __EXTENSIONS__ 1
| | #define _ALL_SOURCE 1
| | #define _GNU_SOURCE 1
| | #define _POSIX_PTHREAD_SEMANTICS 1
| | #define _TANDEM_SOURCE 1
| | #define HAVE_DLFCN_H 1
| | #define LT_OBJDIR ".libs/"
| | #define STDC_HEADERS 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SIGNAL_H 1
| | #define HAVE_FCNTL_H 1
| | #define HAVE_MALLOC_H 1
| | #define HAVE_LOCALE_H 1
| | #define HAVE_STDDEF_H 1
| | #define HAVE_WCHAR_H 1
| | #define HAVE_DLFCN_H 1
| | #define HAVE_SYS_TIME_H 1
| | #define HAVE_SIG_ATOMIC_T 1
| | #define COB_KEYWORD_INLINE __inline
| | #define HAVE_VPRINTF 1
| | #define HAVE_MEMMOVE 1
| | #define HAVE_MEMSET 1
| | #define HAVE_SETLOCALE 1
| | #define HAVE_STRERROR 1
| | #define HAVE_STRCASECMP 1
| | #define HAVE_STRCHR 1
| | #define HAVE_STRRCHR 1
| | #define HAVE_STRDUP 1
| | #define HAVE_STRSTR 1
| | #define HAVE_STRTOL 1
| | #define HAVE_GETTIMEOFDAY 1
| | #define HAVE_LOCALECONV 1
| | #define HAVE_STRCOLL 1
| | #define HAVE_STRXFRM 1
| | #define HAVE_SETENV 1
| | #define HAVE_RAISE 1
| | #define HAVE_TIMEZONE 1
| | #define HAVE_DESIGNATED_INITS 1
| | #define HAVE_VBISAM_H 1
| | #define WITH_VBISAM 1
| | #define WITH_VARSEQ 0
| | #define HAVE_GMP_H 1
| | #define HAVE_MP_GET_MEMORY_FUNCTIONS 1
| | #define HAVE_NANO_SLEEP 1
| | #define HAVE_ISFINITE 1
| | #define HAVE_ICONV 1
| | #define ENABLE_NLS 1
| | #define HAVE_GETTEXT 1
| | #define HAVE_DCGETTEXT 1
| | #define HAVE_LIBPDCURSES 1
| | #define HAVE_CURSES_H 1
| | #define WITH_CURSES "pdcurses"
| | #define HAVE_COLOR_SET 1
| | #define COB_32_BIT_LONG 1
| | #define HAVE_ATTRIBUTE_ALIGNED 1
| | /* end confdefs.h. */
| |
| | int
| | main ()
| | {
| | int testint;
| | ;
| | return 0;
| | }
| configure:18640: result: no
| configure:18869: checking that generated files are newer than configure
| configure:18875: result: done
| configure:18907: creating ./config.status
|
| ## ---------------------- ##
| ## Running config.status. ##
| ## ---------------------- ##
|
| This file was extended by GnuCOBOL config.status 2.2, which was
| generated by GNU Autoconf 2.69. Invocation command line was
|
| CONFIG_FILES =
| CONFIG_HEADERS =
| CONFIG_LINKS =
| CONFIG_COMMANDS =
| $ ./config.status
|
| on WIN7-LINUX
|
| config.status:1346: creating bin/cob-config
| config.status:1346: creating Makefile
| config.status:1346: creating libcob/Makefile
| config.status:1346: creating lib/Makefile
| config.status:1346: creating cobc/Makefile
| config.status:1346: creating bin/Makefile
| config.status:1346: creating po/Makefile.in
| config.status:1346: creating doc/Makefile
| config.status:1346: creating config/Makefile
| config.status:1346: creating copy/Makefile
| config.status:1346: creating tests/atlocal
| config.status:1346: creating tests/Makefile
| config.status:1346: creating tests/cobol85/Makefile
| config.status:1346: creating extras/Makefile
| config.status:1346: creating config.h
| config.status:1575: executing tests/atconfig commands
| config.status:1575: executing depfiles commands
| config.status:1575: executing libtool commands
| config.status:1575: executing po-directories commands
| config.status:1575: executing chmod commands
| configure:21221: GnuCOBOL Configuration:
| configure:21223: CC gcc
| configure:21225: CFLAGS -O2 -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -U_FORTIFY_SOURCE
| configure:21227: COB_CFLAGS -I/mingw/include -Wno-unused -fsigned-char -Wno-pointer-sign -I/mingw/include -pipe
| configure:21229: LDFLAGS
| configure:21231: COB_LDFLAGS
| configure:21234: COBC_LIBS -L/mingw/lib -lintl
| configure:21237: COB_LIBS -L${exec_prefix}/lib -lcob -lm -lvbisam -lgmp -L/mingw/lib -lintl -lpdcurses
| configure:21239: COB_CONFIG_DIR ${datarootdir}/gnucobol/config
| configure:21241: COB_COPY_DIR ${datarootdir}/gnucobol/copy
| configure:21243: COB_LIBRARY_PATH ${exec_prefix}/lib/gnucobol
| configure:21245: COB_OBJECT_EXT o
| configure:21247: COB_MODULE_EXT dll
| configure:21249: COB_EXE_EXT .exe
| configure:21251: COB_SHARED_OPT -shared
| configure:21253: COB_PIC_FLAGS -DDLL_EXPORT -DPIC
| configure:21255: COB_EXPORT_DYN -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--enable-auto-image-base
| configure:21258: COB_STRIP_CMD strip --strip-unneeded
| configure:21262: Dynamic loading: System
| configure:21268: Use gettext for international messages: yes
| configure:21270: Use fcntl for file locking: no
| configure:21282: Use ncurses/pdcurses/curses for screen I/O: pdcurses
| configure:21300: Use VBISAM for ISAM I/O yes
|
| ## ---------------- ##
| ## Cache variables. ##
| ## ---------------- ##
|
| ac_cv_build=i686-pc-mingw32
| ac_cv_c_bigendian=no
| ac_cv_c_compiler_gnu=yes
| ac_cv_c_const=yes
| ac_cv_env_CC_set=
| ac_cv_env_CC_value=
| ac_cv_env_CFLAGS_set=
| ac_cv_env_CFLAGS_value=
| ac_cv_env_CPPFLAGS_set=
| ac_cv_env_CPPFLAGS_value=
| ac_cv_env_CPP_set=
| ac_cv_env_CPP_value=
| ac_cv_env_LDFLAGS_set=
| ac_cv_env_LDFLAGS_value=
| ac_cv_env_LIBS_set=
| ac_cv_env_LIBS_value=
| ac_cv_env_LT_SYS_LIBRARY_PATH_set=
| ac_cv_env_LT_SYS_LIBRARY_PATH_value=
| ac_cv_env_YACC_set=
| ac_cv_env_YACC_value=
| ac_cv_env_YFLAGS_set=
| ac_cv_env_YFLAGS_value=
| ac_cv_env_build_alias_set=
| ac_cv_env_build_alias_value=
| ac_cv_env_host_alias_set=
| ac_cv_env_host_alias_value=
| ac_cv_env_target_alias_set=
| ac_cv_env_target_alias_value=
| ac_cv_exeext=.exe
| ac_cv_func__doprnt=no
| ac_cv_func_canonicalize_file_name=no
| ac_cv_func_fcntl=no
| ac_cv_func_fdatasync=no
| ac_cv_func_getexecname=no
| ac_cv_func_gettimeofday=yes
| ac_cv_func_localeconv=yes
| ac_cv_func_memmove=yes
| ac_cv_func_memset=yes
| ac_cv_func_raise=yes
| ac_cv_func_readlink=no
| ac_cv_func_realpath=no
| ac_cv_func_setenv=yes
| ac_cv_func_setlocale=yes
| ac_cv_func_sigaction=no
| ac_cv_func_strcasecmp=yes
| ac_cv_func_strchr=yes
| ac_cv_func_strcoll=yes
| ac_cv_func_strdup=yes
| ac_cv_func_strerror=yes
| ac_cv_func_strrchr=yes
| ac_cv_func_strstr=yes
| ac_cv_func_strtol=yes
| ac_cv_func_strxfrm=yes
| ac_cv_func_vprintf=yes
| ac_cv_header_curses_h=yes
| ac_cv_header_dlfcn_h=yes
| ac_cv_header_fcntl_h=yes
| ac_cv_header_gmp_h=yes
| ac_cv_header_inttypes_h=yes
| ac_cv_header_locale_h=yes
| ac_cv_header_malloc_h=yes
| ac_cv_header_memory_h=yes
| ac_cv_header_minix_config_h=no
| ac_cv_header_pdcurses_h=no
| ac_cv_header_signal_h=yes
| ac_cv_header_stdc=yes
| ac_cv_header_stddef_h=yes
| ac_cv_header_stdint_h=yes
| ac_cv_header_stdlib_h=yes
| ac_cv_header_string_h=yes
| ac_cv_header_strings_h=yes
| ac_cv_header_sys_stat_h=yes
| ac_cv_header_sys_time_h=yes
| ac_cv_header_sys_types_h=yes
| ac_cv_header_sys_wait_h=no
| ac_cv_header_unistd_h=yes
| ac_cv_header_vbisam_h=yes
| ac_cv_header_wchar_h=yes
| ac_cv_host=i686-pc-mingw32
| ac_cv_lib_gmp___gmp_get_memory_functions=yes
| ac_cv_lib_gmp___gmpz_init=yes
| ac_cv_lib_lex='none needed'
| ac_cv_lib_ncurses_initscr=no
| ac_cv_lib_ncursesw_initscr=no
| ac_cv_lib_pdcurses_initscr=yes
| ac_cv_lib_vbisam_isopen=yes
| ac_cv_objext=o
| ac_cv_path_EGREP='/bin/grep -E'
| ac_cv_path_FGREP='/bin/grep -F'
| ac_cv_path_GMSGFMT=/mingw/bin/msgfmt
| ac_cv_path_GREP=/bin/grep
| ac_cv_path_MSGFMT=/mingw/bin/msgfmt
| ac_cv_path_MSGMERGE=/mingw/bin/msgmerge
| ac_cv_path_SED=/bin/sed
| ac_cv_path_XGETTEXT=/mingw/bin/xgettext
| ac_cv_path_install='/bin/install -c'
| ac_cv_path_lt_DD=/bin/dd
| ac_cv_path_mkdir=/bin/mkdir
| ac_cv_prog_AWK=gawk
| ac_cv_prog_CPP='gcc -E'
| ac_cv_prog_LEX=flex
| ac_cv_prog_YACC='bison -y'
| ac_cv_prog_ac_ct_AR=ar
| ac_cv_prog_ac_ct_AS=as
| ac_cv_prog_ac_ct_CC=gcc
| ac_cv_prog_ac_ct_DLLTOOL=dlltool
| ac_cv_prog_ac_ct_OBJDUMP=objdump
| ac_cv_prog_ac_ct_RANLIB=ranlib
| ac_cv_prog_ac_ct_STRIP=strip
| ac_cv_prog_cc_c89=
| ac_cv_prog_cc_c99=
| ac_cv_prog_cc_g=yes
| ac_cv_prog_cc_stdc=
| ac_cv_prog_lex_root=lex.yy
| ac_cv_prog_lex_yytext_pointer=no
| ac_cv_prog_make_make_set=yes
| ac_cv_safe_to_define___extensions__=yes
| ac_cv_struct_tm=time.h
| ac_cv_type_sig_atomic_t=yes
| ac_cv_type_size_t=yes
| acl_cv_hardcode_direct=no
| acl_cv_hardcode_libdir_flag_spec='-L$libdir'
| acl_cv_hardcode_libdir_separator=
| acl_cv_hardcode_minus_L=no
| acl_cv_libext=a
| acl_cv_libname_spec='lib$name'
| acl_cv_library_names_spec='$libname.dll.a $libname.lib'
| acl_cv_path_LD=c:/mingw/mingw32/bin/ld.exe
| acl_cv_prog_gnu_ld=yes
| acl_cv_rpath=done
| acl_cv_shlibext=dll
| acl_cv_wl=-Wl,
| am_cv_CC_dependencies_compiler_type=gcc3
| am_cv_func_iconv=yes
| am_cv_func_iconv_works=yes
| am_cv_langinfo_codeset=no
| am_cv_lib_iconv=yes
| am_cv_make_support_nested_variables=yes
| am_cv_prog_cc_c_o=yes
| gt_cv_func_CFLocaleCopyCurrent=no
| gt_cv_func_CFPreferencesCopyAppValue=no
| gt_cv_func_gnugettext1_libc=no
| gt_cv_func_gnugettext1_libintl=yes
| lt_cv_ar_at_file=@
| lt_cv_archive_cmds_need_lc=yes
| lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
| lt_cv_dlopen=LoadLibrary
| lt_cv_dlopen_libs=
| lt_cv_file_magic_cmd=func_win32_libid
| lt_cv_file_magic_test_file=
| lt_cv_ld_reload_flag=-r
| lt_cv_nm_interface='BSD nm'
| lt_cv_objdir=.libs
| lt_cv_path_LD=c:/mingw/mingw32/bin/ld.exe
| lt_cv_path_NM='/mingw/bin/nm -B'
| lt_cv_path_mainfest_tool=no
| lt_cv_prog_compiler_c_o=yes
| lt_cv_prog_compiler_pic='-DDLL_EXPORT -DPIC'
| lt_cv_prog_compiler_pic_works=yes
| lt_cv_prog_compiler_rtti_exceptions=no
| lt_cv_prog_compiler_static_works=yes
| lt_cv_prog_gnu_ld=yes
| lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
| lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)
\{0,1\}$/\1 _\2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
| lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"\1", (void *) \&\1},/p'\'''
| lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(lib.*\)$/ {"\1", (void *) \&\1},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"lib\1", (void *) \&\1},/p'\'''
| lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
| lt_cv_sys_global_symbol_to_import=
| lt_cv_sys_max_cmd_len=8192
| lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
| lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
| lt_cv_truncate_bin='/bin/dd bs=4096 count=1'
|
| ## ----------------- ##
| ## Output variables. ##
| ## ----------------- ##
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| @echo "Need to reconfigure with --enable-code-coverage"
| @echo "Need to reconfigure with --enable-code-coverage"
| $(CODE_COVERAGE_IGNORE_PATTERN);
| $(CODE_COVERAGE_OUTPUT_FILE);
| #
| #
| # $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage)
| # $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info)
| # (Default: $(top_builddir))
| # (Default: empty)
| # Multiple directories may be specified, separated by whitespace.
| # by lcov for code coverage. (Default:
| # collecting lcov instance. (Default: $CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH)
| # genhtml instance. (Default: based on $CODE_COVERAGE_BRANCH_COVERAGE)
| # instance. (Default: $CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT)
| # instance. (Default: $CODE_COVERAGE_LCOV_OPTIONS_DEFAULT)
| # instance. (Default: $CODE_COVERAGE_LCOV_RMOPTS_DEFAULT)
| # instances. (Default: $CODE_COVERAGE_LCOV_SHOPTS_DEFAULT)
| # instances. (Default: based on $CODE_COVERAGE_BRANCH_COVERAGE)
| # lcov instance. (Default: empty)
| # reports to be created. (Default:
| # set to 0 to disable it and leave empty to stay with the default.
| # - CODE_COVERAGE_BRANCH_COVERAGE: Set to 1 to enforce branch coverage,
| # - CODE_COVERAGE_DIRECTORY: Top-level directory for code coverage reporting.
| # - CODE_COVERAGE_GENHTML_OPTIONS: Extra options to pass to the genhtml
| # - CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT: Extra options to pass to the
| # - CODE_COVERAGE_IGNORE_PATTERN: Extra glob pattern of files to ignore
| # - CODE_COVERAGE_LCOV_OPTIONS: Extra options to pass to the collecting lcov
| # - CODE_COVERAGE_LCOV_OPTIONS_DEFAULT: Extra options to pass to the
| # - CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH: --gcov-tool pathtogcov
| # - CODE_COVERAGE_LCOV_RMOPTS: Extra options to pass to the filtering lcov
| # - CODE_COVERAGE_LCOV_RMOPTS_DEFAULT: Extra options to pass to the filtering
| # - CODE_COVERAGE_LCOV_SHOPTS: Extra options to shared between both lcov
| # - CODE_COVERAGE_LCOV_SHOPTS_DEFAULT: Extra options shared between both lcov
| # - CODE_COVERAGE_OUTPUT_DIRECTORY: Directory for generated code coverage
| # - CODE_COVERAGE_OUTPUT_FILE: Filename and path for the .info file generated
| # $(PACKAGE_VERSION). In order to add the current git hash to the title,
| # Capture code coverage data
| # Code coverage
| # Hook rule executed before code-coverage-capture, overridable by the user
| # Optional variables
| # Optional:
| # The generated report will be titled using the $(PACKAGE_NAME) and
| # Use recursive makes in order to ignore errors during check
| # sanitizes the test-name: replaces with underscores: dashes and dots
| # use the git-version-gen script, available online.
| $(if $(CODE_COVERAGE_BRANCH_COVERAGE),\
| '
| --rc genhtml_branch_coverage=$(CODE_COVERAGE_BRANCH_COVERAGE))
| --rc lcov_branch_coverage=$(CODE_COVERAGE_BRANCH_COVERAGE))
| .PHONY: check-code-coverage code-coverage-capture code-coverage-capture-hook code-coverage-clean
| ACLOCAL='${SHELL} /home/ramosa/gnucobol-2.2/build_aux/missing aclocal-1.15'
| AMDEPBACKSLASH='\'
| AMDEP_FALSE='#'
| AMDEP_TRUE=''
| AMTAR='$${TAR-tar}'
| AM_BACKSLASH='\'
| AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
| AM_DEFAULT_VERBOSITY='1'
| AM_DISTCHECK_CONFIGURE_FLAGS += --disable-code-coverage
| AM_DISTCHECK_CONFIGURE_FLAGS ?=
| AM_V='$(V)'
| AR='ar'
| AS='as'
| AUTOCONF='${SHELL} /home/ramosa/gnucobol-2.2/build_aux/missing autoconf'
| AUTOHEADER='${SHELL} /home/ramosa/gnucobol-2.2/build_aux/missing autoheader'
| AUTOMAKE='${SHELL} /home/ramosa/gnucobol-2.2/build_aux/missing automake-1.15'
| AWK='gawk'
| CC='gcc'
| CCDEPMODE='depmode=gcc3'
| CFLAGS='-O2 -pipe -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -U_FORTIFY_SOURCE'
| COBC_LIBS=' -L/mingw/lib -lintl'
| COB_BIGENDIAN='no'
| COB_CC='gcc'
| COB_CFLAGS='-I/mingw/include -Wno-unused -fsigned-char -Wno-pointer-sign -I/mingw/include -pipe'
| COB_CONFIG_DIR='${datarootdir}/gnucobol/config'
| COB_COPY_DIR='${datarootdir}/gnucobol/copy'
| COB_EXE_EXT='.exe'
| COB_EXPORT_DYN='-Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--enable-auto-image-base'
| COB_FIX_LIB=''
| COB_FIX_LIBTOOL='-Wl,--enable-auto-import'
| COB_HAS_64_BIT_POINTER='no'
| COB_HAS_CURSES='yes'
| COB_HAS_ISAM='yes'
| COB_HAS_UTC_OFFSET='yes'
| COB_KEYWORD_INLINE=''
| COB_LDFLAGS=''
| COB_LIBRARY_PATH='${exec_prefix}/lib/gnucobol'
| COB_LIBS='-L${exec_prefix}/lib -lcob -lm -lvbisam -lgmp -L/mingw/lib -lintl -lpdcurses'
| COB_MAKE_IX_FALSE='#'
| COB_MAKE_IX_TRUE=''
| COB_MODULE_EXT='dll'
| COB_OBJECT_EXT='o'
| COB_PATCH_LEVEL='0'
| COB_PIC_FLAGS='-DDLL_EXPORT -DPIC'
| COB_SHARED_OPT='-shared'
| CODE_COVERAGE_BRANCH_COVERAGE ?=
| CODE_COVERAGE_CFLAGS=''
| CODE_COVERAGE_CPPFLAGS=''
| CODE_COVERAGE_CXXFLAGS=''
| CODE_COVERAGE_DIRECTORY ?= $(top_builddir)
| CODE_COVERAGE_ENABLED='no'
| CODE_COVERAGE_ENABLED_FALSE=''
| CODE_COVERAGE_ENABLED_TRUE='#'
| CODE_COVERAGE_GENHTML_OPTIONS ?= $(CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT)
| CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT ?=\
| CODE_COVERAGE_IGNORE_PATTERN ?=
| CODE_COVERAGE_LCOV_OPTIONS ?= $(CODE_COVERAGE_LCOV_OPTIONS_DEFAULT)
| CODE_COVERAGE_LCOV_OPTIONS_DEFAULT ?= $(CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH)
| CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH ?= --gcov-tool "$(GCOV)"
| CODE_COVERAGE_LCOV_RMOPTS ?= $(CODE_COVERAGE_LCOV_RMOPTS_DEFAULT)
| CODE_COVERAGE_LCOV_RMOPTS_DEFAULT ?=
| CODE_COVERAGE_LCOV_SHOPTS ?= $(CODE_COVERAGE_LCOV_SHOPTS_DEFAULT)
| CODE_COVERAGE_LCOV_SHOPTS_DEFAULT ?= $(if $(CODE_COVERAGE_BRANCH_COVERAGE),\
| CODE_COVERAGE_LDFLAGS=''
| CODE_COVERAGE_LIBS=''
| CODE_COVERAGE_OUTPUT_DIRECTORY ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage
| CODE_COVERAGE_OUTPUT_FILE ?= $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info
| CODE_COVERAGE_RULES='
| CPP='gcc -E'
| CPPFLAGS='-I/mingw/include'
| CYGPATH_W='echo'
| DEFS='-DHAVE_CONFIG_H'
| DEPDIR='.deps'
| DLLTOOL='dlltool'
| DSYMUTIL=''
| DUMPBIN=''
| ECHO_C=''
| ECHO_N='-n'
| ECHO_T=''
| EGREP='/bin/grep -E'
| EXEEXT='.exe'
| FGREP='/bin/grep -F'
| GCOV=''
| GENHTML=''
| GETTEXT_MACRO_VERSION='0.19'
| GITIGNOREFILES += $(CODE_COVERAGE_OUTPUT_FILE) $(CODE_COVERAGE_OUTPUT_DIRECTORY)
| GITIGNOREFILES ?=
| GMSGFMT='/mingw/bin/msgfmt'
| GMSGFMT_015='/mingw/bin/msgfmt'
| GREP='/bin/grep'
| HELP2MAN='${SHELL} /home/ramosa/gnucobol-2.2/build_aux/missing help2man'
| INSTALL_DATA='${INSTALL} -m 644'
| INSTALL_PROGRAM='${INSTALL}'
| INSTALL_SCRIPT='${INSTALL}'
| INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
| INTLLIBS='/mingw/lib/libintl.dll.a'
| INTL_MACOSX_LIBS=''
| LCOV=''
| LD='c:/mingw/mingw32/bin/ld.exe'
| LDFLAGS=''
| LEX='flex'
| LEXLIB=''
| LEX_OUTPUT_ROOT='lex.yy'
| LIBCOB_LIBS='-lm -lvbisam -lgmp -L/mingw/lib -lintl -lpdcurses'
| LIBICONV='/mingw/lib/libiconv.dll.a'
| LIBINTL='/mingw/lib/libintl.dll.a'
| LIBOBJS=''
| LIBS=''
| LIBTOOL='$(SHELL) $(top_builddir)/libtool'
| LIPO=''
| LN_S='cp -pR'
| LTLIBICONV='-L/mingw/lib -liconv'
| LTLIBINTL='-L/mingw/lib -lintl'
| LTLIBOBJS=''
| LT_SYS_LIBRARY_PATH=''
| MAKEINFO='${SHELL} /home/ramosa/gnucobol-2.2/build_aux/missing makeinfo'
| MANIFEST_TOOL=':'
| MKDIR_P='/bin/mkdir -p'
| MSGFMT='/mingw/bin/msgfmt'
| MSGFMT_015='/mingw/bin/msgfmt'
| MSGMERGE='/mingw/bin/msgmerge'
| NM='/mingw/bin/nm -B'
| NMEDIT=''
| OBJDUMP='objdump'
| OBJEXT='o'
| OTOOL64=''
| OTOOL=''
| PACKAGE='gnucobol'
| PACKAGE_BUGREPORT='address@hidden'
| PACKAGE_NAME='GnuCOBOL'
| PACKAGE_STRING='GnuCOBOL 2.2'
| PACKAGE_TARNAME='gnucobol'
| PACKAGE_URL='https://www.gnu.org/software/gnucobol/'
| PACKAGE_VERSION='2.2'
| PATH_SEPARATOR=':'
| POSUB='po'
| RANLIB='ranlib'
| SED='/bin/sed'
| SET_MAKE=''
| SHELL='/bin/sh'
| STRIP='strip'
| USE_NLS='yes'
| VERSION='2.2'
| XGETTEXT='/mingw/bin/xgettext'
| XGETTEXT_015='/mingw/bin/xgettext'
| XGETTEXT_EXTRA_OPTIONS=''
| YACC='bison -y'
| YFLAGS=''
| ac_ct_AR='ar'
| ac_ct_CC='gcc'
| ac_ct_DUMPBIN=''
| am__EXEEXT_FALSE='#'
| am__EXEEXT_TRUE=''
| am__fastdepCC_FALSE='#'
| am__fastdepCC_TRUE=''
| am__include='include'
| am__isrc=''
| am__leading_dot='.'
| am__nodep='_no'
| am__quote=''
| am__tar='$${TAR-tar} chof - "$$tardir"'
| am__untar='$${TAR-tar} xf -'
| bindir='${exec_prefix}/bin'
| build='i686-pc-mingw32'
| build_alias=''
| build_cpu='i686'
| build_os='mingw32'
| build_vendor='pc'
| check-code-coverage:
| code-coverage-capture-hook:
| code-coverage-capture: code-coverage-capture-hook
| code_coverage_quiet = $(code_coverage_quiet_$(V))
| code_coverage_quiet_ = $(code_coverage_quiet_$(AM_DEFAULT_VERBOSITY))
| code_coverage_quiet_0 = --quiet
| code_coverage_sanitize = $(subst -,_,$(subst .,_,$(1)))
| code_coverage_v_genhtml = $(code_coverage_v_genhtml_$(V))
| code_coverage_v_genhtml_ = $(code_coverage_v_genhtml_$(AM_DEFAULT_VERBOSITY))
| code_coverage_v_genhtml_0 = @echo " GEN " $(CODE_COVERAGE_OUTPUT_DIRECTORY);
| code_coverage_v_lcov_cap = $(code_coverage_v_lcov_cap_$(V))
| code_coverage_v_lcov_cap_ = $(code_coverage_v_lcov_cap_$(AM_DEFAULT_VERBOSITY))
| code_coverage_v_lcov_cap_0 = @echo " LCOV --capture"\
| code_coverage_v_lcov_ign = $(code_coverage_v_lcov_ign_$(V))
| code_coverage_v_lcov_ign_ = $(code_coverage_v_lcov_ign_$(AM_DEFAULT_VERBOSITY))
| code_coverage_v_lcov_ign_0 = @echo " LCOV --remove /tmp/*"\
| datadir='${datarootdir}'
| datarootdir='${prefix}/share'
| docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
| dvidir='${docdir}'
| exec_prefix='${prefix}'
| host='i686-pc-mingw32'
| host_alias=''
| host_cpu='i686'
| host_os='mingw32'
| host_vendor='pc'
| htmldir='${docdir}'
| includedir='${prefix}/include'
| infodir='${datarootdir}/info'
| install_sh='${SHELL} /home/ramosa/gnucobol-2.2/build_aux/install-sh'
| libdir='${exec_prefix}/lib'
| libexecdir='${exec_prefix}/libexec'
| localedir='${datarootdir}/locale'
| localstatedir='${prefix}/var'
| mandir='${datarootdir}/man'
| mkdir_p='$(MKDIR_P)'
| oldincludedir='/usr/include'
| pdfdir='${docdir}'
| prefix='/mingw'
| program_transform_name='s,x,x,'
| psdir='${docdir}'
| sbindir='${exec_prefix}/sbin'
| sharedstatedir='${prefix}/com'
| sysconfdir='${prefix}/etc'
| target_alias=''
|
| ## ----------- ##
| ## confdefs.h. ##
| ## ----------- ##
|
| /* confdefs.h */
| #define PACKAGE_NAME "GnuCOBOL"
| #define PACKAGE_TARNAME "gnucobol"
| #define PACKAGE_VERSION "2.2"
| #define PACKAGE_STRING "GnuCOBOL 2.2"
| #define PACKAGE_BUGREPORT "address@hidden"
| #define PACKAGE_URL "https://www.gnu.org/software/gnucobol/"
| #define PACKAGE "gnucobol"
| #define VERSION "2.2"
| #define PATCH_LEVEL 0
| #define MAX_CALL_FIELD_PARAMS 192
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define STDC_HEADERS 1
| #define HAVE_STDINT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SIG_ATOMIC_T 1
| #define COB_KEYWORD_INLINE __inline
| #define HAVE_VPRINTF 1
| #define HAVE_MEMMOVE 1
| #define HAVE_MEMSET 1
| #define HAVE_SETLOCALE 1
| #define HAVE_STRERROR 1
| #define HAVE_STRCASECMP 1
| #define HAVE_STRCHR 1
| #define HAVE_STRRCHR 1
| #define HAVE_STRDUP 1
| #define HAVE_STRSTR 1
| #define HAVE_STRTOL 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_LOCALECONV 1
| #define HAVE_STRCOLL 1
| #define HAVE_STRXFRM 1
| #define HAVE_SETENV 1
| #define HAVE_RAISE 1
| #define HAVE_TIMEZONE 1
| #define HAVE_DESIGNATED_INITS 1
| #define HAVE_VBISAM_H 1
| #define WITH_VBISAM 1
| #define WITH_VARSEQ 0
| #define HAVE_GMP_H 1
| #define HAVE_MP_GET_MEMORY_FUNCTIONS 1
| #define HAVE_NANO_SLEEP 1
| #define HAVE_ISFINITE 1
| #define HAVE_ICONV 1
| #define ENABLE_NLS 1
| #define HAVE_GETTEXT 1
| #define HAVE_DCGETTEXT 1
| #define HAVE_LIBPDCURSES 1
| #define HAVE_CURSES_H 1
| #define WITH_CURSES "pdcurses"
| #define HAVE_COLOR_SET 1
| #define COB_32_BIT_LONG 1
| #define HAVE_ATTRIBUTE_ALIGNED 1
| #define COB_NO_SELFOPEN 1
| #define COB_EXPORT_DYN "-Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--enable-auto-image-base"
| #define COB_PIC_FLAGS "-DDLL_EXPORT -DPIC"
| #define COB_SHARED_OPT "-shared"
| #define COB_OBJECT_EXT "o"
| #define COB_MODULE_EXT "dll"
| #define COB_EXE_EXT ".exe"
| #define COB_STRIP_CMD "strip --strip-unneeded"
|
| configure: exit 0