Guest User

Untitled

a guest
Jun 15th, 2020
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 265.98 KB | None | 0 0
  1. This file contains any messages produced by compilers while
  2. running configure, to aid debugging if configure makes a mistake.
  3.  
  4. It was created by configure, which was
  5. generated by GNU Autoconf 2.69. Invocation command line was
  6.  
  7. $ ./configure --target=arm-buildroot-linux-gnueabi --host=arm-buildroot-linux-gnueabi --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --disable-static --enable-shared --prefix=/usr/bin
  8.  
  9. ## --------- ##
  10. ## Platform. ##
  11. ## --------- ##
  12.  
  13. hostname = thibault-Inspiron-7580
  14. uname -m = x86_64
  15. uname -r = 5.4.0-37-generic
  16. uname -s = Linux
  17. uname -v = #41-Ubuntu SMP Wed Jun 3 18:57:02 UTC 2020
  18.  
  19. /usr/bin/uname -p = x86_64
  20. /bin/uname -X = unknown
  21.  
  22. /bin/arch = x86_64
  23. /usr/bin/arch -k = unknown
  24. /usr/convex/getsysinfo = unknown
  25. /usr/bin/hostinfo = unknown
  26. /bin/machine = unknown
  27. /usr/bin/oslevel = unknown
  28. /bin/universe = unknown
  29.  
  30. PATH: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin
  31. PATH: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/sbin
  32. PATH: /usr/local/sbin
  33. PATH: /usr/local/bin
  34. PATH: /usr/sbin
  35. PATH: /usr/bin
  36. PATH: /sbin
  37. PATH: /bin
  38. PATH: /usr/games
  39. PATH: /usr/local/games
  40. PATH: /snap/bin
  41.  
  42.  
  43. ## ----------- ##
  44. ## Core tests. ##
  45. ## ----------- ##
  46.  
  47. configure:2630: checking for a BSD-compatible install
  48. configure:2698: result: /usr/bin/install -c
  49. configure:2740: checking build system type
  50. configure:2754: result: x86_64-pc-linux-gnu
  51. configure:2774: checking host system type
  52. configure:2787: result: arm-buildroot-linux-gnueabi
  53. configure:2828: checking how to print strings
  54. configure:2855: result: printf
  55. configure:2884: checking for arm-buildroot-linux-gnueabi-gcc
  56. configure:2911: result: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc
  57. configure:3180: checking for C compiler version
  58. configure:3189: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc --version >&5
  59. arm-buildroot-linux-gnueabi-gcc.br_real (Buildroot 2019.08.2-00111-ga6493a3214) 7.4.0
  60. Copyright (C) 2017 Free Software Foundation, Inc.
  61. This is free software; see the source for copying conditions. There is NO
  62. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  63.  
  64. configure:3200: $? = 0
  65. configure:3189: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -v >&5
  66. Using built-in specs.
  67. COLLECT_GCC=/home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc.br_real
  68. COLLECT_LTO_WRAPPER=/home/thibault/Documents/Dev/buildroot/buildroot/output/host/libexec/gcc/arm-buildroot-linux-gnueabi/7.4.0/lto-wrapper
  69. Target: arm-buildroot-linux-gnueabi
  70. Configured with: ./configure --prefix=/home/thibault/Documents/Dev/buildroot/buildroot/output/host --sysconfdir=/home/thibault/Documents/Dev/buildroot/buildroot/output/host/etc --enable-static --target=arm-buildroot-linux-gnueabi --with-sysroot=/home/thibault/Documents/Dev/buildroot/buildroot/output/host/arm-buildroot-linux-gnueabi/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/home/thibault/Documents/Dev/buildroot/buildroot/output/host --with-mpc=/home/thibault/Documents/Dev/buildroot/buildroot/output/host --with-mpfr=/home/thibault/Documents/Dev/buildroot/buildroot/output/host --with-pkgversion='Buildroot 2019.08.2-00111-ga6493a3214' --with-bugurl=http://bugs.buildroot.net/ --disable-libquadmath --enable-tls --enable-threads --without-isl --without-cloog --with-float=soft --with-abi=aapcs-linux --with-cpu=arm926ej-s --with-float=soft --with-mode=arm --enable-languages=c,c++ --with-build-time-tools=/home/thibault/Documents/Dev/buildroot/buildroot/output/host/arm-buildroot-linux-gnueabi/bin --enable-shared --disable-libgomp
  71. Thread model: posix
  72. gcc version 7.4.0 (Buildroot 2019.08.2-00111-ga6493a3214)
  73. configure:3200: $? = 0
  74. configure:3189: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -V >&5
  75. arm-buildroot-linux-gnueabi-gcc.br_real: error: unrecognized command line option '-V'
  76. arm-buildroot-linux-gnueabi-gcc.br_real: fatal error: no input files
  77. compilation terminated.
  78. configure:3200: $? = 1
  79. configure:3189: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -qversion >&5
  80. arm-buildroot-linux-gnueabi-gcc.br_real: error: unrecognized command line option '-qversion'; did you mean '--version'?
  81. arm-buildroot-linux-gnueabi-gcc.br_real: fatal error: no input files
  82. compilation terminated.
  83. configure:3200: $? = 1
  84. configure:3220: checking whether the C compiler works
  85. configure:3242: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
  86. configure:3246: $? = 0
  87. configure:3294: result: yes
  88. configure:3297: checking for C compiler default output file name
  89. configure:3299: result: a.out
  90. configure:3305: checking for suffix of executables
  91. configure:3312: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
  92. configure:3316: $? = 0
  93. configure:3338: result:
  94. configure:3360: checking whether we are cross compiling
  95. configure:3398: result: yes
  96. configure:3403: checking for suffix of object files
  97. configure:3425: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
  98. configure:3429: $? = 0
  99. configure:3450: result: o
  100. configure:3454: checking whether we are using the GNU C compiler
  101. configure:3473: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
  102. configure:3473: $? = 0
  103. configure:3482: result: yes
  104. configure:3491: checking whether /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc accepts -g
  105. configure:3511: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -c -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
  106. configure:3511: $? = 0
  107. configure:3552: result: yes
  108. configure:3569: checking for /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc option to accept ISO C89
  109. configure:3632: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
  110. configure:3632: $? = 0
  111. configure:3645: result: none needed
  112. configure:3665: checking for a sed that does not truncate output
  113. configure:3729: result: /usr/bin/sed
  114. configure:3747: checking for grep that handles long lines and -e
  115. configure:3805: result: /usr/bin/grep
  116. configure:3810: checking for egrep
  117. configure:3872: result: /usr/bin/grep -E
  118. configure:3877: checking for fgrep
  119. configure:3939: result: /usr/bin/grep -F
  120. configure:3974: checking for ld used by /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc
  121. configure:4041: result: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-ld
  122. configure:4048: checking if the linker (/home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-ld) is GNU ld
  123. configure:4063: result: yes
  124. configure:4075: checking for BSD- or MS-compatible name lister (nm)
  125. configure:4129: result: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-nm
  126. configure:4259: checking the name lister (/home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-nm) interface
  127. configure:4266: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
  128. configure:4269: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-nm "conftest.o"
  129. configure:4272: output
  130. 00000000 B some_variable
  131. configure:4273: result: BSD nm
  132. configure:4276: checking whether ln -s works
  133. configure:4280: result: yes
  134. configure:4288: checking the maximum length of command line arguments
  135. configure:4419: result: 1572864
  136. configure:4467: checking how to convert x86_64-pc-linux-gnu file names to arm-buildroot-linux-gnueabi format
  137. configure:4507: result: func_convert_file_noop
  138. configure:4514: checking how to convert x86_64-pc-linux-gnu file names to toolchain format
  139. configure:4534: result: func_convert_file_noop
  140. configure:4541: checking for /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-ld option to reload object files
  141. configure:4548: result: -r
  142. configure:4582: checking for arm-buildroot-linux-gnueabi-objdump
  143. configure:4609: result: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-objdump
  144. configure:4681: checking how to recognize dependent libraries
  145. configure:4881: result: pass_all
  146. configure:4926: checking for arm-buildroot-linux-gnueabi-dlltool
  147. configure:4956: result: no
  148. configure:4966: checking for dlltool
  149. configure:4996: result: no
  150. configure:5026: checking how to associate runtime and link libraries
  151. configure:5053: result: printf %s\n
  152. configure:5070: checking for arm-buildroot-linux-gnueabi-ar
  153. configure:5097: result: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-ar
  154. configure:5178: checking for archiver @FILE support
  155. configure:5195: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
  156. configure:5195: $? = 0
  157. configure:5198: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-ar cru libconftest.a @conftest.lst >&5
  158. configure:5201: $? = 0
  159. configure:5206: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-ar cru libconftest.a @conftest.lst >&5
  160. /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-ar: conftest.o: No such file or directory
  161. configure:5209: $? = 1
  162. configure:5208: result: @
  163. configure:5226: checking for arm-buildroot-linux-gnueabi-strip
  164. configure:5253: result: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-strip
  165. configure:5325: checking for arm-buildroot-linux-gnueabi-ranlib
  166. configure:5352: result: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-ranlib
  167. configure:5469: checking for gawk
  168. configure:5485: found /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/gawk
  169. configure:5496: result: gawk
  170. configure:5536: checking command to parse /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-nm output from /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc object
  171. configure:5689: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
  172. configure:5692: $? = 0
  173. configure:5696: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-nm conftest.o | sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' > conftest.nm
  174. configure:5762: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftstm.o >&5
  175. configure:5765: $? = 0
  176. configure:5803: result: ok
  177. configure:5850: checking for sysroot
  178. configure:5880: result: no
  179. configure:5887: checking for a working dd
  180. configure:5925: result: /usr/bin/dd
  181. configure:5929: checking how to truncate binary pipes
  182. configure:5944: result: /usr/bin/dd bs=4096 count=1
  183. configure:6233: checking for arm-buildroot-linux-gnueabi-mt
  184. configure:6263: result: no
  185. configure:6273: checking for mt
  186. configure:6289: found /usr/bin/mt
  187. configure:6300: result: mt
  188. configure:6312: WARNING: using cross tools not prefixed with host triplet
  189. configure:6323: checking if mt is a manifest tool
  190. configure:6329: mt '-?'
  191. configure:6337: result: no
  192. configure:7014: checking how to run the C preprocessor
  193. configure:7084: result: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-cpp
  194. configure:7104: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c
  195. configure:7104: $? = 0
  196. configure:7118: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c
  197. conftest.c:9:10: fatal error: ac_nonexistent.h: No such file or directory
  198. #include <ac_nonexistent.h>
  199. ^~~~~~~~~~~~~~~~~~
  200. compilation terminated.
  201. configure:7118: $? = 1
  202. configure: failed program was:
  203. | /* confdefs.h */
  204. | #define PACKAGE_NAME ""
  205. | #define PACKAGE_TARNAME ""
  206. | #define PACKAGE_VERSION ""
  207. | #define PACKAGE_STRING ""
  208. | #define PACKAGE_BUGREPORT ""
  209. | #define PACKAGE_URL ""
  210. | /* end confdefs.h. */
  211. | #include <ac_nonexistent.h>
  212. configure:7147: checking for ANSI C header files
  213. configure:7167: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
  214. configure:7167: $? = 0
  215. configure:7251: result: yes
  216. configure:7264: checking for sys/types.h
  217. configure:7264: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
  218. configure:7264: $? = 0
  219. configure:7264: result: yes
  220. configure:7264: checking for sys/stat.h
  221. configure:7264: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
  222. configure:7264: $? = 0
  223. configure:7264: result: yes
  224. configure:7264: checking for stdlib.h
  225. configure:7264: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
  226. configure:7264: $? = 0
  227. configure:7264: result: yes
  228. configure:7264: checking for string.h
  229. configure:7264: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
  230. configure:7264: $? = 0
  231. configure:7264: result: yes
  232. configure:7264: checking for memory.h
  233. configure:7264: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
  234. configure:7264: $? = 0
  235. configure:7264: result: yes
  236. configure:7264: checking for strings.h
  237. configure:7264: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
  238. configure:7264: $? = 0
  239. configure:7264: result: yes
  240. configure:7264: checking for inttypes.h
  241. configure:7264: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
  242. configure:7264: $? = 0
  243. configure:7264: result: yes
  244. configure:7264: checking for stdint.h
  245. configure:7264: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
  246. configure:7264: $? = 0
  247. configure:7264: result: yes
  248. configure:7264: checking for unistd.h
  249. configure:7264: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
  250. configure:7264: $? = 0
  251. configure:7264: result: yes
  252. configure:7278: checking for dlfcn.h
  253. configure:7278: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
  254. configure:7278: $? = 0
  255. configure:7278: result: yes
  256. configure:7534: checking for objdir
  257. configure:7549: result: .libs
  258. configure:7813: checking if /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc supports -fno-rtti -fno-exceptions
  259. configure:7831: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-rtti -fno-exceptions conftest.c >&5
  260. cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C
  261. configure:7835: $? = 0
  262. configure:7848: result: no
  263. configure:8212: checking for /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc option to produce PIC
  264. configure:8219: result: -fPIC -DPIC
  265. configure:8227: checking if /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc PIC flag -fPIC -DPIC works
  266. configure:8245: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -DPIC -DPIC conftest.c >&5
  267. configure:8249: $? = 0
  268. configure:8262: result: yes
  269. configure:8291: checking if /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc static flag -static works
  270. configure:8319: result: yes
  271. configure:8334: checking if /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc supports -c -o file.o
  272. configure:8355: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o out/conftest2.o conftest.c >&5
  273. configure:8359: $? = 0
  274. configure:8381: result: yes
  275. configure:8389: checking if /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc supports -c -o file.o
  276. configure:8436: result: yes
  277. configure:8469: checking whether the /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc linker (/home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-ld) supports shared libraries
  278. configure:9732: result: yes
  279. configure:9769: checking whether -lc should be explicitly linked in
  280. configure:9777: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
  281. configure:9780: $? = 0
  282. configure:9795: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /usr/bin/grep -lc \>/dev/null 2\>\&1
  283. configure:9798: $? = 0
  284. configure:9812: result: no
  285. configure:9972: checking dynamic linker characteristics
  286. configure:10553: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wl,-rpath -Wl,/foo conftest.c >&5
  287. configure:10553: $? = 0
  288. configure:10802: result: GNU/Linux ld.so
  289. configure:10924: checking how to hardcode library paths into programs
  290. configure:10949: result: immediate
  291. configure:11497: checking whether stripping libraries is possible
  292. configure:11502: result: yes
  293. configure:11537: checking if libtool supports shared libraries
  294. configure:11539: result: yes
  295. configure:11542: checking whether to build shared libraries
  296. configure:11567: result: yes
  297. configure:11570: checking whether to build static libraries
  298. configure:11574: result: no
  299. configure:8396: checking for arm-buildroot-linux-gnueabi-gcc
  300. configure:8423: result: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc
  301. configure:8692: checking for C compiler version
  302. configure:8701: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc --version >&5
  303. arm-buildroot-linux-gnueabi-gcc.br_real (Buildroot 2019.08.2-00111-ga6493a3214) 7.4.0
  304. Copyright (C) 2017 Free Software Foundation, Inc.
  305. This is free software; see the source for copying conditions. There is NO
  306. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  307.  
  308. configure:8712: $? = 0
  309. configure:8701: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -v >&5
  310. Using built-in specs.
  311. COLLECT_GCC=/home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc.br_real
  312. COLLECT_LTO_WRAPPER=/home/thibault/Documents/Dev/buildroot/buildroot/output/host/libexec/gcc/arm-buildroot-linux-gnueabi/7.4.0/lto-wrapper
  313. Target: arm-buildroot-linux-gnueabi
  314. Configured with: ./configure --prefix=/home/thibault/Documents/Dev/buildroot/buildroot/output/host --sysconfdir=/home/thibault/Documents/Dev/buildroot/buildroot/output/host/etc --enable-static --target=arm-buildroot-linux-gnueabi --with-sysroot=/home/thibault/Documents/Dev/buildroot/buildroot/output/host/arm-buildroot-linux-gnueabi/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/home/thibault/Documents/Dev/buildroot/buildroot/output/host --with-mpc=/home/thibault/Documents/Dev/buildroot/buildroot/output/host --with-mpfr=/home/thibault/Documents/Dev/buildroot/buildroot/output/host --with-pkgversion='Buildroot 2019.08.2-00111-ga6493a3214' --with-bugurl=http://bugs.buildroot.net/ --disable-libquadmath --enable-tls --enable-threads --without-isl --without-cloog --with-float=soft --with-abi=aapcs-linux --with-cpu=arm926ej-s --with-float=soft --with-mode=arm --enable-languages=c,c++ --with-build-time-tools=/home/thibault/Documents/Dev/buildroot/buildroot/output/host/arm-buildroot-linux-gnueabi/bin --enable-shared --disable-libgomp
  315. Thread model: posix
  316. gcc version 7.4.0 (Buildroot 2019.08.2-00111-ga6493a3214)
  317. configure:8712: $? = 0
  318. configure:8701: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -V >&5
  319. arm-buildroot-linux-gnueabi-gcc.br_real: error: unrecognized command line option '-V'
  320. arm-buildroot-linux-gnueabi-gcc.br_real: fatal error: no input files
  321. compilation terminated.
  322. configure:8712: $? = 1
  323. configure:8701: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -qversion >&5
  324. arm-buildroot-linux-gnueabi-gcc.br_real: error: unrecognized command line option '-qversion'; did you mean '--version'?
  325. arm-buildroot-linux-gnueabi-gcc.br_real: fatal error: no input files
  326. compilation terminated.
  327. configure:8712: $? = 1
  328. configure:8716: checking whether we are using the GNU C compiler
  329. configure:8744: result: yes
  330. configure:8753: checking whether /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc accepts -g
  331. configure:8814: result: yes
  332. configure:8831: checking for /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc option to accept ISO C89
  333. configure:8907: result: none needed
  334. configure:8932: checking how to run the C preprocessor
  335. configure:9002: result: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-cpp
  336. configure:9022: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c
  337. configure:9022: $? = 0
  338. configure:9036: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c
  339. conftest.c:21:10: fatal error: ac_nonexistent.h: No such file or directory
  340. #include <ac_nonexistent.h>
  341. ^~~~~~~~~~~~~~~~~~
  342. compilation terminated.
  343. configure:9036: $? = 1
  344. configure: failed program was:
  345. | /* confdefs.h */
  346. | #define PACKAGE_NAME ""
  347. | #define PACKAGE_TARNAME ""
  348. | #define PACKAGE_VERSION ""
  349. | #define PACKAGE_STRING ""
  350. | #define PACKAGE_BUGREPORT ""
  351. | #define PACKAGE_URL ""
  352. | #define STDC_HEADERS 1
  353. | #define HAVE_SYS_TYPES_H 1
  354. | #define HAVE_SYS_STAT_H 1
  355. | #define HAVE_STDLIB_H 1
  356. | #define HAVE_STRING_H 1
  357. | #define HAVE_MEMORY_H 1
  358. | #define HAVE_STRINGS_H 1
  359. | #define HAVE_INTTYPES_H 1
  360. | #define HAVE_STDINT_H 1
  361. | #define HAVE_UNISTD_H 1
  362. | #define HAVE_DLFCN_H 1
  363. | #define LT_OBJDIR ".libs/"
  364. | /* end confdefs.h. */
  365. | #include <ac_nonexistent.h>
  366. configure:9064: checking for grep that handles long lines and -e
  367. configure:9122: result: /usr/bin/grep
  368. configure:9127: checking whether byte ordering is bigendian
  369. configure:9333: result: no
  370. configure:9354: checking for cpp
  371. configure:9372: found /usr/bin/cpp
  372. configure:9384: result: /usr/bin/cpp
  373. configure:9452: checking if /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc supports -fno-math-errno
  374. configure:9470: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-math-errno conftest.c >&5
  375. configure:9474: $? = 0
  376. configure:9472: result: yes
  377. configure:9481: checking if /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc supports -fno-signed-zeros
  378. configure:9499: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-math-errno -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-signed-zeros conftest.c >&5
  379. configure:9503: $? = 0
  380. configure:9501: result: yes
  381. configure:9510: checking if /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc supports -std=gnu99
  382. configure:9528: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-math-errno -fno-signed-zeros -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -std=gnu99 conftest.c >&5
  383. configure:9532: $? = 0
  384. configure:9530: result: yes
  385. configure:9542: checking if /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc supports -Wall
  386. configure:9560: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -c -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-math-errno -fno-signed-zeros -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall conftest.c >&5
  387. configure:9564: $? = 0
  388. configure:9562: result: yes
  389. configure:9571: checking if /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc supports -Wmissing-prototypes
  390. configure:9589: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -c -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-math-errno -fno-signed-zeros -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wmissing-prototypes conftest.c >&5
  391. configure:9593: $? = 0
  392. configure:9591: result: yes
  393. configure:9603: checking if /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc supports -ffloat-store
  394. configure:9621: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -c -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-math-errno -fno-signed-zeros -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -ffloat-store conftest.c >&5
  395. configure:9625: $? = 0
  396. configure:9623: result: yes
  397. configure:9635: checking if /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc supports --exclude-libs
  398. configure:9663: result: yes
  399. configure:9736: checking for flex
  400. configure:9752: found /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/flex
  401. configure:9763: result: flex
  402. configure:9801: flex conftest.l
  403. configure:9805: $? = 0
  404. configure:9807: checking lex output file root
  405. configure:9821: result: lex.yy
  406. configure:9826: checking lex library
  407. configure:9840: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -o conftest -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-math-errno -fno-signed-zeros -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
  408. /home/thibault/Documents/Dev/buildroot/buildroot/output/host/lib/gcc/arm-buildroot-linux-gnueabi/7.4.0/../../../../arm-buildroot-linux-gnueabi/bin/ld: /tmp/ccmL0jyu.o: in function `yylex':
  409. conftest.c:(.text+0x988): undefined reference to `yywrap'
  410. /home/thibault/Documents/Dev/buildroot/buildroot/output/host/lib/gcc/arm-buildroot-linux-gnueabi/7.4.0/../../../../arm-buildroot-linux-gnueabi/bin/ld: conftest.c:(.text+0xc48): undefined reference to `yywrap'
  411. /home/thibault/Documents/Dev/buildroot/buildroot/output/host/lib/gcc/arm-buildroot-linux-gnueabi/7.4.0/../../../../arm-buildroot-linux-gnueabi/bin/ld: /tmp/ccmL0jyu.o: in function `main':
  412. conftest.c:(.text.startup+0xc): undefined reference to `yywrap'
  413. collect2: error: ld returned 1 exit status
  414. configure:9840: $? = 1
  415. configure: failed program was:
  416. | /* confdefs.h */
  417. | #define PACKAGE_NAME ""
  418. | #define PACKAGE_TARNAME ""
  419. | #define PACKAGE_VERSION ""
  420. | #define PACKAGE_STRING ""
  421. | #define PACKAGE_BUGREPORT ""
  422. | #define PACKAGE_URL ""
  423. | #define STDC_HEADERS 1
  424. | #define HAVE_SYS_TYPES_H 1
  425. | #define HAVE_SYS_STAT_H 1
  426. | #define HAVE_STDLIB_H 1
  427. | #define HAVE_STRING_H 1
  428. | #define HAVE_MEMORY_H 1
  429. | #define HAVE_STRINGS_H 1
  430. | #define HAVE_INTTYPES_H 1
  431. | #define HAVE_STDINT_H 1
  432. | #define HAVE_UNISTD_H 1
  433. | #define HAVE_DLFCN_H 1
  434. | #define LT_OBJDIR ".libs/"
  435. | #define POSTGIS_MAJOR_VERSION "3"
  436. | #define POSTGIS_MINOR_VERSION "0"
  437. | #define POSTGIS_MICRO_VERSION "1"
  438. | /* end confdefs.h. */
  439. |
  440. | #line 2 "lex.yy.c"
  441. |
  442. | #define YY_INT_ALIGNED short int
  443. |
  444. | /* A lexical scanner generated by flex */
  445. |
  446. | #define FLEX_SCANNER
  447. | #define YY_FLEX_MAJOR_VERSION 2
  448. | #define YY_FLEX_MINOR_VERSION 6
  449. | #define YY_FLEX_SUBMINOR_VERSION 4
  450. | #if YY_FLEX_SUBMINOR_VERSION > 0
  451. | #define FLEX_BETA
  452. | #endif
  453. |
  454. | /* First, we deal with platform-specific or compiler-specific issues. */
  455. |
  456. | /* begin standard C headers. */
  457. | #include <stdio.h>
  458. | #include <string.h>
  459. | #include <errno.h>
  460. | #include <stdlib.h>
  461. |
  462. | /* end standard C headers. */
  463. |
  464. | /* flex integer type definitions */
  465. |
  466. | #ifndef FLEXINT_H
  467. | #define FLEXINT_H
  468. |
  469. | /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
  470. |
  471. | #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
  472. |
  473. | /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
  474. | * if you want the limit (max/min) macros for int types.
  475. | */
  476. | #ifndef __STDC_LIMIT_MACROS
  477. | #define __STDC_LIMIT_MACROS 1
  478. | #endif
  479. |
  480. | #include <inttypes.h>
  481. | typedef int8_t flex_int8_t;
  482. | typedef uint8_t flex_uint8_t;
  483. | typedef int16_t flex_int16_t;
  484. | typedef uint16_t flex_uint16_t;
  485. | typedef int32_t flex_int32_t;
  486. | typedef uint32_t flex_uint32_t;
  487. | #else
  488. | typedef signed char flex_int8_t;
  489. | typedef short int flex_int16_t;
  490. | typedef int flex_int32_t;
  491. | typedef unsigned char flex_uint8_t;
  492. | typedef unsigned short int flex_uint16_t;
  493. | typedef unsigned int flex_uint32_t;
  494. |
  495. | /* Limits of integral types. */
  496. | #ifndef INT8_MIN
  497. | #define INT8_MIN (-128)
  498. | #endif
  499. | #ifndef INT16_MIN
  500. | #define INT16_MIN (-32767-1)
  501. | #endif
  502. | #ifndef INT32_MIN
  503. | #define INT32_MIN (-2147483647-1)
  504. | #endif
  505. | #ifndef INT8_MAX
  506. | #define INT8_MAX (127)
  507. | #endif
  508. | #ifndef INT16_MAX
  509. | #define INT16_MAX (32767)
  510. | #endif
  511. | #ifndef INT32_MAX
  512. | #define INT32_MAX (2147483647)
  513. | #endif
  514. | #ifndef UINT8_MAX
  515. | #define UINT8_MAX (255U)
  516. | #endif
  517. | #ifndef UINT16_MAX
  518. | #define UINT16_MAX (65535U)
  519. | #endif
  520. | #ifndef UINT32_MAX
  521. | #define UINT32_MAX (4294967295U)
  522. | #endif
  523. |
  524. | #ifndef SIZE_MAX
  525. | #define SIZE_MAX (~(size_t)0)
  526. | #endif
  527. |
  528. | #endif /* ! C99 */
  529. |
  530. | #endif /* ! FLEXINT_H */
  531. |
  532. | /* begin standard C++ headers. */
  533. |
  534. | /* TODO: this is always defined, so inline it */
  535. | #define yyconst const
  536. |
  537. | #if defined(__GNUC__) && __GNUC__ >= 3
  538. | #define yynoreturn __attribute__((__noreturn__))
  539. | #else
  540. | #define yynoreturn
  541. | #endif
  542. |
  543. | /* Returned upon end-of-file. */
  544. | #define YY_NULL 0
  545. |
  546. | /* Promotes a possibly negative, possibly signed char to an
  547. | * integer in range [0..255] for use as an array index.
  548. | */
  549. | #define YY_SC_TO_UI(c) ((YY_CHAR) (c))
  550. |
  551. | /* Enter a start condition. This macro really ought to take a parameter,
  552. | * but we do it the disgusting crufty way forced on us by the ()-less
  553. | * definition of BEGIN.
  554. | */
  555. | #define BEGIN (yy_start) = 1 + 2 *
  556. | /* Translate the current start state into a value that can be later handed
  557. | * to BEGIN to return to the state. The YYSTATE alias is for lex
  558. | * compatibility.
  559. | */
  560. | #define YY_START (((yy_start) - 1) / 2)
  561. | #define YYSTATE YY_START
  562. | /* Action number for EOF rule of a given start state. */
  563. | #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
  564. | /* Special action meaning "start processing a new file". */
  565. | #define YY_NEW_FILE yyrestart( yyin )
  566. | #define YY_END_OF_BUFFER_CHAR 0
  567. |
  568. | /* Size of default input buffer. */
  569. | #ifndef YY_BUF_SIZE
  570. | #ifdef __ia64__
  571. | /* On IA-64, the buffer size is 16k, not 8k.
  572. | * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
  573. | * Ditto for the __ia64__ case accordingly.
  574. | */
  575. | #define YY_BUF_SIZE 32768
  576. | #else
  577. | #define YY_BUF_SIZE 16384
  578. | #endif /* __ia64__ */
  579. | #endif
  580. |
  581. | /* The state buf must be large enough to hold one state per character in the main buffer.
  582. | */
  583. | #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
  584. |
  585. | #ifndef YY_TYPEDEF_YY_BUFFER_STATE
  586. | #define YY_TYPEDEF_YY_BUFFER_STATE
  587. | typedef struct yy_buffer_state *YY_BUFFER_STATE;
  588. | #endif
  589. |
  590. | #ifndef YY_TYPEDEF_YY_SIZE_T
  591. | #define YY_TYPEDEF_YY_SIZE_T
  592. | typedef size_t yy_size_t;
  593. | #endif
  594. |
  595. | extern int yyleng;
  596. |
  597. | extern FILE *yyin, *yyout;
  598. |
  599. | #define EOB_ACT_CONTINUE_SCAN 0
  600. | #define EOB_ACT_END_OF_FILE 1
  601. | #define EOB_ACT_LAST_MATCH 2
  602. |
  603. | #define YY_LESS_LINENO(n)
  604. | #define YY_LINENO_REWIND_TO(ptr)
  605. |
  606. | /* Return all but the first "n" matched characters back to the input stream. */
  607. | #define yyless(n) \
  608. | do \
  609. | { \
  610. | /* Undo effects of setting up yytext. */ \
  611. | int yyless_macro_arg = (n); \
  612. | YY_LESS_LINENO(yyless_macro_arg);\
  613. | *yy_cp = (yy_hold_char); \
  614. | YY_RESTORE_YY_MORE_OFFSET \
  615. | (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
  616. | YY_DO_BEFORE_ACTION; /* set up yytext again */ \
  617. | } \
  618. | while ( 0 )
  619. | #define unput(c) yyunput( c, (yytext_ptr) )
  620. |
  621. | #ifndef YY_STRUCT_YY_BUFFER_STATE
  622. | #define YY_STRUCT_YY_BUFFER_STATE
  623. | struct yy_buffer_state
  624. | {
  625. | FILE *yy_input_file;
  626. |
  627. | char *yy_ch_buf; /* input buffer */
  628. | char *yy_buf_pos; /* current position in input buffer */
  629. |
  630. | /* Size of input buffer in bytes, not including room for EOB
  631. | * characters.
  632. | */
  633. | int yy_buf_size;
  634. |
  635. | /* Number of characters read into yy_ch_buf, not including EOB
  636. | * characters.
  637. | */
  638. | int yy_n_chars;
  639. |
  640. | /* Whether we "own" the buffer - i.e., we know we created it,
  641. | * and can realloc() it to grow it, and should free() it to
  642. | * delete it.
  643. | */
  644. | int yy_is_our_buffer;
  645. |
  646. | /* Whether this is an "interactive" input source; if so, and
  647. | * if we're using stdio for input, then we want to use getc()
  648. | * instead of fread(), to make sure we stop fetching input after
  649. | * each newline.
  650. | */
  651. | int yy_is_interactive;
  652. |
  653. | /* Whether we're considered to be at the beginning of a line.
  654. | * If so, '^' rules will be active on the next match, otherwise
  655. | * not.
  656. | */
  657. | int yy_at_bol;
  658. |
  659. | int yy_bs_lineno; /**< The line count. */
  660. | int yy_bs_column; /**< The column count. */
  661. |
  662. | /* Whether to try to fill the input buffer when we reach the
  663. | * end of it.
  664. | */
  665. | int yy_fill_buffer;
  666. |
  667. | int yy_buffer_status;
  668. |
  669. | #define YY_BUFFER_NEW 0
  670. | #define YY_BUFFER_NORMAL 1
  671. | /* When an EOF's been seen but there's still some text to process
  672. | * then we mark the buffer as YY_EOF_PENDING, to indicate that we
  673. | * shouldn't try reading from the input source any more. We might
  674. | * still have a bunch of tokens to match, though, because of
  675. | * possible backing-up.
  676. | *
  677. | * When we actually see the EOF, we change the status to "new"
  678. | * (via yyrestart()), so that the user can continue scanning by
  679. | * just pointing yyin at a new input file.
  680. | */
  681. | #define YY_BUFFER_EOF_PENDING 2
  682. |
  683. | };
  684. | #endif /* !YY_STRUCT_YY_BUFFER_STATE */
  685. |
  686. | /* Stack of input buffers. */
  687. | static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
  688. | static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
  689. | static YY_BUFFER_STATE * yy_buffer_stack = NULL; /**< Stack as an array. */
  690. |
  691. | /* We provide macros for accessing buffer states in case in the
  692. | * future we want to put the buffer states in a more general
  693. | * "scanner state".
  694. | *
  695. | * Returns the top of the stack, or NULL.
  696. | */
  697. | #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
  698. | ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
  699. | : NULL)
  700. | /* Same as previous macro, but useful when we know that the buffer stack is not
  701. | * NULL or when we need an lvalue. For internal use only.
  702. | */
  703. | #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
  704. |
  705. | /* yy_hold_char holds the character lost when yytext is formed. */
  706. | static char yy_hold_char;
  707. | static int yy_n_chars; /* number of characters read into yy_ch_buf */
  708. | int yyleng;
  709. |
  710. | /* Points to current character in buffer. */
  711. | static char *yy_c_buf_p = NULL;
  712. | static int yy_init = 0; /* whether we need to initialize */
  713. | static int yy_start = 0; /* start state number */
  714. |
  715. | /* Flag which is used to allow yywrap()'s to do buffer switches
  716. | * instead of setting up a fresh yyin. A bit of a hack ...
  717. | */
  718. | static int yy_did_buffer_switch_on_eof;
  719. |
  720. | void yyrestart ( FILE *input_file );
  721. | void yy_switch_to_buffer ( YY_BUFFER_STATE new_buffer );
  722. | YY_BUFFER_STATE yy_create_buffer ( FILE *file, int size );
  723. | void yy_delete_buffer ( YY_BUFFER_STATE b );
  724. | void yy_flush_buffer ( YY_BUFFER_STATE b );
  725. | void yypush_buffer_state ( YY_BUFFER_STATE new_buffer );
  726. | void yypop_buffer_state ( void );
  727. |
  728. | static void yyensure_buffer_stack ( void );
  729. | static void yy_load_buffer_state ( void );
  730. | static void yy_init_buffer ( YY_BUFFER_STATE b, FILE *file );
  731. | #define YY_FLUSH_BUFFER yy_flush_buffer( YY_CURRENT_BUFFER )
  732. |
  733. | YY_BUFFER_STATE yy_scan_buffer ( char *base, yy_size_t size );
  734. | YY_BUFFER_STATE yy_scan_string ( const char *yy_str );
  735. | YY_BUFFER_STATE yy_scan_bytes ( const char *bytes, int len );
  736. |
  737. | void *yyalloc ( yy_size_t );
  738. | void *yyrealloc ( void *, yy_size_t );
  739. | void yyfree ( void * );
  740. |
  741. | #define yy_new_buffer yy_create_buffer
  742. | #define yy_set_interactive(is_interactive) \
  743. | { \
  744. | if ( ! YY_CURRENT_BUFFER ){ \
  745. | yyensure_buffer_stack (); \
  746. | YY_CURRENT_BUFFER_LVALUE = \
  747. | yy_create_buffer( yyin, YY_BUF_SIZE ); \
  748. | } \
  749. | YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
  750. | }
  751. | #define yy_set_bol(at_bol) \
  752. | { \
  753. | if ( ! YY_CURRENT_BUFFER ){\
  754. | yyensure_buffer_stack (); \
  755. | YY_CURRENT_BUFFER_LVALUE = \
  756. | yy_create_buffer( yyin, YY_BUF_SIZE ); \
  757. | } \
  758. | YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
  759. | }
  760. | #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
  761. |
  762. | /* Begin user sect3 */
  763. | typedef flex_uint8_t YY_CHAR;
  764. |
  765. | FILE *yyin = NULL, *yyout = NULL;
  766. |
  767. | typedef int yy_state_type;
  768. |
  769. | extern int yylineno;
  770. | int yylineno = 1;
  771. |
  772. | extern char *yytext;
  773. | #ifdef yytext_ptr
  774. | #undef yytext_ptr
  775. | #endif
  776. | #define yytext_ptr yytext
  777. |
  778. | static yy_state_type yy_get_previous_state ( void );
  779. | static yy_state_type yy_try_NUL_trans ( yy_state_type current_state );
  780. | static int yy_get_next_buffer ( void );
  781. | static void yynoreturn yy_fatal_error ( const char* msg );
  782. |
  783. | /* Done after the current pattern has been matched and before the
  784. | * corresponding action - sets up yytext.
  785. | */
  786. | #define YY_DO_BEFORE_ACTION \
  787. | (yytext_ptr) = yy_bp; \
  788. | (yytext_ptr) -= (yy_more_len); \
  789. | yyleng = (int) (yy_cp - (yytext_ptr)); \
  790. | (yy_hold_char) = *yy_cp; \
  791. | *yy_cp = '\0'; \
  792. | (yy_c_buf_p) = yy_cp;
  793. | #define YY_NUM_RULES 8
  794. | #define YY_END_OF_BUFFER 9
  795. | /* This struct is not used in this scanner,
  796. | but its presence is necessary. */
  797. | struct yy_trans_info
  798. | {
  799. | flex_int32_t yy_verify;
  800. | flex_int32_t yy_nxt;
  801. | };
  802. | static const flex_int16_t yy_acclist[23] =
  803. | { 0,
  804. | 9, 7, 8, 8, 1, 7, 8, 2, 7, 8,
  805. | 3, 7, 8, 4, 7, 8, 5, 7, 8, 6,
  806. | 7, 8
  807. | } ;
  808. |
  809. | static const flex_int16_t yy_accept[14] =
  810. | { 0,
  811. | 1, 1, 1, 2, 4, 5, 8, 11, 14, 17,
  812. | 20, 23, 23
  813. | } ;
  814. |
  815. | static const YY_CHAR yy_ec[256] =
  816. | { 0,
  817. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 2,
  818. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  819. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  820. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  821. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  822. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  823. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  824. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  825. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  826. | 1, 1, 1, 1, 1, 1, 3, 4, 5, 6,
  827. |
  828. | 7, 8, 1, 1, 1, 1, 1, 1, 1, 1,
  829. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  830. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  831. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  832. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  833. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  834. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  835. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  836. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  837. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  838. |
  839. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  840. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  841. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  842. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  843. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  844. | 1, 1, 1, 1, 1
  845. | } ;
  846. |
  847. | static const YY_CHAR yy_meta[9] =
  848. | { 0,
  849. | 1, 1, 1, 1, 1, 1, 1, 1
  850. | } ;
  851. |
  852. | static const flex_int16_t yy_base[13] =
  853. | { 0,
  854. | 0, 0, 9, 10, 10, 10, 10, 10, 10, 10,
  855. | 10, 10
  856. | } ;
  857. |
  858. | static const flex_int16_t yy_def[13] =
  859. | { 0,
  860. | 12, 1, 12, 12, 12, 12, 12, 12, 12, 12,
  861. | 12, 0
  862. | } ;
  863. |
  864. | static const flex_int16_t yy_nxt[19] =
  865. | { 0,
  866. | 4, 5, 6, 7, 8, 9, 10, 11, 12, 3,
  867. | 12, 12, 12, 12, 12, 12, 12, 12
  868. | } ;
  869. |
  870. | static const flex_int16_t yy_chk[19] =
  871. | { 0,
  872. | 1, 1, 1, 1, 1, 1, 1, 1, 3, 12,
  873. | 12, 12, 12, 12, 12, 12, 12, 12
  874. | } ;
  875. |
  876. | extern int yy_flex_debug;
  877. | int yy_flex_debug = 0;
  878. |
  879. | static yy_state_type *yy_state_buf=0, *yy_state_ptr=0;
  880. | static char *yy_full_match;
  881. | static int yy_lp;
  882. | #define REJECT \
  883. | { \
  884. | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \
  885. | yy_cp = (yy_full_match); /* restore poss. backed-over text */ \
  886. | ++(yy_lp); \
  887. | goto find_rule; \
  888. | }
  889. |
  890. | static int yy_more_flag = 0;
  891. | static int yy_more_len = 0;
  892. | #define yymore() ((yy_more_flag) = 1)
  893. | #define YY_MORE_ADJ (yy_more_len)
  894. | #define YY_RESTORE_YY_MORE_OFFSET
  895. | char *yytext;
  896. | #line 1 "conftest.l"
  897. | #line 459 "lex.yy.c"
  898. |
  899. | #define INITIAL 0
  900. |
  901. | #ifndef YY_NO_UNISTD_H
  902. | /* Special case for "unistd.h", since it is non-ANSI. We include it way
  903. | * down here because we want the user's section 1 to have been scanned first.
  904. | * The user has a chance to override it with an option.
  905. | */
  906. | #include <unistd.h>
  907. | #endif
  908. |
  909. | #ifndef YY_EXTRA_TYPE
  910. | #define YY_EXTRA_TYPE void *
  911. | #endif
  912. |
  913. | static int yy_init_globals ( void );
  914. |
  915. | /* Accessor methods to globals.
  916. | These are made visible to non-reentrant scanners for convenience. */
  917. |
  918. | int yylex_destroy ( void );
  919. |
  920. | int yyget_debug ( void );
  921. |
  922. | void yyset_debug ( int debug_flag );
  923. |
  924. | YY_EXTRA_TYPE yyget_extra ( void );
  925. |
  926. | void yyset_extra ( YY_EXTRA_TYPE user_defined );
  927. |
  928. | FILE *yyget_in ( void );
  929. |
  930. | void yyset_in ( FILE * _in_str );
  931. |
  932. | FILE *yyget_out ( void );
  933. |
  934. | void yyset_out ( FILE * _out_str );
  935. |
  936. | int yyget_leng ( void );
  937. |
  938. | char *yyget_text ( void );
  939. |
  940. | int yyget_lineno ( void );
  941. |
  942. | void yyset_lineno ( int _line_number );
  943. |
  944. | /* Macros after this point can all be overridden by user definitions in
  945. | * section 1.
  946. | */
  947. |
  948. | #ifndef YY_SKIP_YYWRAP
  949. | #ifdef __cplusplus
  950. | extern "C" int yywrap ( void );
  951. | #else
  952. | extern int yywrap ( void );
  953. | #endif
  954. | #endif
  955. |
  956. | #ifndef YY_NO_UNPUT
  957. |
  958. | static void yyunput ( int c, char *buf_ptr );
  959. |
  960. | #endif
  961. |
  962. | #ifndef yytext_ptr
  963. | static void yy_flex_strncpy ( char *, const char *, int );
  964. | #endif
  965. |
  966. | #ifdef YY_NEED_STRLEN
  967. | static int yy_flex_strlen ( const char * );
  968. | #endif
  969. |
  970. | #ifndef YY_NO_INPUT
  971. | #ifdef __cplusplus
  972. | static int yyinput ( void );
  973. | #else
  974. | static int input ( void );
  975. | #endif
  976. |
  977. | #endif
  978. |
  979. | /* Amount of stuff to slurp up with each read. */
  980. | #ifndef YY_READ_BUF_SIZE
  981. | #ifdef __ia64__
  982. | /* On IA-64, the buffer size is 16k, not 8k */
  983. | #define YY_READ_BUF_SIZE 16384
  984. | #else
  985. | #define YY_READ_BUF_SIZE 8192
  986. | #endif /* __ia64__ */
  987. | #endif
  988. |
  989. | /* Copy whatever the last rule matched to the standard output. */
  990. | #ifndef ECHO
  991. | /* This used to be an fputs(), but since the string might contain NUL's,
  992. | * we now use fwrite().
  993. | */
  994. | #define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0)
  995. | #endif
  996. |
  997. | /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
  998. | * is returned in "result".
  999. | */
  1000. | #ifndef YY_INPUT
  1001. | #define YY_INPUT(buf,result,max_size) \
  1002. | if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
  1003. | { \
  1004. | int c = '*'; \
  1005. | int n; \
  1006. | for ( n = 0; n < max_size && \
  1007. | (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
  1008. | buf[n] = (char) c; \
  1009. | if ( c == '\n' ) \
  1010. | buf[n++] = (char) c; \
  1011. | if ( c == EOF && ferror( yyin ) ) \
  1012. | YY_FATAL_ERROR( "input in flex scanner failed" ); \
  1013. | result = n; \
  1014. | } \
  1015. | else \
  1016. | { \
  1017. | errno=0; \
  1018. | while ( (result = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \
  1019. | { \
  1020. | if( errno != EINTR) \
  1021. | { \
  1022. | YY_FATAL_ERROR( "input in flex scanner failed" ); \
  1023. | break; \
  1024. | } \
  1025. | errno=0; \
  1026. | clearerr(yyin); \
  1027. | } \
  1028. | }\
  1029. | \
  1030. |
  1031. | #endif
  1032. |
  1033. | /* No semi-colon after return; correct usage is to write "yyterminate();" -
  1034. | * we don't want an extra ';' after the "return" because that will cause
  1035. | * some compilers to complain about unreachable statements.
  1036. | */
  1037. | #ifndef yyterminate
  1038. | #define yyterminate() return YY_NULL
  1039. | #endif
  1040. |
  1041. | /* Number of entries by which start-condition stack grows. */
  1042. | #ifndef YY_START_STACK_INCR
  1043. | #define YY_START_STACK_INCR 25
  1044. | #endif
  1045. |
  1046. | /* Report a fatal error. */
  1047. | #ifndef YY_FATAL_ERROR
  1048. | #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
  1049. | #endif
  1050. |
  1051. | /* end tables serialization structures and prototypes */
  1052. |
  1053. | /* Default declaration of generated scanner - a define so the user can
  1054. | * easily add parameters.
  1055. | */
  1056. | #ifndef YY_DECL
  1057. | #define YY_DECL_IS_OURS 1
  1058. |
  1059. | extern int yylex (void);
  1060. |
  1061. | #define YY_DECL int yylex (void)
  1062. | #endif /* !YY_DECL */
  1063. |
  1064. | /* Code executed at the beginning of each rule, after yytext and yyleng
  1065. | * have been set up.
  1066. | */
  1067. | #ifndef YY_USER_ACTION
  1068. | #define YY_USER_ACTION
  1069. | #endif
  1070. |
  1071. | /* Code executed at the end of each rule. */
  1072. | #ifndef YY_BREAK
  1073. | #define YY_BREAK /*LINTED*/break;
  1074. | #endif
  1075. |
  1076. | #define YY_RULE_SETUP \
  1077. | YY_USER_ACTION
  1078. |
  1079. | /** The main scanner function which does all the work.
  1080. | */
  1081. | YY_DECL
  1082. | {
  1083. | yy_state_type yy_current_state;
  1084. | char *yy_cp, *yy_bp;
  1085. | int yy_act;
  1086. |
  1087. | if ( !(yy_init) )
  1088. | {
  1089. | (yy_init) = 1;
  1090. |
  1091. | #ifdef YY_USER_INIT
  1092. | YY_USER_INIT;
  1093. | #endif
  1094. |
  1095. | /* Create the reject buffer large enough to save one state per allowed character. */
  1096. | if ( ! (yy_state_buf) )
  1097. | (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE );
  1098. | if ( ! (yy_state_buf) )
  1099. | YY_FATAL_ERROR( "out of dynamic memory in yylex()" );
  1100. |
  1101. | if ( ! (yy_start) )
  1102. | (yy_start) = 1; /* first start state */
  1103. |
  1104. | if ( ! yyin )
  1105. | yyin = stdin;
  1106. |
  1107. | if ( ! yyout )
  1108. | yyout = stdout;
  1109. |
  1110. | if ( ! YY_CURRENT_BUFFER ) {
  1111. | yyensure_buffer_stack ();
  1112. | YY_CURRENT_BUFFER_LVALUE =
  1113. | yy_create_buffer( yyin, YY_BUF_SIZE );
  1114. | }
  1115. |
  1116. | yy_load_buffer_state( );
  1117. | }
  1118. |
  1119. | {
  1120. | #line 1 "conftest.l"
  1121. |
  1122. | #line 684 "lex.yy.c"
  1123. |
  1124. | while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */
  1125. | {
  1126. | (yy_more_len) = 0;
  1127. | if ( (yy_more_flag) )
  1128. | {
  1129. | (yy_more_len) = (int) ((yy_c_buf_p) - (yytext_ptr));
  1130. | (yy_more_flag) = 0;
  1131. | }
  1132. | yy_cp = (yy_c_buf_p);
  1133. |
  1134. | /* Support of yytext. */
  1135. | *yy_cp = (yy_hold_char);
  1136. |
  1137. | /* yy_bp points to the position in yy_ch_buf of the start of
  1138. | * the current run.
  1139. | */
  1140. | yy_bp = yy_cp;
  1141. |
  1142. | yy_current_state = (yy_start);
  1143. |
  1144. | (yy_state_ptr) = (yy_state_buf);
  1145. | *(yy_state_ptr)++ = yy_current_state;
  1146. |
  1147. | yy_match:
  1148. | do
  1149. | {
  1150. | YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ;
  1151. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  1152. | {
  1153. | yy_current_state = (int) yy_def[yy_current_state];
  1154. | if ( yy_current_state >= 13 )
  1155. | yy_c = yy_meta[yy_c];
  1156. | }
  1157. | yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
  1158. | *(yy_state_ptr)++ = yy_current_state;
  1159. | ++yy_cp;
  1160. | }
  1161. | while ( yy_base[yy_current_state] != 10 );
  1162. |
  1163. | yy_find_action:
  1164. | yy_current_state = *--(yy_state_ptr);
  1165. | (yy_lp) = yy_accept[yy_current_state];
  1166. |
  1167. | find_rule: /* we branch to this label when backing up */
  1168. |
  1169. | for ( ; ; ) /* until we find what rule we matched */
  1170. | {
  1171. | if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] )
  1172. | {
  1173. | yy_act = yy_acclist[(yy_lp)];
  1174. | {
  1175. | (yy_full_match) = yy_cp;
  1176. | break;
  1177. | }
  1178. | }
  1179. | --yy_cp;
  1180. | yy_current_state = *--(yy_state_ptr);
  1181. | (yy_lp) = yy_accept[yy_current_state];
  1182. | }
  1183. |
  1184. | YY_DO_BEFORE_ACTION;
  1185. |
  1186. | do_action: /* This label is used only to access EOF actions. */
  1187. |
  1188. | switch ( yy_act )
  1189. | { /* beginning of action switch */
  1190. | case 1:
  1191. | YY_RULE_SETUP
  1192. | #line 2 "conftest.l"
  1193. | { ECHO; }
  1194. | YY_BREAK
  1195. | case 2:
  1196. | YY_RULE_SETUP
  1197. | #line 3 "conftest.l"
  1198. | { REJECT; }
  1199. | YY_BREAK
  1200. | case 3:
  1201. | YY_RULE_SETUP
  1202. | #line 4 "conftest.l"
  1203. | { yymore (); }
  1204. | YY_BREAK
  1205. | case 4:
  1206. | YY_RULE_SETUP
  1207. | #line 5 "conftest.l"
  1208. | { yyless (1); }
  1209. | YY_BREAK
  1210. | case 5:
  1211. | YY_RULE_SETUP
  1212. | #line 6 "conftest.l"
  1213. | { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
  1214. | yyless ((input () != 0)); }
  1215. | YY_BREAK
  1216. | case 6:
  1217. | YY_RULE_SETUP
  1218. | #line 8 "conftest.l"
  1219. | { unput (yytext[0]); }
  1220. | YY_BREAK
  1221. | case 7:
  1222. | YY_RULE_SETUP
  1223. | #line 9 "conftest.l"
  1224. | { BEGIN INITIAL; }
  1225. | YY_BREAK
  1226. | case 8:
  1227. | YY_RULE_SETUP
  1228. | #line 10 "conftest.l"
  1229. | ECHO;
  1230. | YY_BREAK
  1231. | #line 793 "lex.yy.c"
  1232. | case YY_STATE_EOF(INITIAL):
  1233. | yyterminate();
  1234. |
  1235. | case YY_END_OF_BUFFER:
  1236. | {
  1237. | /* Amount of text matched not including the EOB char. */
  1238. | int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
  1239. |
  1240. | /* Undo the effects of YY_DO_BEFORE_ACTION. */
  1241. | *yy_cp = (yy_hold_char);
  1242. | YY_RESTORE_YY_MORE_OFFSET
  1243. |
  1244. | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
  1245. | {
  1246. | /* We're scanning a new file or input source. It's
  1247. | * possible that this happened because the user
  1248. | * just pointed yyin at a new source and called
  1249. | * yylex(). If so, then we have to assure
  1250. | * consistency between YY_CURRENT_BUFFER and our
  1251. | * globals. Here is the right place to do so, because
  1252. | * this is the first action (other than possibly a
  1253. | * back-up) that will match for the new input source.
  1254. | */
  1255. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  1256. | YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
  1257. | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
  1258. | }
  1259. |
  1260. | /* Note that here we test for yy_c_buf_p "<=" to the position
  1261. | * of the first EOB in the buffer, since yy_c_buf_p will
  1262. | * already have been incremented past the NUL character
  1263. | * (since all states make transitions on EOB to the
  1264. | * end-of-buffer state). Contrast this with the test
  1265. | * in input().
  1266. | */
  1267. | if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
  1268. | { /* This was really a NUL. */
  1269. | yy_state_type yy_next_state;
  1270. |
  1271. | (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
  1272. |
  1273. | yy_current_state = yy_get_previous_state( );
  1274. |
  1275. | /* Okay, we're now positioned to make the NUL
  1276. | * transition. We couldn't have
  1277. | * yy_get_previous_state() go ahead and do it
  1278. | * for us because it doesn't know how to deal
  1279. | * with the possibility of jamming (and we don't
  1280. | * want to build jamming into it because then it
  1281. | * will run more slowly).
  1282. | */
  1283. |
  1284. | yy_next_state = yy_try_NUL_trans( yy_current_state );
  1285. |
  1286. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  1287. |
  1288. | if ( yy_next_state )
  1289. | {
  1290. | /* Consume the NUL. */
  1291. | yy_cp = ++(yy_c_buf_p);
  1292. | yy_current_state = yy_next_state;
  1293. | goto yy_match;
  1294. | }
  1295. |
  1296. | else
  1297. | {
  1298. | yy_cp = (yy_c_buf_p);
  1299. | goto yy_find_action;
  1300. | }
  1301. | }
  1302. |
  1303. | else switch ( yy_get_next_buffer( ) )
  1304. | {
  1305. | case EOB_ACT_END_OF_FILE:
  1306. | {
  1307. | (yy_did_buffer_switch_on_eof) = 0;
  1308. |
  1309. | if ( yywrap( ) )
  1310. | {
  1311. | /* Note: because we've taken care in
  1312. | * yy_get_next_buffer() to have set up
  1313. | * yytext, we can now set up
  1314. | * yy_c_buf_p so that if some total
  1315. | * hoser (like flex itself) wants to
  1316. | * call the scanner after we return the
  1317. | * YY_NULL, it'll still work - another
  1318. | * YY_NULL will get returned.
  1319. | */
  1320. | (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
  1321. |
  1322. | yy_act = YY_STATE_EOF(YY_START);
  1323. | goto do_action;
  1324. | }
  1325. |
  1326. | else
  1327. | {
  1328. | if ( ! (yy_did_buffer_switch_on_eof) )
  1329. | YY_NEW_FILE;
  1330. | }
  1331. | break;
  1332. | }
  1333. |
  1334. | case EOB_ACT_CONTINUE_SCAN:
  1335. | (yy_c_buf_p) =
  1336. | (yytext_ptr) + yy_amount_of_matched_text;
  1337. |
  1338. | yy_current_state = yy_get_previous_state( );
  1339. |
  1340. | yy_cp = (yy_c_buf_p);
  1341. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  1342. | goto yy_match;
  1343. |
  1344. | case EOB_ACT_LAST_MATCH:
  1345. | (yy_c_buf_p) =
  1346. | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
  1347. |
  1348. | yy_current_state = yy_get_previous_state( );
  1349. |
  1350. | yy_cp = (yy_c_buf_p);
  1351. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  1352. | goto yy_find_action;
  1353. | }
  1354. | break;
  1355. | }
  1356. |
  1357. | default:
  1358. | YY_FATAL_ERROR(
  1359. | "fatal flex scanner internal error--no action found" );
  1360. | } /* end of action switch */
  1361. | } /* end of scanning one token */
  1362. | } /* end of user's declarations */
  1363. | } /* end of yylex */
  1364. |
  1365. | /* yy_get_next_buffer - try to read in a new buffer
  1366. | *
  1367. | * Returns a code representing an action:
  1368. | * EOB_ACT_LAST_MATCH -
  1369. | * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
  1370. | * EOB_ACT_END_OF_FILE - end of file
  1371. | */
  1372. | static int yy_get_next_buffer (void)
  1373. | {
  1374. | char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
  1375. | char *source = (yytext_ptr);
  1376. | int number_to_move, i;
  1377. | int ret_val;
  1378. |
  1379. | if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
  1380. | YY_FATAL_ERROR(
  1381. | "fatal flex scanner internal error--end of buffer missed" );
  1382. |
  1383. | if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
  1384. | { /* Don't try to fill the buffer, so this is an EOF. */
  1385. | if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
  1386. | {
  1387. | /* We matched a single character, the EOB, so
  1388. | * treat this as a final EOF.
  1389. | */
  1390. | return EOB_ACT_END_OF_FILE;
  1391. | }
  1392. |
  1393. | else
  1394. | {
  1395. | /* We matched some text prior to the EOB, first
  1396. | * process it.
  1397. | */
  1398. | return EOB_ACT_LAST_MATCH;
  1399. | }
  1400. | }
  1401. |
  1402. | /* Try to read more data. */
  1403. |
  1404. | /* First move last chars to start of buffer. */
  1405. | number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr) - 1);
  1406. |
  1407. | for ( i = 0; i < number_to_move; ++i )
  1408. | *(dest++) = *(source++);
  1409. |
  1410. | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
  1411. | /* don't do the read, it's not guaranteed to return an EOF,
  1412. | * just force an EOF
  1413. | */
  1414. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
  1415. |
  1416. | else
  1417. | {
  1418. | int num_to_read =
  1419. | YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
  1420. |
  1421. | while ( num_to_read <= 0 )
  1422. | { /* Not enough room in the buffer - grow it. */
  1423. |
  1424. | YY_FATAL_ERROR(
  1425. | "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
  1426. |
  1427. | }
  1428. |
  1429. | if ( num_to_read > YY_READ_BUF_SIZE )
  1430. | num_to_read = YY_READ_BUF_SIZE;
  1431. |
  1432. | /* Read in more data. */
  1433. | YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
  1434. | (yy_n_chars), num_to_read );
  1435. |
  1436. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  1437. | }
  1438. |
  1439. | if ( (yy_n_chars) == 0 )
  1440. | {
  1441. | if ( number_to_move == YY_MORE_ADJ )
  1442. | {
  1443. | ret_val = EOB_ACT_END_OF_FILE;
  1444. | yyrestart( yyin );
  1445. | }
  1446. |
  1447. | else
  1448. | {
  1449. | ret_val = EOB_ACT_LAST_MATCH;
  1450. | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
  1451. | YY_BUFFER_EOF_PENDING;
  1452. | }
  1453. | }
  1454. |
  1455. | else
  1456. | ret_val = EOB_ACT_CONTINUE_SCAN;
  1457. |
  1458. | if (((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
  1459. | /* Extend the array by 50%, plus the number we really need. */
  1460. | int new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
  1461. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc(
  1462. | (void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf, (yy_size_t) new_size );
  1463. | if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  1464. | YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
  1465. | /* "- 2" to take care of EOB's */
  1466. | YY_CURRENT_BUFFER_LVALUE->yy_buf_size = (int) (new_size - 2);
  1467. | }
  1468. |
  1469. | (yy_n_chars) += number_to_move;
  1470. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
  1471. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
  1472. |
  1473. | (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
  1474. |
  1475. | return ret_val;
  1476. | }
  1477. |
  1478. | /* yy_get_previous_state - get the state just before the EOB char was reached */
  1479. |
  1480. | static yy_state_type yy_get_previous_state (void)
  1481. | {
  1482. | yy_state_type yy_current_state;
  1483. | char *yy_cp;
  1484. |
  1485. | yy_current_state = (yy_start);
  1486. |
  1487. | (yy_state_ptr) = (yy_state_buf);
  1488. | *(yy_state_ptr)++ = yy_current_state;
  1489. |
  1490. | for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
  1491. | {
  1492. | YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
  1493. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  1494. | {
  1495. | yy_current_state = (int) yy_def[yy_current_state];
  1496. | if ( yy_current_state >= 13 )
  1497. | yy_c = yy_meta[yy_c];
  1498. | }
  1499. | yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
  1500. | *(yy_state_ptr)++ = yy_current_state;
  1501. | }
  1502. |
  1503. | return yy_current_state;
  1504. | }
  1505. |
  1506. | /* yy_try_NUL_trans - try to make a transition on the NUL character
  1507. | *
  1508. | * synopsis
  1509. | * next_state = yy_try_NUL_trans( current_state );
  1510. | */
  1511. | static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
  1512. | {
  1513. | int yy_is_jam;
  1514. |
  1515. | YY_CHAR yy_c = 1;
  1516. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  1517. | {
  1518. | yy_current_state = (int) yy_def[yy_current_state];
  1519. | if ( yy_current_state >= 13 )
  1520. | yy_c = yy_meta[yy_c];
  1521. | }
  1522. | yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
  1523. | yy_is_jam = (yy_current_state == 12);
  1524. | if ( ! yy_is_jam )
  1525. | *(yy_state_ptr)++ = yy_current_state;
  1526. |
  1527. | return yy_is_jam ? 0 : yy_current_state;
  1528. | }
  1529. |
  1530. | #ifndef YY_NO_UNPUT
  1531. |
  1532. | static void yyunput (int c, char * yy_bp )
  1533. | {
  1534. | char *yy_cp;
  1535. |
  1536. | yy_cp = (yy_c_buf_p);
  1537. |
  1538. | /* undo effects of setting up yytext */
  1539. | *yy_cp = (yy_hold_char);
  1540. |
  1541. | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  1542. | { /* need to shift things up to make room */
  1543. | /* +2 for EOB chars. */
  1544. | int number_to_move = (yy_n_chars) + 2;
  1545. | char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
  1546. | YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
  1547. | char *source =
  1548. | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
  1549. |
  1550. | while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  1551. | *--dest = *--source;
  1552. |
  1553. | yy_cp += (int) (dest - source);
  1554. | yy_bp += (int) (dest - source);
  1555. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
  1556. | (yy_n_chars) = (int) YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
  1557. |
  1558. | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  1559. | YY_FATAL_ERROR( "flex scanner push-back overflow" );
  1560. | }
  1561. |
  1562. | *--yy_cp = (char) c;
  1563. |
  1564. | (yytext_ptr) = yy_bp;
  1565. | (yy_hold_char) = *yy_cp;
  1566. | (yy_c_buf_p) = yy_cp;
  1567. | }
  1568. |
  1569. | #endif
  1570. |
  1571. | #ifndef YY_NO_INPUT
  1572. | #ifdef __cplusplus
  1573. | static int yyinput (void)
  1574. | #else
  1575. | static int input (void)
  1576. | #endif
  1577. |
  1578. | {
  1579. | int c;
  1580. |
  1581. | *(yy_c_buf_p) = (yy_hold_char);
  1582. |
  1583. | if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
  1584. | {
  1585. | /* yy_c_buf_p now points to the character we want to return.
  1586. | * If this occurs *before* the EOB characters, then it's a
  1587. | * valid NUL; if not, then we've hit the end of the buffer.
  1588. | */
  1589. | if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
  1590. | /* This was really a NUL. */
  1591. | *(yy_c_buf_p) = '\0';
  1592. |
  1593. | else
  1594. | { /* need more input */
  1595. | int offset = (int) ((yy_c_buf_p) - (yytext_ptr));
  1596. | ++(yy_c_buf_p);
  1597. |
  1598. | switch ( yy_get_next_buffer( ) )
  1599. | {
  1600. | case EOB_ACT_LAST_MATCH:
  1601. | /* This happens because yy_g_n_b()
  1602. | * sees that we've accumulated a
  1603. | * token and flags that we need to
  1604. | * try matching the token before
  1605. | * proceeding. But for input(),
  1606. | * there's no matching to consider.
  1607. | * So convert the EOB_ACT_LAST_MATCH
  1608. | * to EOB_ACT_END_OF_FILE.
  1609. | */
  1610. |
  1611. | /* Reset buffer status. */
  1612. | yyrestart( yyin );
  1613. |
  1614. | /*FALLTHROUGH*/
  1615. |
  1616. | case EOB_ACT_END_OF_FILE:
  1617. | {
  1618. | if ( yywrap( ) )
  1619. | return 0;
  1620. |
  1621. | if ( ! (yy_did_buffer_switch_on_eof) )
  1622. | YY_NEW_FILE;
  1623. | #ifdef __cplusplus
  1624. | return yyinput();
  1625. | #else
  1626. | return input();
  1627. | #endif
  1628. | }
  1629. |
  1630. | case EOB_ACT_CONTINUE_SCAN:
  1631. | (yy_c_buf_p) = (yytext_ptr) + offset;
  1632. | break;
  1633. | }
  1634. | }
  1635. | }
  1636. |
  1637. | c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
  1638. | *(yy_c_buf_p) = '\0'; /* preserve yytext */
  1639. | (yy_hold_char) = *++(yy_c_buf_p);
  1640. |
  1641. | return c;
  1642. | }
  1643. | #endif /* ifndef YY_NO_INPUT */
  1644. |
  1645. | /** Immediately switch to a different input stream.
  1646. | * @param input_file A readable stream.
  1647. | *
  1648. | * @note This function does not reset the start condition to @c INITIAL .
  1649. | */
  1650. | void yyrestart (FILE * input_file )
  1651. | {
  1652. |
  1653. | if ( ! YY_CURRENT_BUFFER ){
  1654. | yyensure_buffer_stack ();
  1655. | YY_CURRENT_BUFFER_LVALUE =
  1656. | yy_create_buffer( yyin, YY_BUF_SIZE );
  1657. | }
  1658. |
  1659. | yy_init_buffer( YY_CURRENT_BUFFER, input_file );
  1660. | yy_load_buffer_state( );
  1661. | }
  1662. |
  1663. | /** Switch to a different input buffer.
  1664. | * @param new_buffer The new input buffer.
  1665. | *
  1666. | */
  1667. | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer )
  1668. | {
  1669. |
  1670. | /* TODO. We should be able to replace this entire function body
  1671. | * with
  1672. | * yypop_buffer_state();
  1673. | * yypush_buffer_state(new_buffer);
  1674. | */
  1675. | yyensure_buffer_stack ();
  1676. | if ( YY_CURRENT_BUFFER == new_buffer )
  1677. | return;
  1678. |
  1679. | if ( YY_CURRENT_BUFFER )
  1680. | {
  1681. | /* Flush out information for old buffer. */
  1682. | *(yy_c_buf_p) = (yy_hold_char);
  1683. | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
  1684. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  1685. | }
  1686. |
  1687. | YY_CURRENT_BUFFER_LVALUE = new_buffer;
  1688. | yy_load_buffer_state( );
  1689. |
  1690. | /* We don't actually know whether we did this switch during
  1691. | * EOF (yywrap()) processing, but the only time this flag
  1692. | * is looked at is after yywrap() is called, so it's safe
  1693. | * to go ahead and always set it.
  1694. | */
  1695. | (yy_did_buffer_switch_on_eof) = 1;
  1696. | }
  1697. |
  1698. | static void yy_load_buffer_state (void)
  1699. | {
  1700. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  1701. | (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
  1702. | yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
  1703. | (yy_hold_char) = *(yy_c_buf_p);
  1704. | }
  1705. |
  1706. | /** Allocate and initialize an input buffer state.
  1707. | * @param file A readable stream.
  1708. | * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
  1709. | *
  1710. | * @return the allocated buffer state.
  1711. | */
  1712. | YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
  1713. | {
  1714. | YY_BUFFER_STATE b;
  1715. |
  1716. | b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) );
  1717. | if ( ! b )
  1718. | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  1719. |
  1720. | b->yy_buf_size = size;
  1721. |
  1722. | /* yy_ch_buf has to be 2 characters longer than the size given because
  1723. | * we need to put in 2 end-of-buffer characters.
  1724. | */
  1725. | b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2) );
  1726. | if ( ! b->yy_ch_buf )
  1727. | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  1728. |
  1729. | b->yy_is_our_buffer = 1;
  1730. |
  1731. | yy_init_buffer( b, file );
  1732. |
  1733. | return b;
  1734. | }
  1735. |
  1736. | /** Destroy the buffer.
  1737. | * @param b a buffer created with yy_create_buffer()
  1738. | *
  1739. | */
  1740. | void yy_delete_buffer (YY_BUFFER_STATE b )
  1741. | {
  1742. |
  1743. | if ( ! b )
  1744. | return;
  1745. |
  1746. | if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
  1747. | YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
  1748. |
  1749. | if ( b->yy_is_our_buffer )
  1750. | yyfree( (void *) b->yy_ch_buf );
  1751. |
  1752. | yyfree( (void *) b );
  1753. | }
  1754. |
  1755. | /* Initializes or reinitializes a buffer.
  1756. | * This function is sometimes called more than once on the same buffer,
  1757. | * such as during a yyrestart() or at EOF.
  1758. | */
  1759. | static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file )
  1760. |
  1761. | {
  1762. | int oerrno = errno;
  1763. |
  1764. | yy_flush_buffer( b );
  1765. |
  1766. | b->yy_input_file = file;
  1767. | b->yy_fill_buffer = 1;
  1768. |
  1769. | /* If b is the current buffer, then yy_init_buffer was _probably_
  1770. | * called from yyrestart() or through yy_get_next_buffer.
  1771. | * In that case, we don't want to reset the lineno or column.
  1772. | */
  1773. | if (b != YY_CURRENT_BUFFER){
  1774. | b->yy_bs_lineno = 1;
  1775. | b->yy_bs_column = 0;
  1776. | }
  1777. |
  1778. | b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
  1779. |
  1780. | errno = oerrno;
  1781. | }
  1782. |
  1783. | /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
  1784. | * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
  1785. | *
  1786. | */
  1787. | void yy_flush_buffer (YY_BUFFER_STATE b )
  1788. | {
  1789. | if ( ! b )
  1790. | return;
  1791. |
  1792. | b->yy_n_chars = 0;
  1793. |
  1794. | /* We always need two end-of-buffer characters. The first causes
  1795. | * a transition to the end-of-buffer state. The second causes
  1796. | * a jam in that state.
  1797. | */
  1798. | b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
  1799. | b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
  1800. |
  1801. | b->yy_buf_pos = &b->yy_ch_buf[0];
  1802. |
  1803. | b->yy_at_bol = 1;
  1804. | b->yy_buffer_status = YY_BUFFER_NEW;
  1805. |
  1806. | if ( b == YY_CURRENT_BUFFER )
  1807. | yy_load_buffer_state( );
  1808. | }
  1809. |
  1810. | /** Pushes the new state onto the stack. The new state becomes
  1811. | * the current state. This function will allocate the stack
  1812. | * if necessary.
  1813. | * @param new_buffer The new state.
  1814. | *
  1815. | */
  1816. | void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
  1817. | {
  1818. | if (new_buffer == NULL)
  1819. | return;
  1820. |
  1821. | yyensure_buffer_stack();
  1822. |
  1823. | /* This block is copied from yy_switch_to_buffer. */
  1824. | if ( YY_CURRENT_BUFFER )
  1825. | {
  1826. | /* Flush out information for old buffer. */
  1827. | *(yy_c_buf_p) = (yy_hold_char);
  1828. | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
  1829. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  1830. | }
  1831. |
  1832. | /* Only push if top exists. Otherwise, replace top. */
  1833. | if (YY_CURRENT_BUFFER)
  1834. | (yy_buffer_stack_top)++;
  1835. | YY_CURRENT_BUFFER_LVALUE = new_buffer;
  1836. |
  1837. | /* copied from yy_switch_to_buffer. */
  1838. | yy_load_buffer_state( );
  1839. | (yy_did_buffer_switch_on_eof) = 1;
  1840. | }
  1841. |
  1842. | /** Removes and deletes the top of the stack, if present.
  1843. | * The next element becomes the new top.
  1844. | *
  1845. | */
  1846. | void yypop_buffer_state (void)
  1847. | {
  1848. | if (!YY_CURRENT_BUFFER)
  1849. | return;
  1850. |
  1851. | yy_delete_buffer(YY_CURRENT_BUFFER );
  1852. | YY_CURRENT_BUFFER_LVALUE = NULL;
  1853. | if ((yy_buffer_stack_top) > 0)
  1854. | --(yy_buffer_stack_top);
  1855. |
  1856. | if (YY_CURRENT_BUFFER) {
  1857. | yy_load_buffer_state( );
  1858. | (yy_did_buffer_switch_on_eof) = 1;
  1859. | }
  1860. | }
  1861. |
  1862. | /* Allocates the stack if it does not exist.
  1863. | * Guarantees space for at least one push.
  1864. | */
  1865. | static void yyensure_buffer_stack (void)
  1866. | {
  1867. | yy_size_t num_to_alloc;
  1868. |
  1869. | if (!(yy_buffer_stack)) {
  1870. |
  1871. | /* First allocation is just for 2 elements, since we don't know if this
  1872. | * scanner will even need a stack. We use 2 instead of 1 to avoid an
  1873. | * immediate realloc on the next call.
  1874. | */
  1875. | num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */
  1876. | (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
  1877. | (num_to_alloc * sizeof(struct yy_buffer_state*)
  1878. | );
  1879. | if ( ! (yy_buffer_stack) )
  1880. | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  1881. |
  1882. | memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
  1883. |
  1884. | (yy_buffer_stack_max) = num_to_alloc;
  1885. | (yy_buffer_stack_top) = 0;
  1886. | return;
  1887. | }
  1888. |
  1889. | if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
  1890. |
  1891. | /* Increase the buffer to prepare for a possible push. */
  1892. | yy_size_t grow_size = 8 /* arbitrary grow size */;
  1893. |
  1894. | num_to_alloc = (yy_buffer_stack_max) + grow_size;
  1895. | (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
  1896. | ((yy_buffer_stack),
  1897. | num_to_alloc * sizeof(struct yy_buffer_state*)
  1898. | );
  1899. | if ( ! (yy_buffer_stack) )
  1900. | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  1901. |
  1902. | /* zero only the new slots.*/
  1903. | memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
  1904. | (yy_buffer_stack_max) = num_to_alloc;
  1905. | }
  1906. | }
  1907. |
  1908. | /** Setup the input buffer state to scan directly from a user-specified character buffer.
  1909. | * @param base the character buffer
  1910. | * @param size the size in bytes of the character buffer
  1911. | *
  1912. | * @return the newly allocated buffer state object.
  1913. | */
  1914. | YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size )
  1915. | {
  1916. | YY_BUFFER_STATE b;
  1917. |
  1918. | if ( size < 2 ||
  1919. | base[size-2] != YY_END_OF_BUFFER_CHAR ||
  1920. | base[size-1] != YY_END_OF_BUFFER_CHAR )
  1921. | /* They forgot to leave room for the EOB's. */
  1922. | return NULL;
  1923. |
  1924. | b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) );
  1925. | if ( ! b )
  1926. | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
  1927. |
  1928. | b->yy_buf_size = (int) (size - 2); /* "- 2" to take care of EOB's */
  1929. | b->yy_buf_pos = b->yy_ch_buf = base;
  1930. | b->yy_is_our_buffer = 0;
  1931. | b->yy_input_file = NULL;
  1932. | b->yy_n_chars = b->yy_buf_size;
  1933. | b->yy_is_interactive = 0;
  1934. | b->yy_at_bol = 1;
  1935. | b->yy_fill_buffer = 0;
  1936. | b->yy_buffer_status = YY_BUFFER_NEW;
  1937. |
  1938. | yy_switch_to_buffer( b );
  1939. |
  1940. | return b;
  1941. | }
  1942. |
  1943. | /** Setup the input buffer state to scan a string. The next call to yylex() will
  1944. | * scan from a @e copy of @a str.
  1945. | * @param yystr a NUL-terminated string to scan
  1946. | *
  1947. | * @return the newly allocated buffer state object.
  1948. | * @note If you want to scan bytes that may contain NUL values, then use
  1949. | * yy_scan_bytes() instead.
  1950. | */
  1951. | YY_BUFFER_STATE yy_scan_string (const char * yystr )
  1952. | {
  1953. |
  1954. | return yy_scan_bytes( yystr, (int) strlen(yystr) );
  1955. | }
  1956. |
  1957. | /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
  1958. | * scan from a @e copy of @a bytes.
  1959. | * @param yybytes the byte buffer to scan
  1960. | * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
  1961. | *
  1962. | * @return the newly allocated buffer state object.
  1963. | */
  1964. | YY_BUFFER_STATE yy_scan_bytes (const char * yybytes, int _yybytes_len )
  1965. | {
  1966. | YY_BUFFER_STATE b;
  1967. | char *buf;
  1968. | yy_size_t n;
  1969. | int i;
  1970. |
  1971. | /* Get memory for full buffer, including space for trailing EOB's. */
  1972. | n = (yy_size_t) (_yybytes_len + 2);
  1973. | buf = (char *) yyalloc( n );
  1974. | if ( ! buf )
  1975. | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
  1976. |
  1977. | for ( i = 0; i < _yybytes_len; ++i )
  1978. | buf[i] = yybytes[i];
  1979. |
  1980. | buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
  1981. |
  1982. | b = yy_scan_buffer( buf, n );
  1983. | if ( ! b )
  1984. | YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
  1985. |
  1986. | /* It's okay to grow etc. this buffer, and we should throw it
  1987. | * away when we're done.
  1988. | */
  1989. | b->yy_is_our_buffer = 1;
  1990. |
  1991. | return b;
  1992. | }
  1993. |
  1994. | #ifndef YY_EXIT_FAILURE
  1995. | #define YY_EXIT_FAILURE 2
  1996. | #endif
  1997. |
  1998. | static void yynoreturn yy_fatal_error (const char* msg )
  1999. | {
  2000. | fprintf( stderr, "%s\n", msg );
  2001. | exit( YY_EXIT_FAILURE );
  2002. | }
  2003. |
  2004. | /* Redefine yyless() so it works in section 3 code. */
  2005. |
  2006. | #undef yyless
  2007. | #define yyless(n) \
  2008. | do \
  2009. | { \
  2010. | /* Undo effects of setting up yytext. */ \
  2011. | int yyless_macro_arg = (n); \
  2012. | YY_LESS_LINENO(yyless_macro_arg);\
  2013. | yytext[yyleng] = (yy_hold_char); \
  2014. | (yy_c_buf_p) = yytext + yyless_macro_arg; \
  2015. | (yy_hold_char) = *(yy_c_buf_p); \
  2016. | *(yy_c_buf_p) = '\0'; \
  2017. | yyleng = yyless_macro_arg; \
  2018. | } \
  2019. | while ( 0 )
  2020. |
  2021. | /* Accessor methods (get/set functions) to struct members. */
  2022. |
  2023. | /** Get the current line number.
  2024. | *
  2025. | */
  2026. | int yyget_lineno (void)
  2027. | {
  2028. |
  2029. | return yylineno;
  2030. | }
  2031. |
  2032. | /** Get the input stream.
  2033. | *
  2034. | */
  2035. | FILE *yyget_in (void)
  2036. | {
  2037. | return yyin;
  2038. | }
  2039. |
  2040. | /** Get the output stream.
  2041. | *
  2042. | */
  2043. | FILE *yyget_out (void)
  2044. | {
  2045. | return yyout;
  2046. | }
  2047. |
  2048. | /** Get the length of the current token.
  2049. | *
  2050. | */
  2051. | int yyget_leng (void)
  2052. | {
  2053. | return yyleng;
  2054. | }
  2055. |
  2056. | /** Get the current token.
  2057. | *
  2058. | */
  2059. |
  2060. | char *yyget_text (void)
  2061. | {
  2062. | return yytext;
  2063. | }
  2064. |
  2065. | /** Set the current line number.
  2066. | * @param _line_number line number
  2067. | *
  2068. | */
  2069. | void yyset_lineno (int _line_number )
  2070. | {
  2071. |
  2072. | yylineno = _line_number;
  2073. | }
  2074. |
  2075. | /** Set the input stream. This does not discard the current
  2076. | * input buffer.
  2077. | * @param _in_str A readable stream.
  2078. | *
  2079. | * @see yy_switch_to_buffer
  2080. | */
  2081. | void yyset_in (FILE * _in_str )
  2082. | {
  2083. | yyin = _in_str ;
  2084. | }
  2085. |
  2086. | void yyset_out (FILE * _out_str )
  2087. | {
  2088. | yyout = _out_str ;
  2089. | }
  2090. |
  2091. | int yyget_debug (void)
  2092. | {
  2093. | return yy_flex_debug;
  2094. | }
  2095. |
  2096. | void yyset_debug (int _bdebug )
  2097. | {
  2098. | yy_flex_debug = _bdebug ;
  2099. | }
  2100. |
  2101. | static int yy_init_globals (void)
  2102. | {
  2103. | /* Initialization is the same as for the non-reentrant scanner.
  2104. | * This function is called from yylex_destroy(), so don't allocate here.
  2105. | */
  2106. |
  2107. | (yy_buffer_stack) = NULL;
  2108. | (yy_buffer_stack_top) = 0;
  2109. | (yy_buffer_stack_max) = 0;
  2110. | (yy_c_buf_p) = NULL;
  2111. | (yy_init) = 0;
  2112. | (yy_start) = 0;
  2113. |
  2114. | (yy_state_buf) = 0;
  2115. | (yy_state_ptr) = 0;
  2116. | (yy_full_match) = 0;
  2117. | (yy_lp) = 0;
  2118. |
  2119. | /* Defined in main.c */
  2120. | #ifdef YY_STDINIT
  2121. | yyin = stdin;
  2122. | yyout = stdout;
  2123. | #else
  2124. | yyin = NULL;
  2125. | yyout = NULL;
  2126. | #endif
  2127. |
  2128. | /* For future reference: Set errno on error, since we are called by
  2129. | * yylex_init()
  2130. | */
  2131. | return 0;
  2132. | }
  2133. |
  2134. | /* yylex_destroy is for both reentrant and non-reentrant scanners. */
  2135. | int yylex_destroy (void)
  2136. | {
  2137. |
  2138. | /* Pop the buffer stack, destroying each element. */
  2139. | while(YY_CURRENT_BUFFER){
  2140. | yy_delete_buffer( YY_CURRENT_BUFFER );
  2141. | YY_CURRENT_BUFFER_LVALUE = NULL;
  2142. | yypop_buffer_state();
  2143. | }
  2144. |
  2145. | /* Destroy the stack itself. */
  2146. | yyfree((yy_buffer_stack) );
  2147. | (yy_buffer_stack) = NULL;
  2148. |
  2149. | yyfree ( (yy_state_buf) );
  2150. | (yy_state_buf) = NULL;
  2151. |
  2152. | /* Reset the globals. This is important in a non-reentrant scanner so the next time
  2153. | * yylex() is called, initialization will occur. */
  2154. | yy_init_globals( );
  2155. |
  2156. | return 0;
  2157. | }
  2158. |
  2159. | /*
  2160. | * Internal utility routines.
  2161. | */
  2162. |
  2163. | #ifndef yytext_ptr
  2164. | static void yy_flex_strncpy (char* s1, const char * s2, int n )
  2165. | {
  2166. |
  2167. | int i;
  2168. | for ( i = 0; i < n; ++i )
  2169. | s1[i] = s2[i];
  2170. | }
  2171. | #endif
  2172. |
  2173. | #ifdef YY_NEED_STRLEN
  2174. | static int yy_flex_strlen (const char * s )
  2175. | {
  2176. | int n;
  2177. | for ( n = 0; s[n]; ++n )
  2178. | ;
  2179. |
  2180. | return n;
  2181. | }
  2182. | #endif
  2183. |
  2184. | void *yyalloc (yy_size_t size )
  2185. | {
  2186. | return malloc(size);
  2187. | }
  2188. |
  2189. | void *yyrealloc (void * ptr, yy_size_t size )
  2190. | {
  2191. |
  2192. | /* The cast to (char *) in the following accommodates both
  2193. | * implementations that use char* generic pointers, and those
  2194. | * that use void* generic pointers. It works with the latter
  2195. | * because both ANSI C and C++ allow castless assignment from
  2196. | * any pointer type to void*, and deal with argument conversions
  2197. | * as though doing an assignment.
  2198. | */
  2199. | return realloc(ptr, size);
  2200. | }
  2201. |
  2202. | void yyfree (void * ptr )
  2203. | {
  2204. | free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
  2205. | }
  2206. |
  2207. | #define YYTABLES_NAME "yytables"
  2208. |
  2209. | #line 10 "conftest.l"
  2210. |
  2211. | #ifdef YYTEXT_POINTER
  2212. | extern char *yytext;
  2213. | #endif
  2214. | int
  2215. | main (void)
  2216. | {
  2217. | return ! yylex () + ! yywrap ();
  2218. | }
  2219. configure:9840: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -o conftest -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-math-errno -fno-signed-zeros -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lfl >&5
  2220. /home/thibault/Documents/Dev/buildroot/buildroot/output/host/lib/gcc/arm-buildroot-linux-gnueabi/7.4.0/../../../../arm-buildroot-linux-gnueabi/bin/ld: cannot find -lfl
  2221. collect2: error: ld returned 1 exit status
  2222. configure:9840: $? = 1
  2223. configure: failed program was:
  2224. | /* confdefs.h */
  2225. | #define PACKAGE_NAME ""
  2226. | #define PACKAGE_TARNAME ""
  2227. | #define PACKAGE_VERSION ""
  2228. | #define PACKAGE_STRING ""
  2229. | #define PACKAGE_BUGREPORT ""
  2230. | #define PACKAGE_URL ""
  2231. | #define STDC_HEADERS 1
  2232. | #define HAVE_SYS_TYPES_H 1
  2233. | #define HAVE_SYS_STAT_H 1
  2234. | #define HAVE_STDLIB_H 1
  2235. | #define HAVE_STRING_H 1
  2236. | #define HAVE_MEMORY_H 1
  2237. | #define HAVE_STRINGS_H 1
  2238. | #define HAVE_INTTYPES_H 1
  2239. | #define HAVE_STDINT_H 1
  2240. | #define HAVE_UNISTD_H 1
  2241. | #define HAVE_DLFCN_H 1
  2242. | #define LT_OBJDIR ".libs/"
  2243. | #define POSTGIS_MAJOR_VERSION "3"
  2244. | #define POSTGIS_MINOR_VERSION "0"
  2245. | #define POSTGIS_MICRO_VERSION "1"
  2246. | /* end confdefs.h. */
  2247. |
  2248. | #line 2 "lex.yy.c"
  2249. |
  2250. | #define YY_INT_ALIGNED short int
  2251. |
  2252. | /* A lexical scanner generated by flex */
  2253. |
  2254. | #define FLEX_SCANNER
  2255. | #define YY_FLEX_MAJOR_VERSION 2
  2256. | #define YY_FLEX_MINOR_VERSION 6
  2257. | #define YY_FLEX_SUBMINOR_VERSION 4
  2258. | #if YY_FLEX_SUBMINOR_VERSION > 0
  2259. | #define FLEX_BETA
  2260. | #endif
  2261. |
  2262. | /* First, we deal with platform-specific or compiler-specific issues. */
  2263. |
  2264. | /* begin standard C headers. */
  2265. | #include <stdio.h>
  2266. | #include <string.h>
  2267. | #include <errno.h>
  2268. | #include <stdlib.h>
  2269. |
  2270. | /* end standard C headers. */
  2271. |
  2272. | /* flex integer type definitions */
  2273. |
  2274. | #ifndef FLEXINT_H
  2275. | #define FLEXINT_H
  2276. |
  2277. | /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
  2278. |
  2279. | #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
  2280. |
  2281. | /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
  2282. | * if you want the limit (max/min) macros for int types.
  2283. | */
  2284. | #ifndef __STDC_LIMIT_MACROS
  2285. | #define __STDC_LIMIT_MACROS 1
  2286. | #endif
  2287. |
  2288. | #include <inttypes.h>
  2289. | typedef int8_t flex_int8_t;
  2290. | typedef uint8_t flex_uint8_t;
  2291. | typedef int16_t flex_int16_t;
  2292. | typedef uint16_t flex_uint16_t;
  2293. | typedef int32_t flex_int32_t;
  2294. | typedef uint32_t flex_uint32_t;
  2295. | #else
  2296. | typedef signed char flex_int8_t;
  2297. | typedef short int flex_int16_t;
  2298. | typedef int flex_int32_t;
  2299. | typedef unsigned char flex_uint8_t;
  2300. | typedef unsigned short int flex_uint16_t;
  2301. | typedef unsigned int flex_uint32_t;
  2302. |
  2303. | /* Limits of integral types. */
  2304. | #ifndef INT8_MIN
  2305. | #define INT8_MIN (-128)
  2306. | #endif
  2307. | #ifndef INT16_MIN
  2308. | #define INT16_MIN (-32767-1)
  2309. | #endif
  2310. | #ifndef INT32_MIN
  2311. | #define INT32_MIN (-2147483647-1)
  2312. | #endif
  2313. | #ifndef INT8_MAX
  2314. | #define INT8_MAX (127)
  2315. | #endif
  2316. | #ifndef INT16_MAX
  2317. | #define INT16_MAX (32767)
  2318. | #endif
  2319. | #ifndef INT32_MAX
  2320. | #define INT32_MAX (2147483647)
  2321. | #endif
  2322. | #ifndef UINT8_MAX
  2323. | #define UINT8_MAX (255U)
  2324. | #endif
  2325. | #ifndef UINT16_MAX
  2326. | #define UINT16_MAX (65535U)
  2327. | #endif
  2328. | #ifndef UINT32_MAX
  2329. | #define UINT32_MAX (4294967295U)
  2330. | #endif
  2331. |
  2332. | #ifndef SIZE_MAX
  2333. | #define SIZE_MAX (~(size_t)0)
  2334. | #endif
  2335. |
  2336. | #endif /* ! C99 */
  2337. |
  2338. | #endif /* ! FLEXINT_H */
  2339. |
  2340. | /* begin standard C++ headers. */
  2341. |
  2342. | /* TODO: this is always defined, so inline it */
  2343. | #define yyconst const
  2344. |
  2345. | #if defined(__GNUC__) && __GNUC__ >= 3
  2346. | #define yynoreturn __attribute__((__noreturn__))
  2347. | #else
  2348. | #define yynoreturn
  2349. | #endif
  2350. |
  2351. | /* Returned upon end-of-file. */
  2352. | #define YY_NULL 0
  2353. |
  2354. | /* Promotes a possibly negative, possibly signed char to an
  2355. | * integer in range [0..255] for use as an array index.
  2356. | */
  2357. | #define YY_SC_TO_UI(c) ((YY_CHAR) (c))
  2358. |
  2359. | /* Enter a start condition. This macro really ought to take a parameter,
  2360. | * but we do it the disgusting crufty way forced on us by the ()-less
  2361. | * definition of BEGIN.
  2362. | */
  2363. | #define BEGIN (yy_start) = 1 + 2 *
  2364. | /* Translate the current start state into a value that can be later handed
  2365. | * to BEGIN to return to the state. The YYSTATE alias is for lex
  2366. | * compatibility.
  2367. | */
  2368. | #define YY_START (((yy_start) - 1) / 2)
  2369. | #define YYSTATE YY_START
  2370. | /* Action number for EOF rule of a given start state. */
  2371. | #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
  2372. | /* Special action meaning "start processing a new file". */
  2373. | #define YY_NEW_FILE yyrestart( yyin )
  2374. | #define YY_END_OF_BUFFER_CHAR 0
  2375. |
  2376. | /* Size of default input buffer. */
  2377. | #ifndef YY_BUF_SIZE
  2378. | #ifdef __ia64__
  2379. | /* On IA-64, the buffer size is 16k, not 8k.
  2380. | * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
  2381. | * Ditto for the __ia64__ case accordingly.
  2382. | */
  2383. | #define YY_BUF_SIZE 32768
  2384. | #else
  2385. | #define YY_BUF_SIZE 16384
  2386. | #endif /* __ia64__ */
  2387. | #endif
  2388. |
  2389. | /* The state buf must be large enough to hold one state per character in the main buffer.
  2390. | */
  2391. | #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
  2392. |
  2393. | #ifndef YY_TYPEDEF_YY_BUFFER_STATE
  2394. | #define YY_TYPEDEF_YY_BUFFER_STATE
  2395. | typedef struct yy_buffer_state *YY_BUFFER_STATE;
  2396. | #endif
  2397. |
  2398. | #ifndef YY_TYPEDEF_YY_SIZE_T
  2399. | #define YY_TYPEDEF_YY_SIZE_T
  2400. | typedef size_t yy_size_t;
  2401. | #endif
  2402. |
  2403. | extern int yyleng;
  2404. |
  2405. | extern FILE *yyin, *yyout;
  2406. |
  2407. | #define EOB_ACT_CONTINUE_SCAN 0
  2408. | #define EOB_ACT_END_OF_FILE 1
  2409. | #define EOB_ACT_LAST_MATCH 2
  2410. |
  2411. | #define YY_LESS_LINENO(n)
  2412. | #define YY_LINENO_REWIND_TO(ptr)
  2413. |
  2414. | /* Return all but the first "n" matched characters back to the input stream. */
  2415. | #define yyless(n) \
  2416. | do \
  2417. | { \
  2418. | /* Undo effects of setting up yytext. */ \
  2419. | int yyless_macro_arg = (n); \
  2420. | YY_LESS_LINENO(yyless_macro_arg);\
  2421. | *yy_cp = (yy_hold_char); \
  2422. | YY_RESTORE_YY_MORE_OFFSET \
  2423. | (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
  2424. | YY_DO_BEFORE_ACTION; /* set up yytext again */ \
  2425. | } \
  2426. | while ( 0 )
  2427. | #define unput(c) yyunput( c, (yytext_ptr) )
  2428. |
  2429. | #ifndef YY_STRUCT_YY_BUFFER_STATE
  2430. | #define YY_STRUCT_YY_BUFFER_STATE
  2431. | struct yy_buffer_state
  2432. | {
  2433. | FILE *yy_input_file;
  2434. |
  2435. | char *yy_ch_buf; /* input buffer */
  2436. | char *yy_buf_pos; /* current position in input buffer */
  2437. |
  2438. | /* Size of input buffer in bytes, not including room for EOB
  2439. | * characters.
  2440. | */
  2441. | int yy_buf_size;
  2442. |
  2443. | /* Number of characters read into yy_ch_buf, not including EOB
  2444. | * characters.
  2445. | */
  2446. | int yy_n_chars;
  2447. |
  2448. | /* Whether we "own" the buffer - i.e., we know we created it,
  2449. | * and can realloc() it to grow it, and should free() it to
  2450. | * delete it.
  2451. | */
  2452. | int yy_is_our_buffer;
  2453. |
  2454. | /* Whether this is an "interactive" input source; if so, and
  2455. | * if we're using stdio for input, then we want to use getc()
  2456. | * instead of fread(), to make sure we stop fetching input after
  2457. | * each newline.
  2458. | */
  2459. | int yy_is_interactive;
  2460. |
  2461. | /* Whether we're considered to be at the beginning of a line.
  2462. | * If so, '^' rules will be active on the next match, otherwise
  2463. | * not.
  2464. | */
  2465. | int yy_at_bol;
  2466. |
  2467. | int yy_bs_lineno; /**< The line count. */
  2468. | int yy_bs_column; /**< The column count. */
  2469. |
  2470. | /* Whether to try to fill the input buffer when we reach the
  2471. | * end of it.
  2472. | */
  2473. | int yy_fill_buffer;
  2474. |
  2475. | int yy_buffer_status;
  2476. |
  2477. | #define YY_BUFFER_NEW 0
  2478. | #define YY_BUFFER_NORMAL 1
  2479. | /* When an EOF's been seen but there's still some text to process
  2480. | * then we mark the buffer as YY_EOF_PENDING, to indicate that we
  2481. | * shouldn't try reading from the input source any more. We might
  2482. | * still have a bunch of tokens to match, though, because of
  2483. | * possible backing-up.
  2484. | *
  2485. | * When we actually see the EOF, we change the status to "new"
  2486. | * (via yyrestart()), so that the user can continue scanning by
  2487. | * just pointing yyin at a new input file.
  2488. | */
  2489. | #define YY_BUFFER_EOF_PENDING 2
  2490. |
  2491. | };
  2492. | #endif /* !YY_STRUCT_YY_BUFFER_STATE */
  2493. |
  2494. | /* Stack of input buffers. */
  2495. | static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
  2496. | static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
  2497. | static YY_BUFFER_STATE * yy_buffer_stack = NULL; /**< Stack as an array. */
  2498. |
  2499. | /* We provide macros for accessing buffer states in case in the
  2500. | * future we want to put the buffer states in a more general
  2501. | * "scanner state".
  2502. | *
  2503. | * Returns the top of the stack, or NULL.
  2504. | */
  2505. | #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
  2506. | ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
  2507. | : NULL)
  2508. | /* Same as previous macro, but useful when we know that the buffer stack is not
  2509. | * NULL or when we need an lvalue. For internal use only.
  2510. | */
  2511. | #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
  2512. |
  2513. | /* yy_hold_char holds the character lost when yytext is formed. */
  2514. | static char yy_hold_char;
  2515. | static int yy_n_chars; /* number of characters read into yy_ch_buf */
  2516. | int yyleng;
  2517. |
  2518. | /* Points to current character in buffer. */
  2519. | static char *yy_c_buf_p = NULL;
  2520. | static int yy_init = 0; /* whether we need to initialize */
  2521. | static int yy_start = 0; /* start state number */
  2522. |
  2523. | /* Flag which is used to allow yywrap()'s to do buffer switches
  2524. | * instead of setting up a fresh yyin. A bit of a hack ...
  2525. | */
  2526. | static int yy_did_buffer_switch_on_eof;
  2527. |
  2528. | void yyrestart ( FILE *input_file );
  2529. | void yy_switch_to_buffer ( YY_BUFFER_STATE new_buffer );
  2530. | YY_BUFFER_STATE yy_create_buffer ( FILE *file, int size );
  2531. | void yy_delete_buffer ( YY_BUFFER_STATE b );
  2532. | void yy_flush_buffer ( YY_BUFFER_STATE b );
  2533. | void yypush_buffer_state ( YY_BUFFER_STATE new_buffer );
  2534. | void yypop_buffer_state ( void );
  2535. |
  2536. | static void yyensure_buffer_stack ( void );
  2537. | static void yy_load_buffer_state ( void );
  2538. | static void yy_init_buffer ( YY_BUFFER_STATE b, FILE *file );
  2539. | #define YY_FLUSH_BUFFER yy_flush_buffer( YY_CURRENT_BUFFER )
  2540. |
  2541. | YY_BUFFER_STATE yy_scan_buffer ( char *base, yy_size_t size );
  2542. | YY_BUFFER_STATE yy_scan_string ( const char *yy_str );
  2543. | YY_BUFFER_STATE yy_scan_bytes ( const char *bytes, int len );
  2544. |
  2545. | void *yyalloc ( yy_size_t );
  2546. | void *yyrealloc ( void *, yy_size_t );
  2547. | void yyfree ( void * );
  2548. |
  2549. | #define yy_new_buffer yy_create_buffer
  2550. | #define yy_set_interactive(is_interactive) \
  2551. | { \
  2552. | if ( ! YY_CURRENT_BUFFER ){ \
  2553. | yyensure_buffer_stack (); \
  2554. | YY_CURRENT_BUFFER_LVALUE = \
  2555. | yy_create_buffer( yyin, YY_BUF_SIZE ); \
  2556. | } \
  2557. | YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
  2558. | }
  2559. | #define yy_set_bol(at_bol) \
  2560. | { \
  2561. | if ( ! YY_CURRENT_BUFFER ){\
  2562. | yyensure_buffer_stack (); \
  2563. | YY_CURRENT_BUFFER_LVALUE = \
  2564. | yy_create_buffer( yyin, YY_BUF_SIZE ); \
  2565. | } \
  2566. | YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
  2567. | }
  2568. | #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
  2569. |
  2570. | /* Begin user sect3 */
  2571. | typedef flex_uint8_t YY_CHAR;
  2572. |
  2573. | FILE *yyin = NULL, *yyout = NULL;
  2574. |
  2575. | typedef int yy_state_type;
  2576. |
  2577. | extern int yylineno;
  2578. | int yylineno = 1;
  2579. |
  2580. | extern char *yytext;
  2581. | #ifdef yytext_ptr
  2582. | #undef yytext_ptr
  2583. | #endif
  2584. | #define yytext_ptr yytext
  2585. |
  2586. | static yy_state_type yy_get_previous_state ( void );
  2587. | static yy_state_type yy_try_NUL_trans ( yy_state_type current_state );
  2588. | static int yy_get_next_buffer ( void );
  2589. | static void yynoreturn yy_fatal_error ( const char* msg );
  2590. |
  2591. | /* Done after the current pattern has been matched and before the
  2592. | * corresponding action - sets up yytext.
  2593. | */
  2594. | #define YY_DO_BEFORE_ACTION \
  2595. | (yytext_ptr) = yy_bp; \
  2596. | (yytext_ptr) -= (yy_more_len); \
  2597. | yyleng = (int) (yy_cp - (yytext_ptr)); \
  2598. | (yy_hold_char) = *yy_cp; \
  2599. | *yy_cp = '\0'; \
  2600. | (yy_c_buf_p) = yy_cp;
  2601. | #define YY_NUM_RULES 8
  2602. | #define YY_END_OF_BUFFER 9
  2603. | /* This struct is not used in this scanner,
  2604. | but its presence is necessary. */
  2605. | struct yy_trans_info
  2606. | {
  2607. | flex_int32_t yy_verify;
  2608. | flex_int32_t yy_nxt;
  2609. | };
  2610. | static const flex_int16_t yy_acclist[23] =
  2611. | { 0,
  2612. | 9, 7, 8, 8, 1, 7, 8, 2, 7, 8,
  2613. | 3, 7, 8, 4, 7, 8, 5, 7, 8, 6,
  2614. | 7, 8
  2615. | } ;
  2616. |
  2617. | static const flex_int16_t yy_accept[14] =
  2618. | { 0,
  2619. | 1, 1, 1, 2, 4, 5, 8, 11, 14, 17,
  2620. | 20, 23, 23
  2621. | } ;
  2622. |
  2623. | static const YY_CHAR yy_ec[256] =
  2624. | { 0,
  2625. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 2,
  2626. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2627. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2628. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2629. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2630. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2631. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2632. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2633. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2634. | 1, 1, 1, 1, 1, 1, 3, 4, 5, 6,
  2635. |
  2636. | 7, 8, 1, 1, 1, 1, 1, 1, 1, 1,
  2637. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2638. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2639. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2640. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2641. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2642. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2643. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2644. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2645. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2646. |
  2647. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2648. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2649. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2650. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2651. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  2652. | 1, 1, 1, 1, 1
  2653. | } ;
  2654. |
  2655. | static const YY_CHAR yy_meta[9] =
  2656. | { 0,
  2657. | 1, 1, 1, 1, 1, 1, 1, 1
  2658. | } ;
  2659. |
  2660. | static const flex_int16_t yy_base[13] =
  2661. | { 0,
  2662. | 0, 0, 9, 10, 10, 10, 10, 10, 10, 10,
  2663. | 10, 10
  2664. | } ;
  2665. |
  2666. | static const flex_int16_t yy_def[13] =
  2667. | { 0,
  2668. | 12, 1, 12, 12, 12, 12, 12, 12, 12, 12,
  2669. | 12, 0
  2670. | } ;
  2671. |
  2672. | static const flex_int16_t yy_nxt[19] =
  2673. | { 0,
  2674. | 4, 5, 6, 7, 8, 9, 10, 11, 12, 3,
  2675. | 12, 12, 12, 12, 12, 12, 12, 12
  2676. | } ;
  2677. |
  2678. | static const flex_int16_t yy_chk[19] =
  2679. | { 0,
  2680. | 1, 1, 1, 1, 1, 1, 1, 1, 3, 12,
  2681. | 12, 12, 12, 12, 12, 12, 12, 12
  2682. | } ;
  2683. |
  2684. | extern int yy_flex_debug;
  2685. | int yy_flex_debug = 0;
  2686. |
  2687. | static yy_state_type *yy_state_buf=0, *yy_state_ptr=0;
  2688. | static char *yy_full_match;
  2689. | static int yy_lp;
  2690. | #define REJECT \
  2691. | { \
  2692. | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \
  2693. | yy_cp = (yy_full_match); /* restore poss. backed-over text */ \
  2694. | ++(yy_lp); \
  2695. | goto find_rule; \
  2696. | }
  2697. |
  2698. | static int yy_more_flag = 0;
  2699. | static int yy_more_len = 0;
  2700. | #define yymore() ((yy_more_flag) = 1)
  2701. | #define YY_MORE_ADJ (yy_more_len)
  2702. | #define YY_RESTORE_YY_MORE_OFFSET
  2703. | char *yytext;
  2704. | #line 1 "conftest.l"
  2705. | #line 459 "lex.yy.c"
  2706. |
  2707. | #define INITIAL 0
  2708. |
  2709. | #ifndef YY_NO_UNISTD_H
  2710. | /* Special case for "unistd.h", since it is non-ANSI. We include it way
  2711. | * down here because we want the user's section 1 to have been scanned first.
  2712. | * The user has a chance to override it with an option.
  2713. | */
  2714. | #include <unistd.h>
  2715. | #endif
  2716. |
  2717. | #ifndef YY_EXTRA_TYPE
  2718. | #define YY_EXTRA_TYPE void *
  2719. | #endif
  2720. |
  2721. | static int yy_init_globals ( void );
  2722. |
  2723. | /* Accessor methods to globals.
  2724. | These are made visible to non-reentrant scanners for convenience. */
  2725. |
  2726. | int yylex_destroy ( void );
  2727. |
  2728. | int yyget_debug ( void );
  2729. |
  2730. | void yyset_debug ( int debug_flag );
  2731. |
  2732. | YY_EXTRA_TYPE yyget_extra ( void );
  2733. |
  2734. | void yyset_extra ( YY_EXTRA_TYPE user_defined );
  2735. |
  2736. | FILE *yyget_in ( void );
  2737. |
  2738. | void yyset_in ( FILE * _in_str );
  2739. |
  2740. | FILE *yyget_out ( void );
  2741. |
  2742. | void yyset_out ( FILE * _out_str );
  2743. |
  2744. | int yyget_leng ( void );
  2745. |
  2746. | char *yyget_text ( void );
  2747. |
  2748. | int yyget_lineno ( void );
  2749. |
  2750. | void yyset_lineno ( int _line_number );
  2751. |
  2752. | /* Macros after this point can all be overridden by user definitions in
  2753. | * section 1.
  2754. | */
  2755. |
  2756. | #ifndef YY_SKIP_YYWRAP
  2757. | #ifdef __cplusplus
  2758. | extern "C" int yywrap ( void );
  2759. | #else
  2760. | extern int yywrap ( void );
  2761. | #endif
  2762. | #endif
  2763. |
  2764. | #ifndef YY_NO_UNPUT
  2765. |
  2766. | static void yyunput ( int c, char *buf_ptr );
  2767. |
  2768. | #endif
  2769. |
  2770. | #ifndef yytext_ptr
  2771. | static void yy_flex_strncpy ( char *, const char *, int );
  2772. | #endif
  2773. |
  2774. | #ifdef YY_NEED_STRLEN
  2775. | static int yy_flex_strlen ( const char * );
  2776. | #endif
  2777. |
  2778. | #ifndef YY_NO_INPUT
  2779. | #ifdef __cplusplus
  2780. | static int yyinput ( void );
  2781. | #else
  2782. | static int input ( void );
  2783. | #endif
  2784. |
  2785. | #endif
  2786. |
  2787. | /* Amount of stuff to slurp up with each read. */
  2788. | #ifndef YY_READ_BUF_SIZE
  2789. | #ifdef __ia64__
  2790. | /* On IA-64, the buffer size is 16k, not 8k */
  2791. | #define YY_READ_BUF_SIZE 16384
  2792. | #else
  2793. | #define YY_READ_BUF_SIZE 8192
  2794. | #endif /* __ia64__ */
  2795. | #endif
  2796. |
  2797. | /* Copy whatever the last rule matched to the standard output. */
  2798. | #ifndef ECHO
  2799. | /* This used to be an fputs(), but since the string might contain NUL's,
  2800. | * we now use fwrite().
  2801. | */
  2802. | #define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0)
  2803. | #endif
  2804. |
  2805. | /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
  2806. | * is returned in "result".
  2807. | */
  2808. | #ifndef YY_INPUT
  2809. | #define YY_INPUT(buf,result,max_size) \
  2810. | if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
  2811. | { \
  2812. | int c = '*'; \
  2813. | int n; \
  2814. | for ( n = 0; n < max_size && \
  2815. | (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
  2816. | buf[n] = (char) c; \
  2817. | if ( c == '\n' ) \
  2818. | buf[n++] = (char) c; \
  2819. | if ( c == EOF && ferror( yyin ) ) \
  2820. | YY_FATAL_ERROR( "input in flex scanner failed" ); \
  2821. | result = n; \
  2822. | } \
  2823. | else \
  2824. | { \
  2825. | errno=0; \
  2826. | while ( (result = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \
  2827. | { \
  2828. | if( errno != EINTR) \
  2829. | { \
  2830. | YY_FATAL_ERROR( "input in flex scanner failed" ); \
  2831. | break; \
  2832. | } \
  2833. | errno=0; \
  2834. | clearerr(yyin); \
  2835. | } \
  2836. | }\
  2837. | \
  2838. |
  2839. | #endif
  2840. |
  2841. | /* No semi-colon after return; correct usage is to write "yyterminate();" -
  2842. | * we don't want an extra ';' after the "return" because that will cause
  2843. | * some compilers to complain about unreachable statements.
  2844. | */
  2845. | #ifndef yyterminate
  2846. | #define yyterminate() return YY_NULL
  2847. | #endif
  2848. |
  2849. | /* Number of entries by which start-condition stack grows. */
  2850. | #ifndef YY_START_STACK_INCR
  2851. | #define YY_START_STACK_INCR 25
  2852. | #endif
  2853. |
  2854. | /* Report a fatal error. */
  2855. | #ifndef YY_FATAL_ERROR
  2856. | #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
  2857. | #endif
  2858. |
  2859. | /* end tables serialization structures and prototypes */
  2860. |
  2861. | /* Default declaration of generated scanner - a define so the user can
  2862. | * easily add parameters.
  2863. | */
  2864. | #ifndef YY_DECL
  2865. | #define YY_DECL_IS_OURS 1
  2866. |
  2867. | extern int yylex (void);
  2868. |
  2869. | #define YY_DECL int yylex (void)
  2870. | #endif /* !YY_DECL */
  2871. |
  2872. | /* Code executed at the beginning of each rule, after yytext and yyleng
  2873. | * have been set up.
  2874. | */
  2875. | #ifndef YY_USER_ACTION
  2876. | #define YY_USER_ACTION
  2877. | #endif
  2878. |
  2879. | /* Code executed at the end of each rule. */
  2880. | #ifndef YY_BREAK
  2881. | #define YY_BREAK /*LINTED*/break;
  2882. | #endif
  2883. |
  2884. | #define YY_RULE_SETUP \
  2885. | YY_USER_ACTION
  2886. |
  2887. | /** The main scanner function which does all the work.
  2888. | */
  2889. | YY_DECL
  2890. | {
  2891. | yy_state_type yy_current_state;
  2892. | char *yy_cp, *yy_bp;
  2893. | int yy_act;
  2894. |
  2895. | if ( !(yy_init) )
  2896. | {
  2897. | (yy_init) = 1;
  2898. |
  2899. | #ifdef YY_USER_INIT
  2900. | YY_USER_INIT;
  2901. | #endif
  2902. |
  2903. | /* Create the reject buffer large enough to save one state per allowed character. */
  2904. | if ( ! (yy_state_buf) )
  2905. | (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE );
  2906. | if ( ! (yy_state_buf) )
  2907. | YY_FATAL_ERROR( "out of dynamic memory in yylex()" );
  2908. |
  2909. | if ( ! (yy_start) )
  2910. | (yy_start) = 1; /* first start state */
  2911. |
  2912. | if ( ! yyin )
  2913. | yyin = stdin;
  2914. |
  2915. | if ( ! yyout )
  2916. | yyout = stdout;
  2917. |
  2918. | if ( ! YY_CURRENT_BUFFER ) {
  2919. | yyensure_buffer_stack ();
  2920. | YY_CURRENT_BUFFER_LVALUE =
  2921. | yy_create_buffer( yyin, YY_BUF_SIZE );
  2922. | }
  2923. |
  2924. | yy_load_buffer_state( );
  2925. | }
  2926. |
  2927. | {
  2928. | #line 1 "conftest.l"
  2929. |
  2930. | #line 684 "lex.yy.c"
  2931. |
  2932. | while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */
  2933. | {
  2934. | (yy_more_len) = 0;
  2935. | if ( (yy_more_flag) )
  2936. | {
  2937. | (yy_more_len) = (int) ((yy_c_buf_p) - (yytext_ptr));
  2938. | (yy_more_flag) = 0;
  2939. | }
  2940. | yy_cp = (yy_c_buf_p);
  2941. |
  2942. | /* Support of yytext. */
  2943. | *yy_cp = (yy_hold_char);
  2944. |
  2945. | /* yy_bp points to the position in yy_ch_buf of the start of
  2946. | * the current run.
  2947. | */
  2948. | yy_bp = yy_cp;
  2949. |
  2950. | yy_current_state = (yy_start);
  2951. |
  2952. | (yy_state_ptr) = (yy_state_buf);
  2953. | *(yy_state_ptr)++ = yy_current_state;
  2954. |
  2955. | yy_match:
  2956. | do
  2957. | {
  2958. | YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ;
  2959. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  2960. | {
  2961. | yy_current_state = (int) yy_def[yy_current_state];
  2962. | if ( yy_current_state >= 13 )
  2963. | yy_c = yy_meta[yy_c];
  2964. | }
  2965. | yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
  2966. | *(yy_state_ptr)++ = yy_current_state;
  2967. | ++yy_cp;
  2968. | }
  2969. | while ( yy_base[yy_current_state] != 10 );
  2970. |
  2971. | yy_find_action:
  2972. | yy_current_state = *--(yy_state_ptr);
  2973. | (yy_lp) = yy_accept[yy_current_state];
  2974. |
  2975. | find_rule: /* we branch to this label when backing up */
  2976. |
  2977. | for ( ; ; ) /* until we find what rule we matched */
  2978. | {
  2979. | if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] )
  2980. | {
  2981. | yy_act = yy_acclist[(yy_lp)];
  2982. | {
  2983. | (yy_full_match) = yy_cp;
  2984. | break;
  2985. | }
  2986. | }
  2987. | --yy_cp;
  2988. | yy_current_state = *--(yy_state_ptr);
  2989. | (yy_lp) = yy_accept[yy_current_state];
  2990. | }
  2991. |
  2992. | YY_DO_BEFORE_ACTION;
  2993. |
  2994. | do_action: /* This label is used only to access EOF actions. */
  2995. |
  2996. | switch ( yy_act )
  2997. | { /* beginning of action switch */
  2998. | case 1:
  2999. | YY_RULE_SETUP
  3000. | #line 2 "conftest.l"
  3001. | { ECHO; }
  3002. | YY_BREAK
  3003. | case 2:
  3004. | YY_RULE_SETUP
  3005. | #line 3 "conftest.l"
  3006. | { REJECT; }
  3007. | YY_BREAK
  3008. | case 3:
  3009. | YY_RULE_SETUP
  3010. | #line 4 "conftest.l"
  3011. | { yymore (); }
  3012. | YY_BREAK
  3013. | case 4:
  3014. | YY_RULE_SETUP
  3015. | #line 5 "conftest.l"
  3016. | { yyless (1); }
  3017. | YY_BREAK
  3018. | case 5:
  3019. | YY_RULE_SETUP
  3020. | #line 6 "conftest.l"
  3021. | { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
  3022. | yyless ((input () != 0)); }
  3023. | YY_BREAK
  3024. | case 6:
  3025. | YY_RULE_SETUP
  3026. | #line 8 "conftest.l"
  3027. | { unput (yytext[0]); }
  3028. | YY_BREAK
  3029. | case 7:
  3030. | YY_RULE_SETUP
  3031. | #line 9 "conftest.l"
  3032. | { BEGIN INITIAL; }
  3033. | YY_BREAK
  3034. | case 8:
  3035. | YY_RULE_SETUP
  3036. | #line 10 "conftest.l"
  3037. | ECHO;
  3038. | YY_BREAK
  3039. | #line 793 "lex.yy.c"
  3040. | case YY_STATE_EOF(INITIAL):
  3041. | yyterminate();
  3042. |
  3043. | case YY_END_OF_BUFFER:
  3044. | {
  3045. | /* Amount of text matched not including the EOB char. */
  3046. | int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
  3047. |
  3048. | /* Undo the effects of YY_DO_BEFORE_ACTION. */
  3049. | *yy_cp = (yy_hold_char);
  3050. | YY_RESTORE_YY_MORE_OFFSET
  3051. |
  3052. | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
  3053. | {
  3054. | /* We're scanning a new file or input source. It's
  3055. | * possible that this happened because the user
  3056. | * just pointed yyin at a new source and called
  3057. | * yylex(). If so, then we have to assure
  3058. | * consistency between YY_CURRENT_BUFFER and our
  3059. | * globals. Here is the right place to do so, because
  3060. | * this is the first action (other than possibly a
  3061. | * back-up) that will match for the new input source.
  3062. | */
  3063. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  3064. | YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
  3065. | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
  3066. | }
  3067. |
  3068. | /* Note that here we test for yy_c_buf_p "<=" to the position
  3069. | * of the first EOB in the buffer, since yy_c_buf_p will
  3070. | * already have been incremented past the NUL character
  3071. | * (since all states make transitions on EOB to the
  3072. | * end-of-buffer state). Contrast this with the test
  3073. | * in input().
  3074. | */
  3075. | if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
  3076. | { /* This was really a NUL. */
  3077. | yy_state_type yy_next_state;
  3078. |
  3079. | (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
  3080. |
  3081. | yy_current_state = yy_get_previous_state( );
  3082. |
  3083. | /* Okay, we're now positioned to make the NUL
  3084. | * transition. We couldn't have
  3085. | * yy_get_previous_state() go ahead and do it
  3086. | * for us because it doesn't know how to deal
  3087. | * with the possibility of jamming (and we don't
  3088. | * want to build jamming into it because then it
  3089. | * will run more slowly).
  3090. | */
  3091. |
  3092. | yy_next_state = yy_try_NUL_trans( yy_current_state );
  3093. |
  3094. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  3095. |
  3096. | if ( yy_next_state )
  3097. | {
  3098. | /* Consume the NUL. */
  3099. | yy_cp = ++(yy_c_buf_p);
  3100. | yy_current_state = yy_next_state;
  3101. | goto yy_match;
  3102. | }
  3103. |
  3104. | else
  3105. | {
  3106. | yy_cp = (yy_c_buf_p);
  3107. | goto yy_find_action;
  3108. | }
  3109. | }
  3110. |
  3111. | else switch ( yy_get_next_buffer( ) )
  3112. | {
  3113. | case EOB_ACT_END_OF_FILE:
  3114. | {
  3115. | (yy_did_buffer_switch_on_eof) = 0;
  3116. |
  3117. | if ( yywrap( ) )
  3118. | {
  3119. | /* Note: because we've taken care in
  3120. | * yy_get_next_buffer() to have set up
  3121. | * yytext, we can now set up
  3122. | * yy_c_buf_p so that if some total
  3123. | * hoser (like flex itself) wants to
  3124. | * call the scanner after we return the
  3125. | * YY_NULL, it'll still work - another
  3126. | * YY_NULL will get returned.
  3127. | */
  3128. | (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
  3129. |
  3130. | yy_act = YY_STATE_EOF(YY_START);
  3131. | goto do_action;
  3132. | }
  3133. |
  3134. | else
  3135. | {
  3136. | if ( ! (yy_did_buffer_switch_on_eof) )
  3137. | YY_NEW_FILE;
  3138. | }
  3139. | break;
  3140. | }
  3141. |
  3142. | case EOB_ACT_CONTINUE_SCAN:
  3143. | (yy_c_buf_p) =
  3144. | (yytext_ptr) + yy_amount_of_matched_text;
  3145. |
  3146. | yy_current_state = yy_get_previous_state( );
  3147. |
  3148. | yy_cp = (yy_c_buf_p);
  3149. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  3150. | goto yy_match;
  3151. |
  3152. | case EOB_ACT_LAST_MATCH:
  3153. | (yy_c_buf_p) =
  3154. | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
  3155. |
  3156. | yy_current_state = yy_get_previous_state( );
  3157. |
  3158. | yy_cp = (yy_c_buf_p);
  3159. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  3160. | goto yy_find_action;
  3161. | }
  3162. | break;
  3163. | }
  3164. |
  3165. | default:
  3166. | YY_FATAL_ERROR(
  3167. | "fatal flex scanner internal error--no action found" );
  3168. | } /* end of action switch */
  3169. | } /* end of scanning one token */
  3170. | } /* end of user's declarations */
  3171. | } /* end of yylex */
  3172. |
  3173. | /* yy_get_next_buffer - try to read in a new buffer
  3174. | *
  3175. | * Returns a code representing an action:
  3176. | * EOB_ACT_LAST_MATCH -
  3177. | * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
  3178. | * EOB_ACT_END_OF_FILE - end of file
  3179. | */
  3180. | static int yy_get_next_buffer (void)
  3181. | {
  3182. | char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
  3183. | char *source = (yytext_ptr);
  3184. | int number_to_move, i;
  3185. | int ret_val;
  3186. |
  3187. | if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
  3188. | YY_FATAL_ERROR(
  3189. | "fatal flex scanner internal error--end of buffer missed" );
  3190. |
  3191. | if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
  3192. | { /* Don't try to fill the buffer, so this is an EOF. */
  3193. | if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
  3194. | {
  3195. | /* We matched a single character, the EOB, so
  3196. | * treat this as a final EOF.
  3197. | */
  3198. | return EOB_ACT_END_OF_FILE;
  3199. | }
  3200. |
  3201. | else
  3202. | {
  3203. | /* We matched some text prior to the EOB, first
  3204. | * process it.
  3205. | */
  3206. | return EOB_ACT_LAST_MATCH;
  3207. | }
  3208. | }
  3209. |
  3210. | /* Try to read more data. */
  3211. |
  3212. | /* First move last chars to start of buffer. */
  3213. | number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr) - 1);
  3214. |
  3215. | for ( i = 0; i < number_to_move; ++i )
  3216. | *(dest++) = *(source++);
  3217. |
  3218. | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
  3219. | /* don't do the read, it's not guaranteed to return an EOF,
  3220. | * just force an EOF
  3221. | */
  3222. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
  3223. |
  3224. | else
  3225. | {
  3226. | int num_to_read =
  3227. | YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
  3228. |
  3229. | while ( num_to_read <= 0 )
  3230. | { /* Not enough room in the buffer - grow it. */
  3231. |
  3232. | YY_FATAL_ERROR(
  3233. | "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
  3234. |
  3235. | }
  3236. |
  3237. | if ( num_to_read > YY_READ_BUF_SIZE )
  3238. | num_to_read = YY_READ_BUF_SIZE;
  3239. |
  3240. | /* Read in more data. */
  3241. | YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
  3242. | (yy_n_chars), num_to_read );
  3243. |
  3244. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  3245. | }
  3246. |
  3247. | if ( (yy_n_chars) == 0 )
  3248. | {
  3249. | if ( number_to_move == YY_MORE_ADJ )
  3250. | {
  3251. | ret_val = EOB_ACT_END_OF_FILE;
  3252. | yyrestart( yyin );
  3253. | }
  3254. |
  3255. | else
  3256. | {
  3257. | ret_val = EOB_ACT_LAST_MATCH;
  3258. | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
  3259. | YY_BUFFER_EOF_PENDING;
  3260. | }
  3261. | }
  3262. |
  3263. | else
  3264. | ret_val = EOB_ACT_CONTINUE_SCAN;
  3265. |
  3266. | if (((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
  3267. | /* Extend the array by 50%, plus the number we really need. */
  3268. | int new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
  3269. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc(
  3270. | (void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf, (yy_size_t) new_size );
  3271. | if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  3272. | YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
  3273. | /* "- 2" to take care of EOB's */
  3274. | YY_CURRENT_BUFFER_LVALUE->yy_buf_size = (int) (new_size - 2);
  3275. | }
  3276. |
  3277. | (yy_n_chars) += number_to_move;
  3278. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
  3279. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
  3280. |
  3281. | (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
  3282. |
  3283. | return ret_val;
  3284. | }
  3285. |
  3286. | /* yy_get_previous_state - get the state just before the EOB char was reached */
  3287. |
  3288. | static yy_state_type yy_get_previous_state (void)
  3289. | {
  3290. | yy_state_type yy_current_state;
  3291. | char *yy_cp;
  3292. |
  3293. | yy_current_state = (yy_start);
  3294. |
  3295. | (yy_state_ptr) = (yy_state_buf);
  3296. | *(yy_state_ptr)++ = yy_current_state;
  3297. |
  3298. | for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
  3299. | {
  3300. | YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
  3301. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  3302. | {
  3303. | yy_current_state = (int) yy_def[yy_current_state];
  3304. | if ( yy_current_state >= 13 )
  3305. | yy_c = yy_meta[yy_c];
  3306. | }
  3307. | yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
  3308. | *(yy_state_ptr)++ = yy_current_state;
  3309. | }
  3310. |
  3311. | return yy_current_state;
  3312. | }
  3313. |
  3314. | /* yy_try_NUL_trans - try to make a transition on the NUL character
  3315. | *
  3316. | * synopsis
  3317. | * next_state = yy_try_NUL_trans( current_state );
  3318. | */
  3319. | static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
  3320. | {
  3321. | int yy_is_jam;
  3322. |
  3323. | YY_CHAR yy_c = 1;
  3324. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  3325. | {
  3326. | yy_current_state = (int) yy_def[yy_current_state];
  3327. | if ( yy_current_state >= 13 )
  3328. | yy_c = yy_meta[yy_c];
  3329. | }
  3330. | yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
  3331. | yy_is_jam = (yy_current_state == 12);
  3332. | if ( ! yy_is_jam )
  3333. | *(yy_state_ptr)++ = yy_current_state;
  3334. |
  3335. | return yy_is_jam ? 0 : yy_current_state;
  3336. | }
  3337. |
  3338. | #ifndef YY_NO_UNPUT
  3339. |
  3340. | static void yyunput (int c, char * yy_bp )
  3341. | {
  3342. | char *yy_cp;
  3343. |
  3344. | yy_cp = (yy_c_buf_p);
  3345. |
  3346. | /* undo effects of setting up yytext */
  3347. | *yy_cp = (yy_hold_char);
  3348. |
  3349. | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  3350. | { /* need to shift things up to make room */
  3351. | /* +2 for EOB chars. */
  3352. | int number_to_move = (yy_n_chars) + 2;
  3353. | char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
  3354. | YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
  3355. | char *source =
  3356. | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
  3357. |
  3358. | while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  3359. | *--dest = *--source;
  3360. |
  3361. | yy_cp += (int) (dest - source);
  3362. | yy_bp += (int) (dest - source);
  3363. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
  3364. | (yy_n_chars) = (int) YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
  3365. |
  3366. | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  3367. | YY_FATAL_ERROR( "flex scanner push-back overflow" );
  3368. | }
  3369. |
  3370. | *--yy_cp = (char) c;
  3371. |
  3372. | (yytext_ptr) = yy_bp;
  3373. | (yy_hold_char) = *yy_cp;
  3374. | (yy_c_buf_p) = yy_cp;
  3375. | }
  3376. |
  3377. | #endif
  3378. |
  3379. | #ifndef YY_NO_INPUT
  3380. | #ifdef __cplusplus
  3381. | static int yyinput (void)
  3382. | #else
  3383. | static int input (void)
  3384. | #endif
  3385. |
  3386. | {
  3387. | int c;
  3388. |
  3389. | *(yy_c_buf_p) = (yy_hold_char);
  3390. |
  3391. | if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
  3392. | {
  3393. | /* yy_c_buf_p now points to the character we want to return.
  3394. | * If this occurs *before* the EOB characters, then it's a
  3395. | * valid NUL; if not, then we've hit the end of the buffer.
  3396. | */
  3397. | if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
  3398. | /* This was really a NUL. */
  3399. | *(yy_c_buf_p) = '\0';
  3400. |
  3401. | else
  3402. | { /* need more input */
  3403. | int offset = (int) ((yy_c_buf_p) - (yytext_ptr));
  3404. | ++(yy_c_buf_p);
  3405. |
  3406. | switch ( yy_get_next_buffer( ) )
  3407. | {
  3408. | case EOB_ACT_LAST_MATCH:
  3409. | /* This happens because yy_g_n_b()
  3410. | * sees that we've accumulated a
  3411. | * token and flags that we need to
  3412. | * try matching the token before
  3413. | * proceeding. But for input(),
  3414. | * there's no matching to consider.
  3415. | * So convert the EOB_ACT_LAST_MATCH
  3416. | * to EOB_ACT_END_OF_FILE.
  3417. | */
  3418. |
  3419. | /* Reset buffer status. */
  3420. | yyrestart( yyin );
  3421. |
  3422. | /*FALLTHROUGH*/
  3423. |
  3424. | case EOB_ACT_END_OF_FILE:
  3425. | {
  3426. | if ( yywrap( ) )
  3427. | return 0;
  3428. |
  3429. | if ( ! (yy_did_buffer_switch_on_eof) )
  3430. | YY_NEW_FILE;
  3431. | #ifdef __cplusplus
  3432. | return yyinput();
  3433. | #else
  3434. | return input();
  3435. | #endif
  3436. | }
  3437. |
  3438. | case EOB_ACT_CONTINUE_SCAN:
  3439. | (yy_c_buf_p) = (yytext_ptr) + offset;
  3440. | break;
  3441. | }
  3442. | }
  3443. | }
  3444. |
  3445. | c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
  3446. | *(yy_c_buf_p) = '\0'; /* preserve yytext */
  3447. | (yy_hold_char) = *++(yy_c_buf_p);
  3448. |
  3449. | return c;
  3450. | }
  3451. | #endif /* ifndef YY_NO_INPUT */
  3452. |
  3453. | /** Immediately switch to a different input stream.
  3454. | * @param input_file A readable stream.
  3455. | *
  3456. | * @note This function does not reset the start condition to @c INITIAL .
  3457. | */
  3458. | void yyrestart (FILE * input_file )
  3459. | {
  3460. |
  3461. | if ( ! YY_CURRENT_BUFFER ){
  3462. | yyensure_buffer_stack ();
  3463. | YY_CURRENT_BUFFER_LVALUE =
  3464. | yy_create_buffer( yyin, YY_BUF_SIZE );
  3465. | }
  3466. |
  3467. | yy_init_buffer( YY_CURRENT_BUFFER, input_file );
  3468. | yy_load_buffer_state( );
  3469. | }
  3470. |
  3471. | /** Switch to a different input buffer.
  3472. | * @param new_buffer The new input buffer.
  3473. | *
  3474. | */
  3475. | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer )
  3476. | {
  3477. |
  3478. | /* TODO. We should be able to replace this entire function body
  3479. | * with
  3480. | * yypop_buffer_state();
  3481. | * yypush_buffer_state(new_buffer);
  3482. | */
  3483. | yyensure_buffer_stack ();
  3484. | if ( YY_CURRENT_BUFFER == new_buffer )
  3485. | return;
  3486. |
  3487. | if ( YY_CURRENT_BUFFER )
  3488. | {
  3489. | /* Flush out information for old buffer. */
  3490. | *(yy_c_buf_p) = (yy_hold_char);
  3491. | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
  3492. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  3493. | }
  3494. |
  3495. | YY_CURRENT_BUFFER_LVALUE = new_buffer;
  3496. | yy_load_buffer_state( );
  3497. |
  3498. | /* We don't actually know whether we did this switch during
  3499. | * EOF (yywrap()) processing, but the only time this flag
  3500. | * is looked at is after yywrap() is called, so it's safe
  3501. | * to go ahead and always set it.
  3502. | */
  3503. | (yy_did_buffer_switch_on_eof) = 1;
  3504. | }
  3505. |
  3506. | static void yy_load_buffer_state (void)
  3507. | {
  3508. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  3509. | (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
  3510. | yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
  3511. | (yy_hold_char) = *(yy_c_buf_p);
  3512. | }
  3513. |
  3514. | /** Allocate and initialize an input buffer state.
  3515. | * @param file A readable stream.
  3516. | * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
  3517. | *
  3518. | * @return the allocated buffer state.
  3519. | */
  3520. | YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
  3521. | {
  3522. | YY_BUFFER_STATE b;
  3523. |
  3524. | b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) );
  3525. | if ( ! b )
  3526. | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  3527. |
  3528. | b->yy_buf_size = size;
  3529. |
  3530. | /* yy_ch_buf has to be 2 characters longer than the size given because
  3531. | * we need to put in 2 end-of-buffer characters.
  3532. | */
  3533. | b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2) );
  3534. | if ( ! b->yy_ch_buf )
  3535. | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  3536. |
  3537. | b->yy_is_our_buffer = 1;
  3538. |
  3539. | yy_init_buffer( b, file );
  3540. |
  3541. | return b;
  3542. | }
  3543. |
  3544. | /** Destroy the buffer.
  3545. | * @param b a buffer created with yy_create_buffer()
  3546. | *
  3547. | */
  3548. | void yy_delete_buffer (YY_BUFFER_STATE b )
  3549. | {
  3550. |
  3551. | if ( ! b )
  3552. | return;
  3553. |
  3554. | if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
  3555. | YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
  3556. |
  3557. | if ( b->yy_is_our_buffer )
  3558. | yyfree( (void *) b->yy_ch_buf );
  3559. |
  3560. | yyfree( (void *) b );
  3561. | }
  3562. |
  3563. | /* Initializes or reinitializes a buffer.
  3564. | * This function is sometimes called more than once on the same buffer,
  3565. | * such as during a yyrestart() or at EOF.
  3566. | */
  3567. | static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file )
  3568. |
  3569. | {
  3570. | int oerrno = errno;
  3571. |
  3572. | yy_flush_buffer( b );
  3573. |
  3574. | b->yy_input_file = file;
  3575. | b->yy_fill_buffer = 1;
  3576. |
  3577. | /* If b is the current buffer, then yy_init_buffer was _probably_
  3578. | * called from yyrestart() or through yy_get_next_buffer.
  3579. | * In that case, we don't want to reset the lineno or column.
  3580. | */
  3581. | if (b != YY_CURRENT_BUFFER){
  3582. | b->yy_bs_lineno = 1;
  3583. | b->yy_bs_column = 0;
  3584. | }
  3585. |
  3586. | b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
  3587. |
  3588. | errno = oerrno;
  3589. | }
  3590. |
  3591. | /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
  3592. | * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
  3593. | *
  3594. | */
  3595. | void yy_flush_buffer (YY_BUFFER_STATE b )
  3596. | {
  3597. | if ( ! b )
  3598. | return;
  3599. |
  3600. | b->yy_n_chars = 0;
  3601. |
  3602. | /* We always need two end-of-buffer characters. The first causes
  3603. | * a transition to the end-of-buffer state. The second causes
  3604. | * a jam in that state.
  3605. | */
  3606. | b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
  3607. | b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
  3608. |
  3609. | b->yy_buf_pos = &b->yy_ch_buf[0];
  3610. |
  3611. | b->yy_at_bol = 1;
  3612. | b->yy_buffer_status = YY_BUFFER_NEW;
  3613. |
  3614. | if ( b == YY_CURRENT_BUFFER )
  3615. | yy_load_buffer_state( );
  3616. | }
  3617. |
  3618. | /** Pushes the new state onto the stack. The new state becomes
  3619. | * the current state. This function will allocate the stack
  3620. | * if necessary.
  3621. | * @param new_buffer The new state.
  3622. | *
  3623. | */
  3624. | void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
  3625. | {
  3626. | if (new_buffer == NULL)
  3627. | return;
  3628. |
  3629. | yyensure_buffer_stack();
  3630. |
  3631. | /* This block is copied from yy_switch_to_buffer. */
  3632. | if ( YY_CURRENT_BUFFER )
  3633. | {
  3634. | /* Flush out information for old buffer. */
  3635. | *(yy_c_buf_p) = (yy_hold_char);
  3636. | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
  3637. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  3638. | }
  3639. |
  3640. | /* Only push if top exists. Otherwise, replace top. */
  3641. | if (YY_CURRENT_BUFFER)
  3642. | (yy_buffer_stack_top)++;
  3643. | YY_CURRENT_BUFFER_LVALUE = new_buffer;
  3644. |
  3645. | /* copied from yy_switch_to_buffer. */
  3646. | yy_load_buffer_state( );
  3647. | (yy_did_buffer_switch_on_eof) = 1;
  3648. | }
  3649. |
  3650. | /** Removes and deletes the top of the stack, if present.
  3651. | * The next element becomes the new top.
  3652. | *
  3653. | */
  3654. | void yypop_buffer_state (void)
  3655. | {
  3656. | if (!YY_CURRENT_BUFFER)
  3657. | return;
  3658. |
  3659. | yy_delete_buffer(YY_CURRENT_BUFFER );
  3660. | YY_CURRENT_BUFFER_LVALUE = NULL;
  3661. | if ((yy_buffer_stack_top) > 0)
  3662. | --(yy_buffer_stack_top);
  3663. |
  3664. | if (YY_CURRENT_BUFFER) {
  3665. | yy_load_buffer_state( );
  3666. | (yy_did_buffer_switch_on_eof) = 1;
  3667. | }
  3668. | }
  3669. |
  3670. | /* Allocates the stack if it does not exist.
  3671. | * Guarantees space for at least one push.
  3672. | */
  3673. | static void yyensure_buffer_stack (void)
  3674. | {
  3675. | yy_size_t num_to_alloc;
  3676. |
  3677. | if (!(yy_buffer_stack)) {
  3678. |
  3679. | /* First allocation is just for 2 elements, since we don't know if this
  3680. | * scanner will even need a stack. We use 2 instead of 1 to avoid an
  3681. | * immediate realloc on the next call.
  3682. | */
  3683. | num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */
  3684. | (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
  3685. | (num_to_alloc * sizeof(struct yy_buffer_state*)
  3686. | );
  3687. | if ( ! (yy_buffer_stack) )
  3688. | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  3689. |
  3690. | memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
  3691. |
  3692. | (yy_buffer_stack_max) = num_to_alloc;
  3693. | (yy_buffer_stack_top) = 0;
  3694. | return;
  3695. | }
  3696. |
  3697. | if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
  3698. |
  3699. | /* Increase the buffer to prepare for a possible push. */
  3700. | yy_size_t grow_size = 8 /* arbitrary grow size */;
  3701. |
  3702. | num_to_alloc = (yy_buffer_stack_max) + grow_size;
  3703. | (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
  3704. | ((yy_buffer_stack),
  3705. | num_to_alloc * sizeof(struct yy_buffer_state*)
  3706. | );
  3707. | if ( ! (yy_buffer_stack) )
  3708. | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  3709. |
  3710. | /* zero only the new slots.*/
  3711. | memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
  3712. | (yy_buffer_stack_max) = num_to_alloc;
  3713. | }
  3714. | }
  3715. |
  3716. | /** Setup the input buffer state to scan directly from a user-specified character buffer.
  3717. | * @param base the character buffer
  3718. | * @param size the size in bytes of the character buffer
  3719. | *
  3720. | * @return the newly allocated buffer state object.
  3721. | */
  3722. | YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size )
  3723. | {
  3724. | YY_BUFFER_STATE b;
  3725. |
  3726. | if ( size < 2 ||
  3727. | base[size-2] != YY_END_OF_BUFFER_CHAR ||
  3728. | base[size-1] != YY_END_OF_BUFFER_CHAR )
  3729. | /* They forgot to leave room for the EOB's. */
  3730. | return NULL;
  3731. |
  3732. | b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) );
  3733. | if ( ! b )
  3734. | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
  3735. |
  3736. | b->yy_buf_size = (int) (size - 2); /* "- 2" to take care of EOB's */
  3737. | b->yy_buf_pos = b->yy_ch_buf = base;
  3738. | b->yy_is_our_buffer = 0;
  3739. | b->yy_input_file = NULL;
  3740. | b->yy_n_chars = b->yy_buf_size;
  3741. | b->yy_is_interactive = 0;
  3742. | b->yy_at_bol = 1;
  3743. | b->yy_fill_buffer = 0;
  3744. | b->yy_buffer_status = YY_BUFFER_NEW;
  3745. |
  3746. | yy_switch_to_buffer( b );
  3747. |
  3748. | return b;
  3749. | }
  3750. |
  3751. | /** Setup the input buffer state to scan a string. The next call to yylex() will
  3752. | * scan from a @e copy of @a str.
  3753. | * @param yystr a NUL-terminated string to scan
  3754. | *
  3755. | * @return the newly allocated buffer state object.
  3756. | * @note If you want to scan bytes that may contain NUL values, then use
  3757. | * yy_scan_bytes() instead.
  3758. | */
  3759. | YY_BUFFER_STATE yy_scan_string (const char * yystr )
  3760. | {
  3761. |
  3762. | return yy_scan_bytes( yystr, (int) strlen(yystr) );
  3763. | }
  3764. |
  3765. | /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
  3766. | * scan from a @e copy of @a bytes.
  3767. | * @param yybytes the byte buffer to scan
  3768. | * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
  3769. | *
  3770. | * @return the newly allocated buffer state object.
  3771. | */
  3772. | YY_BUFFER_STATE yy_scan_bytes (const char * yybytes, int _yybytes_len )
  3773. | {
  3774. | YY_BUFFER_STATE b;
  3775. | char *buf;
  3776. | yy_size_t n;
  3777. | int i;
  3778. |
  3779. | /* Get memory for full buffer, including space for trailing EOB's. */
  3780. | n = (yy_size_t) (_yybytes_len + 2);
  3781. | buf = (char *) yyalloc( n );
  3782. | if ( ! buf )
  3783. | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
  3784. |
  3785. | for ( i = 0; i < _yybytes_len; ++i )
  3786. | buf[i] = yybytes[i];
  3787. |
  3788. | buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
  3789. |
  3790. | b = yy_scan_buffer( buf, n );
  3791. | if ( ! b )
  3792. | YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
  3793. |
  3794. | /* It's okay to grow etc. this buffer, and we should throw it
  3795. | * away when we're done.
  3796. | */
  3797. | b->yy_is_our_buffer = 1;
  3798. |
  3799. | return b;
  3800. | }
  3801. |
  3802. | #ifndef YY_EXIT_FAILURE
  3803. | #define YY_EXIT_FAILURE 2
  3804. | #endif
  3805. |
  3806. | static void yynoreturn yy_fatal_error (const char* msg )
  3807. | {
  3808. | fprintf( stderr, "%s\n", msg );
  3809. | exit( YY_EXIT_FAILURE );
  3810. | }
  3811. |
  3812. | /* Redefine yyless() so it works in section 3 code. */
  3813. |
  3814. | #undef yyless
  3815. | #define yyless(n) \
  3816. | do \
  3817. | { \
  3818. | /* Undo effects of setting up yytext. */ \
  3819. | int yyless_macro_arg = (n); \
  3820. | YY_LESS_LINENO(yyless_macro_arg);\
  3821. | yytext[yyleng] = (yy_hold_char); \
  3822. | (yy_c_buf_p) = yytext + yyless_macro_arg; \
  3823. | (yy_hold_char) = *(yy_c_buf_p); \
  3824. | *(yy_c_buf_p) = '\0'; \
  3825. | yyleng = yyless_macro_arg; \
  3826. | } \
  3827. | while ( 0 )
  3828. |
  3829. | /* Accessor methods (get/set functions) to struct members. */
  3830. |
  3831. | /** Get the current line number.
  3832. | *
  3833. | */
  3834. | int yyget_lineno (void)
  3835. | {
  3836. |
  3837. | return yylineno;
  3838. | }
  3839. |
  3840. | /** Get the input stream.
  3841. | *
  3842. | */
  3843. | FILE *yyget_in (void)
  3844. | {
  3845. | return yyin;
  3846. | }
  3847. |
  3848. | /** Get the output stream.
  3849. | *
  3850. | */
  3851. | FILE *yyget_out (void)
  3852. | {
  3853. | return yyout;
  3854. | }
  3855. |
  3856. | /** Get the length of the current token.
  3857. | *
  3858. | */
  3859. | int yyget_leng (void)
  3860. | {
  3861. | return yyleng;
  3862. | }
  3863. |
  3864. | /** Get the current token.
  3865. | *
  3866. | */
  3867. |
  3868. | char *yyget_text (void)
  3869. | {
  3870. | return yytext;
  3871. | }
  3872. |
  3873. | /** Set the current line number.
  3874. | * @param _line_number line number
  3875. | *
  3876. | */
  3877. | void yyset_lineno (int _line_number )
  3878. | {
  3879. |
  3880. | yylineno = _line_number;
  3881. | }
  3882. |
  3883. | /** Set the input stream. This does not discard the current
  3884. | * input buffer.
  3885. | * @param _in_str A readable stream.
  3886. | *
  3887. | * @see yy_switch_to_buffer
  3888. | */
  3889. | void yyset_in (FILE * _in_str )
  3890. | {
  3891. | yyin = _in_str ;
  3892. | }
  3893. |
  3894. | void yyset_out (FILE * _out_str )
  3895. | {
  3896. | yyout = _out_str ;
  3897. | }
  3898. |
  3899. | int yyget_debug (void)
  3900. | {
  3901. | return yy_flex_debug;
  3902. | }
  3903. |
  3904. | void yyset_debug (int _bdebug )
  3905. | {
  3906. | yy_flex_debug = _bdebug ;
  3907. | }
  3908. |
  3909. | static int yy_init_globals (void)
  3910. | {
  3911. | /* Initialization is the same as for the non-reentrant scanner.
  3912. | * This function is called from yylex_destroy(), so don't allocate here.
  3913. | */
  3914. |
  3915. | (yy_buffer_stack) = NULL;
  3916. | (yy_buffer_stack_top) = 0;
  3917. | (yy_buffer_stack_max) = 0;
  3918. | (yy_c_buf_p) = NULL;
  3919. | (yy_init) = 0;
  3920. | (yy_start) = 0;
  3921. |
  3922. | (yy_state_buf) = 0;
  3923. | (yy_state_ptr) = 0;
  3924. | (yy_full_match) = 0;
  3925. | (yy_lp) = 0;
  3926. |
  3927. | /* Defined in main.c */
  3928. | #ifdef YY_STDINIT
  3929. | yyin = stdin;
  3930. | yyout = stdout;
  3931. | #else
  3932. | yyin = NULL;
  3933. | yyout = NULL;
  3934. | #endif
  3935. |
  3936. | /* For future reference: Set errno on error, since we are called by
  3937. | * yylex_init()
  3938. | */
  3939. | return 0;
  3940. | }
  3941. |
  3942. | /* yylex_destroy is for both reentrant and non-reentrant scanners. */
  3943. | int yylex_destroy (void)
  3944. | {
  3945. |
  3946. | /* Pop the buffer stack, destroying each element. */
  3947. | while(YY_CURRENT_BUFFER){
  3948. | yy_delete_buffer( YY_CURRENT_BUFFER );
  3949. | YY_CURRENT_BUFFER_LVALUE = NULL;
  3950. | yypop_buffer_state();
  3951. | }
  3952. |
  3953. | /* Destroy the stack itself. */
  3954. | yyfree((yy_buffer_stack) );
  3955. | (yy_buffer_stack) = NULL;
  3956. |
  3957. | yyfree ( (yy_state_buf) );
  3958. | (yy_state_buf) = NULL;
  3959. |
  3960. | /* Reset the globals. This is important in a non-reentrant scanner so the next time
  3961. | * yylex() is called, initialization will occur. */
  3962. | yy_init_globals( );
  3963. |
  3964. | return 0;
  3965. | }
  3966. |
  3967. | /*
  3968. | * Internal utility routines.
  3969. | */
  3970. |
  3971. | #ifndef yytext_ptr
  3972. | static void yy_flex_strncpy (char* s1, const char * s2, int n )
  3973. | {
  3974. |
  3975. | int i;
  3976. | for ( i = 0; i < n; ++i )
  3977. | s1[i] = s2[i];
  3978. | }
  3979. | #endif
  3980. |
  3981. | #ifdef YY_NEED_STRLEN
  3982. | static int yy_flex_strlen (const char * s )
  3983. | {
  3984. | int n;
  3985. | for ( n = 0; s[n]; ++n )
  3986. | ;
  3987. |
  3988. | return n;
  3989. | }
  3990. | #endif
  3991. |
  3992. | void *yyalloc (yy_size_t size )
  3993. | {
  3994. | return malloc(size);
  3995. | }
  3996. |
  3997. | void *yyrealloc (void * ptr, yy_size_t size )
  3998. | {
  3999. |
  4000. | /* The cast to (char *) in the following accommodates both
  4001. | * implementations that use char* generic pointers, and those
  4002. | * that use void* generic pointers. It works with the latter
  4003. | * because both ANSI C and C++ allow castless assignment from
  4004. | * any pointer type to void*, and deal with argument conversions
  4005. | * as though doing an assignment.
  4006. | */
  4007. | return realloc(ptr, size);
  4008. | }
  4009. |
  4010. | void yyfree (void * ptr )
  4011. | {
  4012. | free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
  4013. | }
  4014. |
  4015. | #define YYTABLES_NAME "yytables"
  4016. |
  4017. | #line 10 "conftest.l"
  4018. |
  4019. | #ifdef YYTEXT_POINTER
  4020. | extern char *yytext;
  4021. | #endif
  4022. | int
  4023. | main (void)
  4024. | {
  4025. | return ! yylex () + ! yywrap ();
  4026. | }
  4027. configure:9840: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -o conftest -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-math-errno -fno-signed-zeros -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -ll >&5
  4028. /home/thibault/Documents/Dev/buildroot/buildroot/output/host/lib/gcc/arm-buildroot-linux-gnueabi/7.4.0/../../../../arm-buildroot-linux-gnueabi/bin/ld: cannot find -ll
  4029. collect2: error: ld returned 1 exit status
  4030. configure:9840: $? = 1
  4031. configure: failed program was:
  4032. | /* confdefs.h */
  4033. | #define PACKAGE_NAME ""
  4034. | #define PACKAGE_TARNAME ""
  4035. | #define PACKAGE_VERSION ""
  4036. | #define PACKAGE_STRING ""
  4037. | #define PACKAGE_BUGREPORT ""
  4038. | #define PACKAGE_URL ""
  4039. | #define STDC_HEADERS 1
  4040. | #define HAVE_SYS_TYPES_H 1
  4041. | #define HAVE_SYS_STAT_H 1
  4042. | #define HAVE_STDLIB_H 1
  4043. | #define HAVE_STRING_H 1
  4044. | #define HAVE_MEMORY_H 1
  4045. | #define HAVE_STRINGS_H 1
  4046. | #define HAVE_INTTYPES_H 1
  4047. | #define HAVE_STDINT_H 1
  4048. | #define HAVE_UNISTD_H 1
  4049. | #define HAVE_DLFCN_H 1
  4050. | #define LT_OBJDIR ".libs/"
  4051. | #define POSTGIS_MAJOR_VERSION "3"
  4052. | #define POSTGIS_MINOR_VERSION "0"
  4053. | #define POSTGIS_MICRO_VERSION "1"
  4054. | /* end confdefs.h. */
  4055. |
  4056. | #line 2 "lex.yy.c"
  4057. |
  4058. | #define YY_INT_ALIGNED short int
  4059. |
  4060. | /* A lexical scanner generated by flex */
  4061. |
  4062. | #define FLEX_SCANNER
  4063. | #define YY_FLEX_MAJOR_VERSION 2
  4064. | #define YY_FLEX_MINOR_VERSION 6
  4065. | #define YY_FLEX_SUBMINOR_VERSION 4
  4066. | #if YY_FLEX_SUBMINOR_VERSION > 0
  4067. | #define FLEX_BETA
  4068. | #endif
  4069. |
  4070. | /* First, we deal with platform-specific or compiler-specific issues. */
  4071. |
  4072. | /* begin standard C headers. */
  4073. | #include <stdio.h>
  4074. | #include <string.h>
  4075. | #include <errno.h>
  4076. | #include <stdlib.h>
  4077. |
  4078. | /* end standard C headers. */
  4079. |
  4080. | /* flex integer type definitions */
  4081. |
  4082. | #ifndef FLEXINT_H
  4083. | #define FLEXINT_H
  4084. |
  4085. | /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
  4086. |
  4087. | #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
  4088. |
  4089. | /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
  4090. | * if you want the limit (max/min) macros for int types.
  4091. | */
  4092. | #ifndef __STDC_LIMIT_MACROS
  4093. | #define __STDC_LIMIT_MACROS 1
  4094. | #endif
  4095. |
  4096. | #include <inttypes.h>
  4097. | typedef int8_t flex_int8_t;
  4098. | typedef uint8_t flex_uint8_t;
  4099. | typedef int16_t flex_int16_t;
  4100. | typedef uint16_t flex_uint16_t;
  4101. | typedef int32_t flex_int32_t;
  4102. | typedef uint32_t flex_uint32_t;
  4103. | #else
  4104. | typedef signed char flex_int8_t;
  4105. | typedef short int flex_int16_t;
  4106. | typedef int flex_int32_t;
  4107. | typedef unsigned char flex_uint8_t;
  4108. | typedef unsigned short int flex_uint16_t;
  4109. | typedef unsigned int flex_uint32_t;
  4110. |
  4111. | /* Limits of integral types. */
  4112. | #ifndef INT8_MIN
  4113. | #define INT8_MIN (-128)
  4114. | #endif
  4115. | #ifndef INT16_MIN
  4116. | #define INT16_MIN (-32767-1)
  4117. | #endif
  4118. | #ifndef INT32_MIN
  4119. | #define INT32_MIN (-2147483647-1)
  4120. | #endif
  4121. | #ifndef INT8_MAX
  4122. | #define INT8_MAX (127)
  4123. | #endif
  4124. | #ifndef INT16_MAX
  4125. | #define INT16_MAX (32767)
  4126. | #endif
  4127. | #ifndef INT32_MAX
  4128. | #define INT32_MAX (2147483647)
  4129. | #endif
  4130. | #ifndef UINT8_MAX
  4131. | #define UINT8_MAX (255U)
  4132. | #endif
  4133. | #ifndef UINT16_MAX
  4134. | #define UINT16_MAX (65535U)
  4135. | #endif
  4136. | #ifndef UINT32_MAX
  4137. | #define UINT32_MAX (4294967295U)
  4138. | #endif
  4139. |
  4140. | #ifndef SIZE_MAX
  4141. | #define SIZE_MAX (~(size_t)0)
  4142. | #endif
  4143. |
  4144. | #endif /* ! C99 */
  4145. |
  4146. | #endif /* ! FLEXINT_H */
  4147. |
  4148. | /* begin standard C++ headers. */
  4149. |
  4150. | /* TODO: this is always defined, so inline it */
  4151. | #define yyconst const
  4152. |
  4153. | #if defined(__GNUC__) && __GNUC__ >= 3
  4154. | #define yynoreturn __attribute__((__noreturn__))
  4155. | #else
  4156. | #define yynoreturn
  4157. | #endif
  4158. |
  4159. | /* Returned upon end-of-file. */
  4160. | #define YY_NULL 0
  4161. |
  4162. | /* Promotes a possibly negative, possibly signed char to an
  4163. | * integer in range [0..255] for use as an array index.
  4164. | */
  4165. | #define YY_SC_TO_UI(c) ((YY_CHAR) (c))
  4166. |
  4167. | /* Enter a start condition. This macro really ought to take a parameter,
  4168. | * but we do it the disgusting crufty way forced on us by the ()-less
  4169. | * definition of BEGIN.
  4170. | */
  4171. | #define BEGIN (yy_start) = 1 + 2 *
  4172. | /* Translate the current start state into a value that can be later handed
  4173. | * to BEGIN to return to the state. The YYSTATE alias is for lex
  4174. | * compatibility.
  4175. | */
  4176. | #define YY_START (((yy_start) - 1) / 2)
  4177. | #define YYSTATE YY_START
  4178. | /* Action number for EOF rule of a given start state. */
  4179. | #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
  4180. | /* Special action meaning "start processing a new file". */
  4181. | #define YY_NEW_FILE yyrestart( yyin )
  4182. | #define YY_END_OF_BUFFER_CHAR 0
  4183. |
  4184. | /* Size of default input buffer. */
  4185. | #ifndef YY_BUF_SIZE
  4186. | #ifdef __ia64__
  4187. | /* On IA-64, the buffer size is 16k, not 8k.
  4188. | * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
  4189. | * Ditto for the __ia64__ case accordingly.
  4190. | */
  4191. | #define YY_BUF_SIZE 32768
  4192. | #else
  4193. | #define YY_BUF_SIZE 16384
  4194. | #endif /* __ia64__ */
  4195. | #endif
  4196. |
  4197. | /* The state buf must be large enough to hold one state per character in the main buffer.
  4198. | */
  4199. | #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
  4200. |
  4201. | #ifndef YY_TYPEDEF_YY_BUFFER_STATE
  4202. | #define YY_TYPEDEF_YY_BUFFER_STATE
  4203. | typedef struct yy_buffer_state *YY_BUFFER_STATE;
  4204. | #endif
  4205. |
  4206. | #ifndef YY_TYPEDEF_YY_SIZE_T
  4207. | #define YY_TYPEDEF_YY_SIZE_T
  4208. | typedef size_t yy_size_t;
  4209. | #endif
  4210. |
  4211. | extern int yyleng;
  4212. |
  4213. | extern FILE *yyin, *yyout;
  4214. |
  4215. | #define EOB_ACT_CONTINUE_SCAN 0
  4216. | #define EOB_ACT_END_OF_FILE 1
  4217. | #define EOB_ACT_LAST_MATCH 2
  4218. |
  4219. | #define YY_LESS_LINENO(n)
  4220. | #define YY_LINENO_REWIND_TO(ptr)
  4221. |
  4222. | /* Return all but the first "n" matched characters back to the input stream. */
  4223. | #define yyless(n) \
  4224. | do \
  4225. | { \
  4226. | /* Undo effects of setting up yytext. */ \
  4227. | int yyless_macro_arg = (n); \
  4228. | YY_LESS_LINENO(yyless_macro_arg);\
  4229. | *yy_cp = (yy_hold_char); \
  4230. | YY_RESTORE_YY_MORE_OFFSET \
  4231. | (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
  4232. | YY_DO_BEFORE_ACTION; /* set up yytext again */ \
  4233. | } \
  4234. | while ( 0 )
  4235. | #define unput(c) yyunput( c, (yytext_ptr) )
  4236. |
  4237. | #ifndef YY_STRUCT_YY_BUFFER_STATE
  4238. | #define YY_STRUCT_YY_BUFFER_STATE
  4239. | struct yy_buffer_state
  4240. | {
  4241. | FILE *yy_input_file;
  4242. |
  4243. | char *yy_ch_buf; /* input buffer */
  4244. | char *yy_buf_pos; /* current position in input buffer */
  4245. |
  4246. | /* Size of input buffer in bytes, not including room for EOB
  4247. | * characters.
  4248. | */
  4249. | int yy_buf_size;
  4250. |
  4251. | /* Number of characters read into yy_ch_buf, not including EOB
  4252. | * characters.
  4253. | */
  4254. | int yy_n_chars;
  4255. |
  4256. | /* Whether we "own" the buffer - i.e., we know we created it,
  4257. | * and can realloc() it to grow it, and should free() it to
  4258. | * delete it.
  4259. | */
  4260. | int yy_is_our_buffer;
  4261. |
  4262. | /* Whether this is an "interactive" input source; if so, and
  4263. | * if we're using stdio for input, then we want to use getc()
  4264. | * instead of fread(), to make sure we stop fetching input after
  4265. | * each newline.
  4266. | */
  4267. | int yy_is_interactive;
  4268. |
  4269. | /* Whether we're considered to be at the beginning of a line.
  4270. | * If so, '^' rules will be active on the next match, otherwise
  4271. | * not.
  4272. | */
  4273. | int yy_at_bol;
  4274. |
  4275. | int yy_bs_lineno; /**< The line count. */
  4276. | int yy_bs_column; /**< The column count. */
  4277. |
  4278. | /* Whether to try to fill the input buffer when we reach the
  4279. | * end of it.
  4280. | */
  4281. | int yy_fill_buffer;
  4282. |
  4283. | int yy_buffer_status;
  4284. |
  4285. | #define YY_BUFFER_NEW 0
  4286. | #define YY_BUFFER_NORMAL 1
  4287. | /* When an EOF's been seen but there's still some text to process
  4288. | * then we mark the buffer as YY_EOF_PENDING, to indicate that we
  4289. | * shouldn't try reading from the input source any more. We might
  4290. | * still have a bunch of tokens to match, though, because of
  4291. | * possible backing-up.
  4292. | *
  4293. | * When we actually see the EOF, we change the status to "new"
  4294. | * (via yyrestart()), so that the user can continue scanning by
  4295. | * just pointing yyin at a new input file.
  4296. | */
  4297. | #define YY_BUFFER_EOF_PENDING 2
  4298. |
  4299. | };
  4300. | #endif /* !YY_STRUCT_YY_BUFFER_STATE */
  4301. |
  4302. | /* Stack of input buffers. */
  4303. | static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
  4304. | static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
  4305. | static YY_BUFFER_STATE * yy_buffer_stack = NULL; /**< Stack as an array. */
  4306. |
  4307. | /* We provide macros for accessing buffer states in case in the
  4308. | * future we want to put the buffer states in a more general
  4309. | * "scanner state".
  4310. | *
  4311. | * Returns the top of the stack, or NULL.
  4312. | */
  4313. | #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
  4314. | ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
  4315. | : NULL)
  4316. | /* Same as previous macro, but useful when we know that the buffer stack is not
  4317. | * NULL or when we need an lvalue. For internal use only.
  4318. | */
  4319. | #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
  4320. |
  4321. | /* yy_hold_char holds the character lost when yytext is formed. */
  4322. | static char yy_hold_char;
  4323. | static int yy_n_chars; /* number of characters read into yy_ch_buf */
  4324. | int yyleng;
  4325. |
  4326. | /* Points to current character in buffer. */
  4327. | static char *yy_c_buf_p = NULL;
  4328. | static int yy_init = 0; /* whether we need to initialize */
  4329. | static int yy_start = 0; /* start state number */
  4330. |
  4331. | /* Flag which is used to allow yywrap()'s to do buffer switches
  4332. | * instead of setting up a fresh yyin. A bit of a hack ...
  4333. | */
  4334. | static int yy_did_buffer_switch_on_eof;
  4335. |
  4336. | void yyrestart ( FILE *input_file );
  4337. | void yy_switch_to_buffer ( YY_BUFFER_STATE new_buffer );
  4338. | YY_BUFFER_STATE yy_create_buffer ( FILE *file, int size );
  4339. | void yy_delete_buffer ( YY_BUFFER_STATE b );
  4340. | void yy_flush_buffer ( YY_BUFFER_STATE b );
  4341. | void yypush_buffer_state ( YY_BUFFER_STATE new_buffer );
  4342. | void yypop_buffer_state ( void );
  4343. |
  4344. | static void yyensure_buffer_stack ( void );
  4345. | static void yy_load_buffer_state ( void );
  4346. | static void yy_init_buffer ( YY_BUFFER_STATE b, FILE *file );
  4347. | #define YY_FLUSH_BUFFER yy_flush_buffer( YY_CURRENT_BUFFER )
  4348. |
  4349. | YY_BUFFER_STATE yy_scan_buffer ( char *base, yy_size_t size );
  4350. | YY_BUFFER_STATE yy_scan_string ( const char *yy_str );
  4351. | YY_BUFFER_STATE yy_scan_bytes ( const char *bytes, int len );
  4352. |
  4353. | void *yyalloc ( yy_size_t );
  4354. | void *yyrealloc ( void *, yy_size_t );
  4355. | void yyfree ( void * );
  4356. |
  4357. | #define yy_new_buffer yy_create_buffer
  4358. | #define yy_set_interactive(is_interactive) \
  4359. | { \
  4360. | if ( ! YY_CURRENT_BUFFER ){ \
  4361. | yyensure_buffer_stack (); \
  4362. | YY_CURRENT_BUFFER_LVALUE = \
  4363. | yy_create_buffer( yyin, YY_BUF_SIZE ); \
  4364. | } \
  4365. | YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
  4366. | }
  4367. | #define yy_set_bol(at_bol) \
  4368. | { \
  4369. | if ( ! YY_CURRENT_BUFFER ){\
  4370. | yyensure_buffer_stack (); \
  4371. | YY_CURRENT_BUFFER_LVALUE = \
  4372. | yy_create_buffer( yyin, YY_BUF_SIZE ); \
  4373. | } \
  4374. | YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
  4375. | }
  4376. | #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
  4377. |
  4378. | /* Begin user sect3 */
  4379. | typedef flex_uint8_t YY_CHAR;
  4380. |
  4381. | FILE *yyin = NULL, *yyout = NULL;
  4382. |
  4383. | typedef int yy_state_type;
  4384. |
  4385. | extern int yylineno;
  4386. | int yylineno = 1;
  4387. |
  4388. | extern char *yytext;
  4389. | #ifdef yytext_ptr
  4390. | #undef yytext_ptr
  4391. | #endif
  4392. | #define yytext_ptr yytext
  4393. |
  4394. | static yy_state_type yy_get_previous_state ( void );
  4395. | static yy_state_type yy_try_NUL_trans ( yy_state_type current_state );
  4396. | static int yy_get_next_buffer ( void );
  4397. | static void yynoreturn yy_fatal_error ( const char* msg );
  4398. |
  4399. | /* Done after the current pattern has been matched and before the
  4400. | * corresponding action - sets up yytext.
  4401. | */
  4402. | #define YY_DO_BEFORE_ACTION \
  4403. | (yytext_ptr) = yy_bp; \
  4404. | (yytext_ptr) -= (yy_more_len); \
  4405. | yyleng = (int) (yy_cp - (yytext_ptr)); \
  4406. | (yy_hold_char) = *yy_cp; \
  4407. | *yy_cp = '\0'; \
  4408. | (yy_c_buf_p) = yy_cp;
  4409. | #define YY_NUM_RULES 8
  4410. | #define YY_END_OF_BUFFER 9
  4411. | /* This struct is not used in this scanner,
  4412. | but its presence is necessary. */
  4413. | struct yy_trans_info
  4414. | {
  4415. | flex_int32_t yy_verify;
  4416. | flex_int32_t yy_nxt;
  4417. | };
  4418. | static const flex_int16_t yy_acclist[23] =
  4419. | { 0,
  4420. | 9, 7, 8, 8, 1, 7, 8, 2, 7, 8,
  4421. | 3, 7, 8, 4, 7, 8, 5, 7, 8, 6,
  4422. | 7, 8
  4423. | } ;
  4424. |
  4425. | static const flex_int16_t yy_accept[14] =
  4426. | { 0,
  4427. | 1, 1, 1, 2, 4, 5, 8, 11, 14, 17,
  4428. | 20, 23, 23
  4429. | } ;
  4430. |
  4431. | static const YY_CHAR yy_ec[256] =
  4432. | { 0,
  4433. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 2,
  4434. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4435. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4436. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4437. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4438. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4439. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4440. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4441. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4442. | 1, 1, 1, 1, 1, 1, 3, 4, 5, 6,
  4443. |
  4444. | 7, 8, 1, 1, 1, 1, 1, 1, 1, 1,
  4445. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4446. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4447. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4448. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4449. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4450. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4451. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4452. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4453. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4454. |
  4455. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4456. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4457. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4458. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4459. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  4460. | 1, 1, 1, 1, 1
  4461. | } ;
  4462. |
  4463. | static const YY_CHAR yy_meta[9] =
  4464. | { 0,
  4465. | 1, 1, 1, 1, 1, 1, 1, 1
  4466. | } ;
  4467. |
  4468. | static const flex_int16_t yy_base[13] =
  4469. | { 0,
  4470. | 0, 0, 9, 10, 10, 10, 10, 10, 10, 10,
  4471. | 10, 10
  4472. | } ;
  4473. |
  4474. | static const flex_int16_t yy_def[13] =
  4475. | { 0,
  4476. | 12, 1, 12, 12, 12, 12, 12, 12, 12, 12,
  4477. | 12, 0
  4478. | } ;
  4479. |
  4480. | static const flex_int16_t yy_nxt[19] =
  4481. | { 0,
  4482. | 4, 5, 6, 7, 8, 9, 10, 11, 12, 3,
  4483. | 12, 12, 12, 12, 12, 12, 12, 12
  4484. | } ;
  4485. |
  4486. | static const flex_int16_t yy_chk[19] =
  4487. | { 0,
  4488. | 1, 1, 1, 1, 1, 1, 1, 1, 3, 12,
  4489. | 12, 12, 12, 12, 12, 12, 12, 12
  4490. | } ;
  4491. |
  4492. | extern int yy_flex_debug;
  4493. | int yy_flex_debug = 0;
  4494. |
  4495. | static yy_state_type *yy_state_buf=0, *yy_state_ptr=0;
  4496. | static char *yy_full_match;
  4497. | static int yy_lp;
  4498. | #define REJECT \
  4499. | { \
  4500. | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \
  4501. | yy_cp = (yy_full_match); /* restore poss. backed-over text */ \
  4502. | ++(yy_lp); \
  4503. | goto find_rule; \
  4504. | }
  4505. |
  4506. | static int yy_more_flag = 0;
  4507. | static int yy_more_len = 0;
  4508. | #define yymore() ((yy_more_flag) = 1)
  4509. | #define YY_MORE_ADJ (yy_more_len)
  4510. | #define YY_RESTORE_YY_MORE_OFFSET
  4511. | char *yytext;
  4512. | #line 1 "conftest.l"
  4513. | #line 459 "lex.yy.c"
  4514. |
  4515. | #define INITIAL 0
  4516. |
  4517. | #ifndef YY_NO_UNISTD_H
  4518. | /* Special case for "unistd.h", since it is non-ANSI. We include it way
  4519. | * down here because we want the user's section 1 to have been scanned first.
  4520. | * The user has a chance to override it with an option.
  4521. | */
  4522. | #include <unistd.h>
  4523. | #endif
  4524. |
  4525. | #ifndef YY_EXTRA_TYPE
  4526. | #define YY_EXTRA_TYPE void *
  4527. | #endif
  4528. |
  4529. | static int yy_init_globals ( void );
  4530. |
  4531. | /* Accessor methods to globals.
  4532. | These are made visible to non-reentrant scanners for convenience. */
  4533. |
  4534. | int yylex_destroy ( void );
  4535. |
  4536. | int yyget_debug ( void );
  4537. |
  4538. | void yyset_debug ( int debug_flag );
  4539. |
  4540. | YY_EXTRA_TYPE yyget_extra ( void );
  4541. |
  4542. | void yyset_extra ( YY_EXTRA_TYPE user_defined );
  4543. |
  4544. | FILE *yyget_in ( void );
  4545. |
  4546. | void yyset_in ( FILE * _in_str );
  4547. |
  4548. | FILE *yyget_out ( void );
  4549. |
  4550. | void yyset_out ( FILE * _out_str );
  4551. |
  4552. | int yyget_leng ( void );
  4553. |
  4554. | char *yyget_text ( void );
  4555. |
  4556. | int yyget_lineno ( void );
  4557. |
  4558. | void yyset_lineno ( int _line_number );
  4559. |
  4560. | /* Macros after this point can all be overridden by user definitions in
  4561. | * section 1.
  4562. | */
  4563. |
  4564. | #ifndef YY_SKIP_YYWRAP
  4565. | #ifdef __cplusplus
  4566. | extern "C" int yywrap ( void );
  4567. | #else
  4568. | extern int yywrap ( void );
  4569. | #endif
  4570. | #endif
  4571. |
  4572. | #ifndef YY_NO_UNPUT
  4573. |
  4574. | static void yyunput ( int c, char *buf_ptr );
  4575. |
  4576. | #endif
  4577. |
  4578. | #ifndef yytext_ptr
  4579. | static void yy_flex_strncpy ( char *, const char *, int );
  4580. | #endif
  4581. |
  4582. | #ifdef YY_NEED_STRLEN
  4583. | static int yy_flex_strlen ( const char * );
  4584. | #endif
  4585. |
  4586. | #ifndef YY_NO_INPUT
  4587. | #ifdef __cplusplus
  4588. | static int yyinput ( void );
  4589. | #else
  4590. | static int input ( void );
  4591. | #endif
  4592. |
  4593. | #endif
  4594. |
  4595. | /* Amount of stuff to slurp up with each read. */
  4596. | #ifndef YY_READ_BUF_SIZE
  4597. | #ifdef __ia64__
  4598. | /* On IA-64, the buffer size is 16k, not 8k */
  4599. | #define YY_READ_BUF_SIZE 16384
  4600. | #else
  4601. | #define YY_READ_BUF_SIZE 8192
  4602. | #endif /* __ia64__ */
  4603. | #endif
  4604. |
  4605. | /* Copy whatever the last rule matched to the standard output. */
  4606. | #ifndef ECHO
  4607. | /* This used to be an fputs(), but since the string might contain NUL's,
  4608. | * we now use fwrite().
  4609. | */
  4610. | #define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0)
  4611. | #endif
  4612. |
  4613. | /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
  4614. | * is returned in "result".
  4615. | */
  4616. | #ifndef YY_INPUT
  4617. | #define YY_INPUT(buf,result,max_size) \
  4618. | if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
  4619. | { \
  4620. | int c = '*'; \
  4621. | int n; \
  4622. | for ( n = 0; n < max_size && \
  4623. | (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
  4624. | buf[n] = (char) c; \
  4625. | if ( c == '\n' ) \
  4626. | buf[n++] = (char) c; \
  4627. | if ( c == EOF && ferror( yyin ) ) \
  4628. | YY_FATAL_ERROR( "input in flex scanner failed" ); \
  4629. | result = n; \
  4630. | } \
  4631. | else \
  4632. | { \
  4633. | errno=0; \
  4634. | while ( (result = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \
  4635. | { \
  4636. | if( errno != EINTR) \
  4637. | { \
  4638. | YY_FATAL_ERROR( "input in flex scanner failed" ); \
  4639. | break; \
  4640. | } \
  4641. | errno=0; \
  4642. | clearerr(yyin); \
  4643. | } \
  4644. | }\
  4645. | \
  4646. |
  4647. | #endif
  4648. |
  4649. | /* No semi-colon after return; correct usage is to write "yyterminate();" -
  4650. | * we don't want an extra ';' after the "return" because that will cause
  4651. | * some compilers to complain about unreachable statements.
  4652. | */
  4653. | #ifndef yyterminate
  4654. | #define yyterminate() return YY_NULL
  4655. | #endif
  4656. |
  4657. | /* Number of entries by which start-condition stack grows. */
  4658. | #ifndef YY_START_STACK_INCR
  4659. | #define YY_START_STACK_INCR 25
  4660. | #endif
  4661. |
  4662. | /* Report a fatal error. */
  4663. | #ifndef YY_FATAL_ERROR
  4664. | #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
  4665. | #endif
  4666. |
  4667. | /* end tables serialization structures and prototypes */
  4668. |
  4669. | /* Default declaration of generated scanner - a define so the user can
  4670. | * easily add parameters.
  4671. | */
  4672. | #ifndef YY_DECL
  4673. | #define YY_DECL_IS_OURS 1
  4674. |
  4675. | extern int yylex (void);
  4676. |
  4677. | #define YY_DECL int yylex (void)
  4678. | #endif /* !YY_DECL */
  4679. |
  4680. | /* Code executed at the beginning of each rule, after yytext and yyleng
  4681. | * have been set up.
  4682. | */
  4683. | #ifndef YY_USER_ACTION
  4684. | #define YY_USER_ACTION
  4685. | #endif
  4686. |
  4687. | /* Code executed at the end of each rule. */
  4688. | #ifndef YY_BREAK
  4689. | #define YY_BREAK /*LINTED*/break;
  4690. | #endif
  4691. |
  4692. | #define YY_RULE_SETUP \
  4693. | YY_USER_ACTION
  4694. |
  4695. | /** The main scanner function which does all the work.
  4696. | */
  4697. | YY_DECL
  4698. | {
  4699. | yy_state_type yy_current_state;
  4700. | char *yy_cp, *yy_bp;
  4701. | int yy_act;
  4702. |
  4703. | if ( !(yy_init) )
  4704. | {
  4705. | (yy_init) = 1;
  4706. |
  4707. | #ifdef YY_USER_INIT
  4708. | YY_USER_INIT;
  4709. | #endif
  4710. |
  4711. | /* Create the reject buffer large enough to save one state per allowed character. */
  4712. | if ( ! (yy_state_buf) )
  4713. | (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE );
  4714. | if ( ! (yy_state_buf) )
  4715. | YY_FATAL_ERROR( "out of dynamic memory in yylex()" );
  4716. |
  4717. | if ( ! (yy_start) )
  4718. | (yy_start) = 1; /* first start state */
  4719. |
  4720. | if ( ! yyin )
  4721. | yyin = stdin;
  4722. |
  4723. | if ( ! yyout )
  4724. | yyout = stdout;
  4725. |
  4726. | if ( ! YY_CURRENT_BUFFER ) {
  4727. | yyensure_buffer_stack ();
  4728. | YY_CURRENT_BUFFER_LVALUE =
  4729. | yy_create_buffer( yyin, YY_BUF_SIZE );
  4730. | }
  4731. |
  4732. | yy_load_buffer_state( );
  4733. | }
  4734. |
  4735. | {
  4736. | #line 1 "conftest.l"
  4737. |
  4738. | #line 684 "lex.yy.c"
  4739. |
  4740. | while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */
  4741. | {
  4742. | (yy_more_len) = 0;
  4743. | if ( (yy_more_flag) )
  4744. | {
  4745. | (yy_more_len) = (int) ((yy_c_buf_p) - (yytext_ptr));
  4746. | (yy_more_flag) = 0;
  4747. | }
  4748. | yy_cp = (yy_c_buf_p);
  4749. |
  4750. | /* Support of yytext. */
  4751. | *yy_cp = (yy_hold_char);
  4752. |
  4753. | /* yy_bp points to the position in yy_ch_buf of the start of
  4754. | * the current run.
  4755. | */
  4756. | yy_bp = yy_cp;
  4757. |
  4758. | yy_current_state = (yy_start);
  4759. |
  4760. | (yy_state_ptr) = (yy_state_buf);
  4761. | *(yy_state_ptr)++ = yy_current_state;
  4762. |
  4763. | yy_match:
  4764. | do
  4765. | {
  4766. | YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ;
  4767. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  4768. | {
  4769. | yy_current_state = (int) yy_def[yy_current_state];
  4770. | if ( yy_current_state >= 13 )
  4771. | yy_c = yy_meta[yy_c];
  4772. | }
  4773. | yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
  4774. | *(yy_state_ptr)++ = yy_current_state;
  4775. | ++yy_cp;
  4776. | }
  4777. | while ( yy_base[yy_current_state] != 10 );
  4778. |
  4779. | yy_find_action:
  4780. | yy_current_state = *--(yy_state_ptr);
  4781. | (yy_lp) = yy_accept[yy_current_state];
  4782. |
  4783. | find_rule: /* we branch to this label when backing up */
  4784. |
  4785. | for ( ; ; ) /* until we find what rule we matched */
  4786. | {
  4787. | if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] )
  4788. | {
  4789. | yy_act = yy_acclist[(yy_lp)];
  4790. | {
  4791. | (yy_full_match) = yy_cp;
  4792. | break;
  4793. | }
  4794. | }
  4795. | --yy_cp;
  4796. | yy_current_state = *--(yy_state_ptr);
  4797. | (yy_lp) = yy_accept[yy_current_state];
  4798. | }
  4799. |
  4800. | YY_DO_BEFORE_ACTION;
  4801. |
  4802. | do_action: /* This label is used only to access EOF actions. */
  4803. |
  4804. | switch ( yy_act )
  4805. | { /* beginning of action switch */
  4806. | case 1:
  4807. | YY_RULE_SETUP
  4808. | #line 2 "conftest.l"
  4809. | { ECHO; }
  4810. | YY_BREAK
  4811. | case 2:
  4812. | YY_RULE_SETUP
  4813. | #line 3 "conftest.l"
  4814. | { REJECT; }
  4815. | YY_BREAK
  4816. | case 3:
  4817. | YY_RULE_SETUP
  4818. | #line 4 "conftest.l"
  4819. | { yymore (); }
  4820. | YY_BREAK
  4821. | case 4:
  4822. | YY_RULE_SETUP
  4823. | #line 5 "conftest.l"
  4824. | { yyless (1); }
  4825. | YY_BREAK
  4826. | case 5:
  4827. | YY_RULE_SETUP
  4828. | #line 6 "conftest.l"
  4829. | { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
  4830. | yyless ((input () != 0)); }
  4831. | YY_BREAK
  4832. | case 6:
  4833. | YY_RULE_SETUP
  4834. | #line 8 "conftest.l"
  4835. | { unput (yytext[0]); }
  4836. | YY_BREAK
  4837. | case 7:
  4838. | YY_RULE_SETUP
  4839. | #line 9 "conftest.l"
  4840. | { BEGIN INITIAL; }
  4841. | YY_BREAK
  4842. | case 8:
  4843. | YY_RULE_SETUP
  4844. | #line 10 "conftest.l"
  4845. | ECHO;
  4846. | YY_BREAK
  4847. | #line 793 "lex.yy.c"
  4848. | case YY_STATE_EOF(INITIAL):
  4849. | yyterminate();
  4850. |
  4851. | case YY_END_OF_BUFFER:
  4852. | {
  4853. | /* Amount of text matched not including the EOB char. */
  4854. | int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
  4855. |
  4856. | /* Undo the effects of YY_DO_BEFORE_ACTION. */
  4857. | *yy_cp = (yy_hold_char);
  4858. | YY_RESTORE_YY_MORE_OFFSET
  4859. |
  4860. | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
  4861. | {
  4862. | /* We're scanning a new file or input source. It's
  4863. | * possible that this happened because the user
  4864. | * just pointed yyin at a new source and called
  4865. | * yylex(). If so, then we have to assure
  4866. | * consistency between YY_CURRENT_BUFFER and our
  4867. | * globals. Here is the right place to do so, because
  4868. | * this is the first action (other than possibly a
  4869. | * back-up) that will match for the new input source.
  4870. | */
  4871. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  4872. | YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
  4873. | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
  4874. | }
  4875. |
  4876. | /* Note that here we test for yy_c_buf_p "<=" to the position
  4877. | * of the first EOB in the buffer, since yy_c_buf_p will
  4878. | * already have been incremented past the NUL character
  4879. | * (since all states make transitions on EOB to the
  4880. | * end-of-buffer state). Contrast this with the test
  4881. | * in input().
  4882. | */
  4883. | if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
  4884. | { /* This was really a NUL. */
  4885. | yy_state_type yy_next_state;
  4886. |
  4887. | (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
  4888. |
  4889. | yy_current_state = yy_get_previous_state( );
  4890. |
  4891. | /* Okay, we're now positioned to make the NUL
  4892. | * transition. We couldn't have
  4893. | * yy_get_previous_state() go ahead and do it
  4894. | * for us because it doesn't know how to deal
  4895. | * with the possibility of jamming (and we don't
  4896. | * want to build jamming into it because then it
  4897. | * will run more slowly).
  4898. | */
  4899. |
  4900. | yy_next_state = yy_try_NUL_trans( yy_current_state );
  4901. |
  4902. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  4903. |
  4904. | if ( yy_next_state )
  4905. | {
  4906. | /* Consume the NUL. */
  4907. | yy_cp = ++(yy_c_buf_p);
  4908. | yy_current_state = yy_next_state;
  4909. | goto yy_match;
  4910. | }
  4911. |
  4912. | else
  4913. | {
  4914. | yy_cp = (yy_c_buf_p);
  4915. | goto yy_find_action;
  4916. | }
  4917. | }
  4918. |
  4919. | else switch ( yy_get_next_buffer( ) )
  4920. | {
  4921. | case EOB_ACT_END_OF_FILE:
  4922. | {
  4923. | (yy_did_buffer_switch_on_eof) = 0;
  4924. |
  4925. | if ( yywrap( ) )
  4926. | {
  4927. | /* Note: because we've taken care in
  4928. | * yy_get_next_buffer() to have set up
  4929. | * yytext, we can now set up
  4930. | * yy_c_buf_p so that if some total
  4931. | * hoser (like flex itself) wants to
  4932. | * call the scanner after we return the
  4933. | * YY_NULL, it'll still work - another
  4934. | * YY_NULL will get returned.
  4935. | */
  4936. | (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
  4937. |
  4938. | yy_act = YY_STATE_EOF(YY_START);
  4939. | goto do_action;
  4940. | }
  4941. |
  4942. | else
  4943. | {
  4944. | if ( ! (yy_did_buffer_switch_on_eof) )
  4945. | YY_NEW_FILE;
  4946. | }
  4947. | break;
  4948. | }
  4949. |
  4950. | case EOB_ACT_CONTINUE_SCAN:
  4951. | (yy_c_buf_p) =
  4952. | (yytext_ptr) + yy_amount_of_matched_text;
  4953. |
  4954. | yy_current_state = yy_get_previous_state( );
  4955. |
  4956. | yy_cp = (yy_c_buf_p);
  4957. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  4958. | goto yy_match;
  4959. |
  4960. | case EOB_ACT_LAST_MATCH:
  4961. | (yy_c_buf_p) =
  4962. | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
  4963. |
  4964. | yy_current_state = yy_get_previous_state( );
  4965. |
  4966. | yy_cp = (yy_c_buf_p);
  4967. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  4968. | goto yy_find_action;
  4969. | }
  4970. | break;
  4971. | }
  4972. |
  4973. | default:
  4974. | YY_FATAL_ERROR(
  4975. | "fatal flex scanner internal error--no action found" );
  4976. | } /* end of action switch */
  4977. | } /* end of scanning one token */
  4978. | } /* end of user's declarations */
  4979. | } /* end of yylex */
  4980. |
  4981. | /* yy_get_next_buffer - try to read in a new buffer
  4982. | *
  4983. | * Returns a code representing an action:
  4984. | * EOB_ACT_LAST_MATCH -
  4985. | * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
  4986. | * EOB_ACT_END_OF_FILE - end of file
  4987. | */
  4988. | static int yy_get_next_buffer (void)
  4989. | {
  4990. | char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
  4991. | char *source = (yytext_ptr);
  4992. | int number_to_move, i;
  4993. | int ret_val;
  4994. |
  4995. | if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
  4996. | YY_FATAL_ERROR(
  4997. | "fatal flex scanner internal error--end of buffer missed" );
  4998. |
  4999. | if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
  5000. | { /* Don't try to fill the buffer, so this is an EOF. */
  5001. | if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
  5002. | {
  5003. | /* We matched a single character, the EOB, so
  5004. | * treat this as a final EOF.
  5005. | */
  5006. | return EOB_ACT_END_OF_FILE;
  5007. | }
  5008. |
  5009. | else
  5010. | {
  5011. | /* We matched some text prior to the EOB, first
  5012. | * process it.
  5013. | */
  5014. | return EOB_ACT_LAST_MATCH;
  5015. | }
  5016. | }
  5017. |
  5018. | /* Try to read more data. */
  5019. |
  5020. | /* First move last chars to start of buffer. */
  5021. | number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr) - 1);
  5022. |
  5023. | for ( i = 0; i < number_to_move; ++i )
  5024. | *(dest++) = *(source++);
  5025. |
  5026. | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
  5027. | /* don't do the read, it's not guaranteed to return an EOF,
  5028. | * just force an EOF
  5029. | */
  5030. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
  5031. |
  5032. | else
  5033. | {
  5034. | int num_to_read =
  5035. | YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
  5036. |
  5037. | while ( num_to_read <= 0 )
  5038. | { /* Not enough room in the buffer - grow it. */
  5039. |
  5040. | YY_FATAL_ERROR(
  5041. | "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
  5042. |
  5043. | }
  5044. |
  5045. | if ( num_to_read > YY_READ_BUF_SIZE )
  5046. | num_to_read = YY_READ_BUF_SIZE;
  5047. |
  5048. | /* Read in more data. */
  5049. | YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
  5050. | (yy_n_chars), num_to_read );
  5051. |
  5052. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  5053. | }
  5054. |
  5055. | if ( (yy_n_chars) == 0 )
  5056. | {
  5057. | if ( number_to_move == YY_MORE_ADJ )
  5058. | {
  5059. | ret_val = EOB_ACT_END_OF_FILE;
  5060. | yyrestart( yyin );
  5061. | }
  5062. |
  5063. | else
  5064. | {
  5065. | ret_val = EOB_ACT_LAST_MATCH;
  5066. | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
  5067. | YY_BUFFER_EOF_PENDING;
  5068. | }
  5069. | }
  5070. |
  5071. | else
  5072. | ret_val = EOB_ACT_CONTINUE_SCAN;
  5073. |
  5074. | if (((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
  5075. | /* Extend the array by 50%, plus the number we really need. */
  5076. | int new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
  5077. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc(
  5078. | (void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf, (yy_size_t) new_size );
  5079. | if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  5080. | YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
  5081. | /* "- 2" to take care of EOB's */
  5082. | YY_CURRENT_BUFFER_LVALUE->yy_buf_size = (int) (new_size - 2);
  5083. | }
  5084. |
  5085. | (yy_n_chars) += number_to_move;
  5086. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
  5087. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
  5088. |
  5089. | (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
  5090. |
  5091. | return ret_val;
  5092. | }
  5093. |
  5094. | /* yy_get_previous_state - get the state just before the EOB char was reached */
  5095. |
  5096. | static yy_state_type yy_get_previous_state (void)
  5097. | {
  5098. | yy_state_type yy_current_state;
  5099. | char *yy_cp;
  5100. |
  5101. | yy_current_state = (yy_start);
  5102. |
  5103. | (yy_state_ptr) = (yy_state_buf);
  5104. | *(yy_state_ptr)++ = yy_current_state;
  5105. |
  5106. | for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
  5107. | {
  5108. | YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
  5109. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  5110. | {
  5111. | yy_current_state = (int) yy_def[yy_current_state];
  5112. | if ( yy_current_state >= 13 )
  5113. | yy_c = yy_meta[yy_c];
  5114. | }
  5115. | yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
  5116. | *(yy_state_ptr)++ = yy_current_state;
  5117. | }
  5118. |
  5119. | return yy_current_state;
  5120. | }
  5121. |
  5122. | /* yy_try_NUL_trans - try to make a transition on the NUL character
  5123. | *
  5124. | * synopsis
  5125. | * next_state = yy_try_NUL_trans( current_state );
  5126. | */
  5127. | static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
  5128. | {
  5129. | int yy_is_jam;
  5130. |
  5131. | YY_CHAR yy_c = 1;
  5132. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  5133. | {
  5134. | yy_current_state = (int) yy_def[yy_current_state];
  5135. | if ( yy_current_state >= 13 )
  5136. | yy_c = yy_meta[yy_c];
  5137. | }
  5138. | yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
  5139. | yy_is_jam = (yy_current_state == 12);
  5140. | if ( ! yy_is_jam )
  5141. | *(yy_state_ptr)++ = yy_current_state;
  5142. |
  5143. | return yy_is_jam ? 0 : yy_current_state;
  5144. | }
  5145. |
  5146. | #ifndef YY_NO_UNPUT
  5147. |
  5148. | static void yyunput (int c, char * yy_bp )
  5149. | {
  5150. | char *yy_cp;
  5151. |
  5152. | yy_cp = (yy_c_buf_p);
  5153. |
  5154. | /* undo effects of setting up yytext */
  5155. | *yy_cp = (yy_hold_char);
  5156. |
  5157. | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  5158. | { /* need to shift things up to make room */
  5159. | /* +2 for EOB chars. */
  5160. | int number_to_move = (yy_n_chars) + 2;
  5161. | char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
  5162. | YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
  5163. | char *source =
  5164. | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
  5165. |
  5166. | while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  5167. | *--dest = *--source;
  5168. |
  5169. | yy_cp += (int) (dest - source);
  5170. | yy_bp += (int) (dest - source);
  5171. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
  5172. | (yy_n_chars) = (int) YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
  5173. |
  5174. | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  5175. | YY_FATAL_ERROR( "flex scanner push-back overflow" );
  5176. | }
  5177. |
  5178. | *--yy_cp = (char) c;
  5179. |
  5180. | (yytext_ptr) = yy_bp;
  5181. | (yy_hold_char) = *yy_cp;
  5182. | (yy_c_buf_p) = yy_cp;
  5183. | }
  5184. |
  5185. | #endif
  5186. |
  5187. | #ifndef YY_NO_INPUT
  5188. | #ifdef __cplusplus
  5189. | static int yyinput (void)
  5190. | #else
  5191. | static int input (void)
  5192. | #endif
  5193. |
  5194. | {
  5195. | int c;
  5196. |
  5197. | *(yy_c_buf_p) = (yy_hold_char);
  5198. |
  5199. | if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
  5200. | {
  5201. | /* yy_c_buf_p now points to the character we want to return.
  5202. | * If this occurs *before* the EOB characters, then it's a
  5203. | * valid NUL; if not, then we've hit the end of the buffer.
  5204. | */
  5205. | if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
  5206. | /* This was really a NUL. */
  5207. | *(yy_c_buf_p) = '\0';
  5208. |
  5209. | else
  5210. | { /* need more input */
  5211. | int offset = (int) ((yy_c_buf_p) - (yytext_ptr));
  5212. | ++(yy_c_buf_p);
  5213. |
  5214. | switch ( yy_get_next_buffer( ) )
  5215. | {
  5216. | case EOB_ACT_LAST_MATCH:
  5217. | /* This happens because yy_g_n_b()
  5218. | * sees that we've accumulated a
  5219. | * token and flags that we need to
  5220. | * try matching the token before
  5221. | * proceeding. But for input(),
  5222. | * there's no matching to consider.
  5223. | * So convert the EOB_ACT_LAST_MATCH
  5224. | * to EOB_ACT_END_OF_FILE.
  5225. | */
  5226. |
  5227. | /* Reset buffer status. */
  5228. | yyrestart( yyin );
  5229. |
  5230. | /*FALLTHROUGH*/
  5231. |
  5232. | case EOB_ACT_END_OF_FILE:
  5233. | {
  5234. | if ( yywrap( ) )
  5235. | return 0;
  5236. |
  5237. | if ( ! (yy_did_buffer_switch_on_eof) )
  5238. | YY_NEW_FILE;
  5239. | #ifdef __cplusplus
  5240. | return yyinput();
  5241. | #else
  5242. | return input();
  5243. | #endif
  5244. | }
  5245. |
  5246. | case EOB_ACT_CONTINUE_SCAN:
  5247. | (yy_c_buf_p) = (yytext_ptr) + offset;
  5248. | break;
  5249. | }
  5250. | }
  5251. | }
  5252. |
  5253. | c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
  5254. | *(yy_c_buf_p) = '\0'; /* preserve yytext */
  5255. | (yy_hold_char) = *++(yy_c_buf_p);
  5256. |
  5257. | return c;
  5258. | }
  5259. | #endif /* ifndef YY_NO_INPUT */
  5260. |
  5261. | /** Immediately switch to a different input stream.
  5262. | * @param input_file A readable stream.
  5263. | *
  5264. | * @note This function does not reset the start condition to @c INITIAL .
  5265. | */
  5266. | void yyrestart (FILE * input_file )
  5267. | {
  5268. |
  5269. | if ( ! YY_CURRENT_BUFFER ){
  5270. | yyensure_buffer_stack ();
  5271. | YY_CURRENT_BUFFER_LVALUE =
  5272. | yy_create_buffer( yyin, YY_BUF_SIZE );
  5273. | }
  5274. |
  5275. | yy_init_buffer( YY_CURRENT_BUFFER, input_file );
  5276. | yy_load_buffer_state( );
  5277. | }
  5278. |
  5279. | /** Switch to a different input buffer.
  5280. | * @param new_buffer The new input buffer.
  5281. | *
  5282. | */
  5283. | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer )
  5284. | {
  5285. |
  5286. | /* TODO. We should be able to replace this entire function body
  5287. | * with
  5288. | * yypop_buffer_state();
  5289. | * yypush_buffer_state(new_buffer);
  5290. | */
  5291. | yyensure_buffer_stack ();
  5292. | if ( YY_CURRENT_BUFFER == new_buffer )
  5293. | return;
  5294. |
  5295. | if ( YY_CURRENT_BUFFER )
  5296. | {
  5297. | /* Flush out information for old buffer. */
  5298. | *(yy_c_buf_p) = (yy_hold_char);
  5299. | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
  5300. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  5301. | }
  5302. |
  5303. | YY_CURRENT_BUFFER_LVALUE = new_buffer;
  5304. | yy_load_buffer_state( );
  5305. |
  5306. | /* We don't actually know whether we did this switch during
  5307. | * EOF (yywrap()) processing, but the only time this flag
  5308. | * is looked at is after yywrap() is called, so it's safe
  5309. | * to go ahead and always set it.
  5310. | */
  5311. | (yy_did_buffer_switch_on_eof) = 1;
  5312. | }
  5313. |
  5314. | static void yy_load_buffer_state (void)
  5315. | {
  5316. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  5317. | (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
  5318. | yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
  5319. | (yy_hold_char) = *(yy_c_buf_p);
  5320. | }
  5321. |
  5322. | /** Allocate and initialize an input buffer state.
  5323. | * @param file A readable stream.
  5324. | * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
  5325. | *
  5326. | * @return the allocated buffer state.
  5327. | */
  5328. | YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
  5329. | {
  5330. | YY_BUFFER_STATE b;
  5331. |
  5332. | b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) );
  5333. | if ( ! b )
  5334. | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  5335. |
  5336. | b->yy_buf_size = size;
  5337. |
  5338. | /* yy_ch_buf has to be 2 characters longer than the size given because
  5339. | * we need to put in 2 end-of-buffer characters.
  5340. | */
  5341. | b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2) );
  5342. | if ( ! b->yy_ch_buf )
  5343. | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  5344. |
  5345. | b->yy_is_our_buffer = 1;
  5346. |
  5347. | yy_init_buffer( b, file );
  5348. |
  5349. | return b;
  5350. | }
  5351. |
  5352. | /** Destroy the buffer.
  5353. | * @param b a buffer created with yy_create_buffer()
  5354. | *
  5355. | */
  5356. | void yy_delete_buffer (YY_BUFFER_STATE b )
  5357. | {
  5358. |
  5359. | if ( ! b )
  5360. | return;
  5361. |
  5362. | if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
  5363. | YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
  5364. |
  5365. | if ( b->yy_is_our_buffer )
  5366. | yyfree( (void *) b->yy_ch_buf );
  5367. |
  5368. | yyfree( (void *) b );
  5369. | }
  5370. |
  5371. | /* Initializes or reinitializes a buffer.
  5372. | * This function is sometimes called more than once on the same buffer,
  5373. | * such as during a yyrestart() or at EOF.
  5374. | */
  5375. | static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file )
  5376. |
  5377. | {
  5378. | int oerrno = errno;
  5379. |
  5380. | yy_flush_buffer( b );
  5381. |
  5382. | b->yy_input_file = file;
  5383. | b->yy_fill_buffer = 1;
  5384. |
  5385. | /* If b is the current buffer, then yy_init_buffer was _probably_
  5386. | * called from yyrestart() or through yy_get_next_buffer.
  5387. | * In that case, we don't want to reset the lineno or column.
  5388. | */
  5389. | if (b != YY_CURRENT_BUFFER){
  5390. | b->yy_bs_lineno = 1;
  5391. | b->yy_bs_column = 0;
  5392. | }
  5393. |
  5394. | b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
  5395. |
  5396. | errno = oerrno;
  5397. | }
  5398. |
  5399. | /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
  5400. | * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
  5401. | *
  5402. | */
  5403. | void yy_flush_buffer (YY_BUFFER_STATE b )
  5404. | {
  5405. | if ( ! b )
  5406. | return;
  5407. |
  5408. | b->yy_n_chars = 0;
  5409. |
  5410. | /* We always need two end-of-buffer characters. The first causes
  5411. | * a transition to the end-of-buffer state. The second causes
  5412. | * a jam in that state.
  5413. | */
  5414. | b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
  5415. | b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
  5416. |
  5417. | b->yy_buf_pos = &b->yy_ch_buf[0];
  5418. |
  5419. | b->yy_at_bol = 1;
  5420. | b->yy_buffer_status = YY_BUFFER_NEW;
  5421. |
  5422. | if ( b == YY_CURRENT_BUFFER )
  5423. | yy_load_buffer_state( );
  5424. | }
  5425. |
  5426. | /** Pushes the new state onto the stack. The new state becomes
  5427. | * the current state. This function will allocate the stack
  5428. | * if necessary.
  5429. | * @param new_buffer The new state.
  5430. | *
  5431. | */
  5432. | void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
  5433. | {
  5434. | if (new_buffer == NULL)
  5435. | return;
  5436. |
  5437. | yyensure_buffer_stack();
  5438. |
  5439. | /* This block is copied from yy_switch_to_buffer. */
  5440. | if ( YY_CURRENT_BUFFER )
  5441. | {
  5442. | /* Flush out information for old buffer. */
  5443. | *(yy_c_buf_p) = (yy_hold_char);
  5444. | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
  5445. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  5446. | }
  5447. |
  5448. | /* Only push if top exists. Otherwise, replace top. */
  5449. | if (YY_CURRENT_BUFFER)
  5450. | (yy_buffer_stack_top)++;
  5451. | YY_CURRENT_BUFFER_LVALUE = new_buffer;
  5452. |
  5453. | /* copied from yy_switch_to_buffer. */
  5454. | yy_load_buffer_state( );
  5455. | (yy_did_buffer_switch_on_eof) = 1;
  5456. | }
  5457. |
  5458. | /** Removes and deletes the top of the stack, if present.
  5459. | * The next element becomes the new top.
  5460. | *
  5461. | */
  5462. | void yypop_buffer_state (void)
  5463. | {
  5464. | if (!YY_CURRENT_BUFFER)
  5465. | return;
  5466. |
  5467. | yy_delete_buffer(YY_CURRENT_BUFFER );
  5468. | YY_CURRENT_BUFFER_LVALUE = NULL;
  5469. | if ((yy_buffer_stack_top) > 0)
  5470. | --(yy_buffer_stack_top);
  5471. |
  5472. | if (YY_CURRENT_BUFFER) {
  5473. | yy_load_buffer_state( );
  5474. | (yy_did_buffer_switch_on_eof) = 1;
  5475. | }
  5476. | }
  5477. |
  5478. | /* Allocates the stack if it does not exist.
  5479. | * Guarantees space for at least one push.
  5480. | */
  5481. | static void yyensure_buffer_stack (void)
  5482. | {
  5483. | yy_size_t num_to_alloc;
  5484. |
  5485. | if (!(yy_buffer_stack)) {
  5486. |
  5487. | /* First allocation is just for 2 elements, since we don't know if this
  5488. | * scanner will even need a stack. We use 2 instead of 1 to avoid an
  5489. | * immediate realloc on the next call.
  5490. | */
  5491. | num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */
  5492. | (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
  5493. | (num_to_alloc * sizeof(struct yy_buffer_state*)
  5494. | );
  5495. | if ( ! (yy_buffer_stack) )
  5496. | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  5497. |
  5498. | memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
  5499. |
  5500. | (yy_buffer_stack_max) = num_to_alloc;
  5501. | (yy_buffer_stack_top) = 0;
  5502. | return;
  5503. | }
  5504. |
  5505. | if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
  5506. |
  5507. | /* Increase the buffer to prepare for a possible push. */
  5508. | yy_size_t grow_size = 8 /* arbitrary grow size */;
  5509. |
  5510. | num_to_alloc = (yy_buffer_stack_max) + grow_size;
  5511. | (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
  5512. | ((yy_buffer_stack),
  5513. | num_to_alloc * sizeof(struct yy_buffer_state*)
  5514. | );
  5515. | if ( ! (yy_buffer_stack) )
  5516. | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  5517. |
  5518. | /* zero only the new slots.*/
  5519. | memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
  5520. | (yy_buffer_stack_max) = num_to_alloc;
  5521. | }
  5522. | }
  5523. |
  5524. | /** Setup the input buffer state to scan directly from a user-specified character buffer.
  5525. | * @param base the character buffer
  5526. | * @param size the size in bytes of the character buffer
  5527. | *
  5528. | * @return the newly allocated buffer state object.
  5529. | */
  5530. | YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size )
  5531. | {
  5532. | YY_BUFFER_STATE b;
  5533. |
  5534. | if ( size < 2 ||
  5535. | base[size-2] != YY_END_OF_BUFFER_CHAR ||
  5536. | base[size-1] != YY_END_OF_BUFFER_CHAR )
  5537. | /* They forgot to leave room for the EOB's. */
  5538. | return NULL;
  5539. |
  5540. | b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) );
  5541. | if ( ! b )
  5542. | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
  5543. |
  5544. | b->yy_buf_size = (int) (size - 2); /* "- 2" to take care of EOB's */
  5545. | b->yy_buf_pos = b->yy_ch_buf = base;
  5546. | b->yy_is_our_buffer = 0;
  5547. | b->yy_input_file = NULL;
  5548. | b->yy_n_chars = b->yy_buf_size;
  5549. | b->yy_is_interactive = 0;
  5550. | b->yy_at_bol = 1;
  5551. | b->yy_fill_buffer = 0;
  5552. | b->yy_buffer_status = YY_BUFFER_NEW;
  5553. |
  5554. | yy_switch_to_buffer( b );
  5555. |
  5556. | return b;
  5557. | }
  5558. |
  5559. | /** Setup the input buffer state to scan a string. The next call to yylex() will
  5560. | * scan from a @e copy of @a str.
  5561. | * @param yystr a NUL-terminated string to scan
  5562. | *
  5563. | * @return the newly allocated buffer state object.
  5564. | * @note If you want to scan bytes that may contain NUL values, then use
  5565. | * yy_scan_bytes() instead.
  5566. | */
  5567. | YY_BUFFER_STATE yy_scan_string (const char * yystr )
  5568. | {
  5569. |
  5570. | return yy_scan_bytes( yystr, (int) strlen(yystr) );
  5571. | }
  5572. |
  5573. | /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
  5574. | * scan from a @e copy of @a bytes.
  5575. | * @param yybytes the byte buffer to scan
  5576. | * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
  5577. | *
  5578. | * @return the newly allocated buffer state object.
  5579. | */
  5580. | YY_BUFFER_STATE yy_scan_bytes (const char * yybytes, int _yybytes_len )
  5581. | {
  5582. | YY_BUFFER_STATE b;
  5583. | char *buf;
  5584. | yy_size_t n;
  5585. | int i;
  5586. |
  5587. | /* Get memory for full buffer, including space for trailing EOB's. */
  5588. | n = (yy_size_t) (_yybytes_len + 2);
  5589. | buf = (char *) yyalloc( n );
  5590. | if ( ! buf )
  5591. | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
  5592. |
  5593. | for ( i = 0; i < _yybytes_len; ++i )
  5594. | buf[i] = yybytes[i];
  5595. |
  5596. | buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
  5597. |
  5598. | b = yy_scan_buffer( buf, n );
  5599. | if ( ! b )
  5600. | YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
  5601. |
  5602. | /* It's okay to grow etc. this buffer, and we should throw it
  5603. | * away when we're done.
  5604. | */
  5605. | b->yy_is_our_buffer = 1;
  5606. |
  5607. | return b;
  5608. | }
  5609. |
  5610. | #ifndef YY_EXIT_FAILURE
  5611. | #define YY_EXIT_FAILURE 2
  5612. | #endif
  5613. |
  5614. | static void yynoreturn yy_fatal_error (const char* msg )
  5615. | {
  5616. | fprintf( stderr, "%s\n", msg );
  5617. | exit( YY_EXIT_FAILURE );
  5618. | }
  5619. |
  5620. | /* Redefine yyless() so it works in section 3 code. */
  5621. |
  5622. | #undef yyless
  5623. | #define yyless(n) \
  5624. | do \
  5625. | { \
  5626. | /* Undo effects of setting up yytext. */ \
  5627. | int yyless_macro_arg = (n); \
  5628. | YY_LESS_LINENO(yyless_macro_arg);\
  5629. | yytext[yyleng] = (yy_hold_char); \
  5630. | (yy_c_buf_p) = yytext + yyless_macro_arg; \
  5631. | (yy_hold_char) = *(yy_c_buf_p); \
  5632. | *(yy_c_buf_p) = '\0'; \
  5633. | yyleng = yyless_macro_arg; \
  5634. | } \
  5635. | while ( 0 )
  5636. |
  5637. | /* Accessor methods (get/set functions) to struct members. */
  5638. |
  5639. | /** Get the current line number.
  5640. | *
  5641. | */
  5642. | int yyget_lineno (void)
  5643. | {
  5644. |
  5645. | return yylineno;
  5646. | }
  5647. |
  5648. | /** Get the input stream.
  5649. | *
  5650. | */
  5651. | FILE *yyget_in (void)
  5652. | {
  5653. | return yyin;
  5654. | }
  5655. |
  5656. | /** Get the output stream.
  5657. | *
  5658. | */
  5659. | FILE *yyget_out (void)
  5660. | {
  5661. | return yyout;
  5662. | }
  5663. |
  5664. | /** Get the length of the current token.
  5665. | *
  5666. | */
  5667. | int yyget_leng (void)
  5668. | {
  5669. | return yyleng;
  5670. | }
  5671. |
  5672. | /** Get the current token.
  5673. | *
  5674. | */
  5675. |
  5676. | char *yyget_text (void)
  5677. | {
  5678. | return yytext;
  5679. | }
  5680. |
  5681. | /** Set the current line number.
  5682. | * @param _line_number line number
  5683. | *
  5684. | */
  5685. | void yyset_lineno (int _line_number )
  5686. | {
  5687. |
  5688. | yylineno = _line_number;
  5689. | }
  5690. |
  5691. | /** Set the input stream. This does not discard the current
  5692. | * input buffer.
  5693. | * @param _in_str A readable stream.
  5694. | *
  5695. | * @see yy_switch_to_buffer
  5696. | */
  5697. | void yyset_in (FILE * _in_str )
  5698. | {
  5699. | yyin = _in_str ;
  5700. | }
  5701. |
  5702. | void yyset_out (FILE * _out_str )
  5703. | {
  5704. | yyout = _out_str ;
  5705. | }
  5706. |
  5707. | int yyget_debug (void)
  5708. | {
  5709. | return yy_flex_debug;
  5710. | }
  5711. |
  5712. | void yyset_debug (int _bdebug )
  5713. | {
  5714. | yy_flex_debug = _bdebug ;
  5715. | }
  5716. |
  5717. | static int yy_init_globals (void)
  5718. | {
  5719. | /* Initialization is the same as for the non-reentrant scanner.
  5720. | * This function is called from yylex_destroy(), so don't allocate here.
  5721. | */
  5722. |
  5723. | (yy_buffer_stack) = NULL;
  5724. | (yy_buffer_stack_top) = 0;
  5725. | (yy_buffer_stack_max) = 0;
  5726. | (yy_c_buf_p) = NULL;
  5727. | (yy_init) = 0;
  5728. | (yy_start) = 0;
  5729. |
  5730. | (yy_state_buf) = 0;
  5731. | (yy_state_ptr) = 0;
  5732. | (yy_full_match) = 0;
  5733. | (yy_lp) = 0;
  5734. |
  5735. | /* Defined in main.c */
  5736. | #ifdef YY_STDINIT
  5737. | yyin = stdin;
  5738. | yyout = stdout;
  5739. | #else
  5740. | yyin = NULL;
  5741. | yyout = NULL;
  5742. | #endif
  5743. |
  5744. | /* For future reference: Set errno on error, since we are called by
  5745. | * yylex_init()
  5746. | */
  5747. | return 0;
  5748. | }
  5749. |
  5750. | /* yylex_destroy is for both reentrant and non-reentrant scanners. */
  5751. | int yylex_destroy (void)
  5752. | {
  5753. |
  5754. | /* Pop the buffer stack, destroying each element. */
  5755. | while(YY_CURRENT_BUFFER){
  5756. | yy_delete_buffer( YY_CURRENT_BUFFER );
  5757. | YY_CURRENT_BUFFER_LVALUE = NULL;
  5758. | yypop_buffer_state();
  5759. | }
  5760. |
  5761. | /* Destroy the stack itself. */
  5762. | yyfree((yy_buffer_stack) );
  5763. | (yy_buffer_stack) = NULL;
  5764. |
  5765. | yyfree ( (yy_state_buf) );
  5766. | (yy_state_buf) = NULL;
  5767. |
  5768. | /* Reset the globals. This is important in a non-reentrant scanner so the next time
  5769. | * yylex() is called, initialization will occur. */
  5770. | yy_init_globals( );
  5771. |
  5772. | return 0;
  5773. | }
  5774. |
  5775. | /*
  5776. | * Internal utility routines.
  5777. | */
  5778. |
  5779. | #ifndef yytext_ptr
  5780. | static void yy_flex_strncpy (char* s1, const char * s2, int n )
  5781. | {
  5782. |
  5783. | int i;
  5784. | for ( i = 0; i < n; ++i )
  5785. | s1[i] = s2[i];
  5786. | }
  5787. | #endif
  5788. |
  5789. | #ifdef YY_NEED_STRLEN
  5790. | static int yy_flex_strlen (const char * s )
  5791. | {
  5792. | int n;
  5793. | for ( n = 0; s[n]; ++n )
  5794. | ;
  5795. |
  5796. | return n;
  5797. | }
  5798. | #endif
  5799. |
  5800. | void *yyalloc (yy_size_t size )
  5801. | {
  5802. | return malloc(size);
  5803. | }
  5804. |
  5805. | void *yyrealloc (void * ptr, yy_size_t size )
  5806. | {
  5807. |
  5808. | /* The cast to (char *) in the following accommodates both
  5809. | * implementations that use char* generic pointers, and those
  5810. | * that use void* generic pointers. It works with the latter
  5811. | * because both ANSI C and C++ allow castless assignment from
  5812. | * any pointer type to void*, and deal with argument conversions
  5813. | * as though doing an assignment.
  5814. | */
  5815. | return realloc(ptr, size);
  5816. | }
  5817. |
  5818. | void yyfree (void * ptr )
  5819. | {
  5820. | free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
  5821. | }
  5822. |
  5823. | #define YYTABLES_NAME "yytables"
  5824. |
  5825. | #line 10 "conftest.l"
  5826. |
  5827. | #ifdef YYTEXT_POINTER
  5828. | extern char *yytext;
  5829. | #endif
  5830. | int
  5831. | main (void)
  5832. | {
  5833. | return ! yylex () + ! yywrap ();
  5834. | }
  5835. configure:9850: result: none needed
  5836. configure:9856: checking whether yytext is a pointer
  5837. configure:9873: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -o conftest -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-math-errno -fno-signed-zeros -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
  5838. /home/thibault/Documents/Dev/buildroot/buildroot/output/host/lib/gcc/arm-buildroot-linux-gnueabi/7.4.0/../../../../arm-buildroot-linux-gnueabi/bin/ld: /tmp/ccMD9QhT.o: in function `yylex':
  5839. conftest.c:(.text+0x988): undefined reference to `yywrap'
  5840. /home/thibault/Documents/Dev/buildroot/buildroot/output/host/lib/gcc/arm-buildroot-linux-gnueabi/7.4.0/../../../../arm-buildroot-linux-gnueabi/bin/ld: conftest.c:(.text+0xc48): undefined reference to `yywrap'
  5841. /home/thibault/Documents/Dev/buildroot/buildroot/output/host/lib/gcc/arm-buildroot-linux-gnueabi/7.4.0/../../../../arm-buildroot-linux-gnueabi/bin/ld: /tmp/ccMD9QhT.o: in function `main':
  5842. conftest.c:(.text.startup+0xc): undefined reference to `yywrap'
  5843. collect2: error: ld returned 1 exit status
  5844. configure:9873: $? = 1
  5845. configure: failed program was:
  5846. | /* confdefs.h */
  5847. | #define PACKAGE_NAME ""
  5848. | #define PACKAGE_TARNAME ""
  5849. | #define PACKAGE_VERSION ""
  5850. | #define PACKAGE_STRING ""
  5851. | #define PACKAGE_BUGREPORT ""
  5852. | #define PACKAGE_URL ""
  5853. | #define STDC_HEADERS 1
  5854. | #define HAVE_SYS_TYPES_H 1
  5855. | #define HAVE_SYS_STAT_H 1
  5856. | #define HAVE_STDLIB_H 1
  5857. | #define HAVE_STRING_H 1
  5858. | #define HAVE_MEMORY_H 1
  5859. | #define HAVE_STRINGS_H 1
  5860. | #define HAVE_INTTYPES_H 1
  5861. | #define HAVE_STDINT_H 1
  5862. | #define HAVE_UNISTD_H 1
  5863. | #define HAVE_DLFCN_H 1
  5864. | #define LT_OBJDIR ".libs/"
  5865. | #define POSTGIS_MAJOR_VERSION "3"
  5866. | #define POSTGIS_MINOR_VERSION "0"
  5867. | #define POSTGIS_MICRO_VERSION "1"
  5868. | /* end confdefs.h. */
  5869. |
  5870. | #define YYTEXT_POINTER 1
  5871. |
  5872. | #line 2 "lex.yy.c"
  5873. |
  5874. | #define YY_INT_ALIGNED short int
  5875. |
  5876. | /* A lexical scanner generated by flex */
  5877. |
  5878. | #define FLEX_SCANNER
  5879. | #define YY_FLEX_MAJOR_VERSION 2
  5880. | #define YY_FLEX_MINOR_VERSION 6
  5881. | #define YY_FLEX_SUBMINOR_VERSION 4
  5882. | #if YY_FLEX_SUBMINOR_VERSION > 0
  5883. | #define FLEX_BETA
  5884. | #endif
  5885. |
  5886. | /* First, we deal with platform-specific or compiler-specific issues. */
  5887. |
  5888. | /* begin standard C headers. */
  5889. | #include <stdio.h>
  5890. | #include <string.h>
  5891. | #include <errno.h>
  5892. | #include <stdlib.h>
  5893. |
  5894. | /* end standard C headers. */
  5895. |
  5896. | /* flex integer type definitions */
  5897. |
  5898. | #ifndef FLEXINT_H
  5899. | #define FLEXINT_H
  5900. |
  5901. | /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
  5902. |
  5903. | #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
  5904. |
  5905. | /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
  5906. | * if you want the limit (max/min) macros for int types.
  5907. | */
  5908. | #ifndef __STDC_LIMIT_MACROS
  5909. | #define __STDC_LIMIT_MACROS 1
  5910. | #endif
  5911. |
  5912. | #include <inttypes.h>
  5913. | typedef int8_t flex_int8_t;
  5914. | typedef uint8_t flex_uint8_t;
  5915. | typedef int16_t flex_int16_t;
  5916. | typedef uint16_t flex_uint16_t;
  5917. | typedef int32_t flex_int32_t;
  5918. | typedef uint32_t flex_uint32_t;
  5919. | #else
  5920. | typedef signed char flex_int8_t;
  5921. | typedef short int flex_int16_t;
  5922. | typedef int flex_int32_t;
  5923. | typedef unsigned char flex_uint8_t;
  5924. | typedef unsigned short int flex_uint16_t;
  5925. | typedef unsigned int flex_uint32_t;
  5926. |
  5927. | /* Limits of integral types. */
  5928. | #ifndef INT8_MIN
  5929. | #define INT8_MIN (-128)
  5930. | #endif
  5931. | #ifndef INT16_MIN
  5932. | #define INT16_MIN (-32767-1)
  5933. | #endif
  5934. | #ifndef INT32_MIN
  5935. | #define INT32_MIN (-2147483647-1)
  5936. | #endif
  5937. | #ifndef INT8_MAX
  5938. | #define INT8_MAX (127)
  5939. | #endif
  5940. | #ifndef INT16_MAX
  5941. | #define INT16_MAX (32767)
  5942. | #endif
  5943. | #ifndef INT32_MAX
  5944. | #define INT32_MAX (2147483647)
  5945. | #endif
  5946. | #ifndef UINT8_MAX
  5947. | #define UINT8_MAX (255U)
  5948. | #endif
  5949. | #ifndef UINT16_MAX
  5950. | #define UINT16_MAX (65535U)
  5951. | #endif
  5952. | #ifndef UINT32_MAX
  5953. | #define UINT32_MAX (4294967295U)
  5954. | #endif
  5955. |
  5956. | #ifndef SIZE_MAX
  5957. | #define SIZE_MAX (~(size_t)0)
  5958. | #endif
  5959. |
  5960. | #endif /* ! C99 */
  5961. |
  5962. | #endif /* ! FLEXINT_H */
  5963. |
  5964. | /* begin standard C++ headers. */
  5965. |
  5966. | /* TODO: this is always defined, so inline it */
  5967. | #define yyconst const
  5968. |
  5969. | #if defined(__GNUC__) && __GNUC__ >= 3
  5970. | #define yynoreturn __attribute__((__noreturn__))
  5971. | #else
  5972. | #define yynoreturn
  5973. | #endif
  5974. |
  5975. | /* Returned upon end-of-file. */
  5976. | #define YY_NULL 0
  5977. |
  5978. | /* Promotes a possibly negative, possibly signed char to an
  5979. | * integer in range [0..255] for use as an array index.
  5980. | */
  5981. | #define YY_SC_TO_UI(c) ((YY_CHAR) (c))
  5982. |
  5983. | /* Enter a start condition. This macro really ought to take a parameter,
  5984. | * but we do it the disgusting crufty way forced on us by the ()-less
  5985. | * definition of BEGIN.
  5986. | */
  5987. | #define BEGIN (yy_start) = 1 + 2 *
  5988. | /* Translate the current start state into a value that can be later handed
  5989. | * to BEGIN to return to the state. The YYSTATE alias is for lex
  5990. | * compatibility.
  5991. | */
  5992. | #define YY_START (((yy_start) - 1) / 2)
  5993. | #define YYSTATE YY_START
  5994. | /* Action number for EOF rule of a given start state. */
  5995. | #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
  5996. | /* Special action meaning "start processing a new file". */
  5997. | #define YY_NEW_FILE yyrestart( yyin )
  5998. | #define YY_END_OF_BUFFER_CHAR 0
  5999. |
  6000. | /* Size of default input buffer. */
  6001. | #ifndef YY_BUF_SIZE
  6002. | #ifdef __ia64__
  6003. | /* On IA-64, the buffer size is 16k, not 8k.
  6004. | * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
  6005. | * Ditto for the __ia64__ case accordingly.
  6006. | */
  6007. | #define YY_BUF_SIZE 32768
  6008. | #else
  6009. | #define YY_BUF_SIZE 16384
  6010. | #endif /* __ia64__ */
  6011. | #endif
  6012. |
  6013. | /* The state buf must be large enough to hold one state per character in the main buffer.
  6014. | */
  6015. | #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
  6016. |
  6017. | #ifndef YY_TYPEDEF_YY_BUFFER_STATE
  6018. | #define YY_TYPEDEF_YY_BUFFER_STATE
  6019. | typedef struct yy_buffer_state *YY_BUFFER_STATE;
  6020. | #endif
  6021. |
  6022. | #ifndef YY_TYPEDEF_YY_SIZE_T
  6023. | #define YY_TYPEDEF_YY_SIZE_T
  6024. | typedef size_t yy_size_t;
  6025. | #endif
  6026. |
  6027. | extern int yyleng;
  6028. |
  6029. | extern FILE *yyin, *yyout;
  6030. |
  6031. | #define EOB_ACT_CONTINUE_SCAN 0
  6032. | #define EOB_ACT_END_OF_FILE 1
  6033. | #define EOB_ACT_LAST_MATCH 2
  6034. |
  6035. | #define YY_LESS_LINENO(n)
  6036. | #define YY_LINENO_REWIND_TO(ptr)
  6037. |
  6038. | /* Return all but the first "n" matched characters back to the input stream. */
  6039. | #define yyless(n) \
  6040. | do \
  6041. | { \
  6042. | /* Undo effects of setting up yytext. */ \
  6043. | int yyless_macro_arg = (n); \
  6044. | YY_LESS_LINENO(yyless_macro_arg);\
  6045. | *yy_cp = (yy_hold_char); \
  6046. | YY_RESTORE_YY_MORE_OFFSET \
  6047. | (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
  6048. | YY_DO_BEFORE_ACTION; /* set up yytext again */ \
  6049. | } \
  6050. | while ( 0 )
  6051. | #define unput(c) yyunput( c, (yytext_ptr) )
  6052. |
  6053. | #ifndef YY_STRUCT_YY_BUFFER_STATE
  6054. | #define YY_STRUCT_YY_BUFFER_STATE
  6055. | struct yy_buffer_state
  6056. | {
  6057. | FILE *yy_input_file;
  6058. |
  6059. | char *yy_ch_buf; /* input buffer */
  6060. | char *yy_buf_pos; /* current position in input buffer */
  6061. |
  6062. | /* Size of input buffer in bytes, not including room for EOB
  6063. | * characters.
  6064. | */
  6065. | int yy_buf_size;
  6066. |
  6067. | /* Number of characters read into yy_ch_buf, not including EOB
  6068. | * characters.
  6069. | */
  6070. | int yy_n_chars;
  6071. |
  6072. | /* Whether we "own" the buffer - i.e., we know we created it,
  6073. | * and can realloc() it to grow it, and should free() it to
  6074. | * delete it.
  6075. | */
  6076. | int yy_is_our_buffer;
  6077. |
  6078. | /* Whether this is an "interactive" input source; if so, and
  6079. | * if we're using stdio for input, then we want to use getc()
  6080. | * instead of fread(), to make sure we stop fetching input after
  6081. | * each newline.
  6082. | */
  6083. | int yy_is_interactive;
  6084. |
  6085. | /* Whether we're considered to be at the beginning of a line.
  6086. | * If so, '^' rules will be active on the next match, otherwise
  6087. | * not.
  6088. | */
  6089. | int yy_at_bol;
  6090. |
  6091. | int yy_bs_lineno; /**< The line count. */
  6092. | int yy_bs_column; /**< The column count. */
  6093. |
  6094. | /* Whether to try to fill the input buffer when we reach the
  6095. | * end of it.
  6096. | */
  6097. | int yy_fill_buffer;
  6098. |
  6099. | int yy_buffer_status;
  6100. |
  6101. | #define YY_BUFFER_NEW 0
  6102. | #define YY_BUFFER_NORMAL 1
  6103. | /* When an EOF's been seen but there's still some text to process
  6104. | * then we mark the buffer as YY_EOF_PENDING, to indicate that we
  6105. | * shouldn't try reading from the input source any more. We might
  6106. | * still have a bunch of tokens to match, though, because of
  6107. | * possible backing-up.
  6108. | *
  6109. | * When we actually see the EOF, we change the status to "new"
  6110. | * (via yyrestart()), so that the user can continue scanning by
  6111. | * just pointing yyin at a new input file.
  6112. | */
  6113. | #define YY_BUFFER_EOF_PENDING 2
  6114. |
  6115. | };
  6116. | #endif /* !YY_STRUCT_YY_BUFFER_STATE */
  6117. |
  6118. | /* Stack of input buffers. */
  6119. | static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
  6120. | static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
  6121. | static YY_BUFFER_STATE * yy_buffer_stack = NULL; /**< Stack as an array. */
  6122. |
  6123. | /* We provide macros for accessing buffer states in case in the
  6124. | * future we want to put the buffer states in a more general
  6125. | * "scanner state".
  6126. | *
  6127. | * Returns the top of the stack, or NULL.
  6128. | */
  6129. | #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
  6130. | ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
  6131. | : NULL)
  6132. | /* Same as previous macro, but useful when we know that the buffer stack is not
  6133. | * NULL or when we need an lvalue. For internal use only.
  6134. | */
  6135. | #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
  6136. |
  6137. | /* yy_hold_char holds the character lost when yytext is formed. */
  6138. | static char yy_hold_char;
  6139. | static int yy_n_chars; /* number of characters read into yy_ch_buf */
  6140. | int yyleng;
  6141. |
  6142. | /* Points to current character in buffer. */
  6143. | static char *yy_c_buf_p = NULL;
  6144. | static int yy_init = 0; /* whether we need to initialize */
  6145. | static int yy_start = 0; /* start state number */
  6146. |
  6147. | /* Flag which is used to allow yywrap()'s to do buffer switches
  6148. | * instead of setting up a fresh yyin. A bit of a hack ...
  6149. | */
  6150. | static int yy_did_buffer_switch_on_eof;
  6151. |
  6152. | void yyrestart ( FILE *input_file );
  6153. | void yy_switch_to_buffer ( YY_BUFFER_STATE new_buffer );
  6154. | YY_BUFFER_STATE yy_create_buffer ( FILE *file, int size );
  6155. | void yy_delete_buffer ( YY_BUFFER_STATE b );
  6156. | void yy_flush_buffer ( YY_BUFFER_STATE b );
  6157. | void yypush_buffer_state ( YY_BUFFER_STATE new_buffer );
  6158. | void yypop_buffer_state ( void );
  6159. |
  6160. | static void yyensure_buffer_stack ( void );
  6161. | static void yy_load_buffer_state ( void );
  6162. | static void yy_init_buffer ( YY_BUFFER_STATE b, FILE *file );
  6163. | #define YY_FLUSH_BUFFER yy_flush_buffer( YY_CURRENT_BUFFER )
  6164. |
  6165. | YY_BUFFER_STATE yy_scan_buffer ( char *base, yy_size_t size );
  6166. | YY_BUFFER_STATE yy_scan_string ( const char *yy_str );
  6167. | YY_BUFFER_STATE yy_scan_bytes ( const char *bytes, int len );
  6168. |
  6169. | void *yyalloc ( yy_size_t );
  6170. | void *yyrealloc ( void *, yy_size_t );
  6171. | void yyfree ( void * );
  6172. |
  6173. | #define yy_new_buffer yy_create_buffer
  6174. | #define yy_set_interactive(is_interactive) \
  6175. | { \
  6176. | if ( ! YY_CURRENT_BUFFER ){ \
  6177. | yyensure_buffer_stack (); \
  6178. | YY_CURRENT_BUFFER_LVALUE = \
  6179. | yy_create_buffer( yyin, YY_BUF_SIZE ); \
  6180. | } \
  6181. | YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
  6182. | }
  6183. | #define yy_set_bol(at_bol) \
  6184. | { \
  6185. | if ( ! YY_CURRENT_BUFFER ){\
  6186. | yyensure_buffer_stack (); \
  6187. | YY_CURRENT_BUFFER_LVALUE = \
  6188. | yy_create_buffer( yyin, YY_BUF_SIZE ); \
  6189. | } \
  6190. | YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
  6191. | }
  6192. | #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
  6193. |
  6194. | /* Begin user sect3 */
  6195. | typedef flex_uint8_t YY_CHAR;
  6196. |
  6197. | FILE *yyin = NULL, *yyout = NULL;
  6198. |
  6199. | typedef int yy_state_type;
  6200. |
  6201. | extern int yylineno;
  6202. | int yylineno = 1;
  6203. |
  6204. | extern char *yytext;
  6205. | #ifdef yytext_ptr
  6206. | #undef yytext_ptr
  6207. | #endif
  6208. | #define yytext_ptr yytext
  6209. |
  6210. | static yy_state_type yy_get_previous_state ( void );
  6211. | static yy_state_type yy_try_NUL_trans ( yy_state_type current_state );
  6212. | static int yy_get_next_buffer ( void );
  6213. | static void yynoreturn yy_fatal_error ( const char* msg );
  6214. |
  6215. | /* Done after the current pattern has been matched and before the
  6216. | * corresponding action - sets up yytext.
  6217. | */
  6218. | #define YY_DO_BEFORE_ACTION \
  6219. | (yytext_ptr) = yy_bp; \
  6220. | (yytext_ptr) -= (yy_more_len); \
  6221. | yyleng = (int) (yy_cp - (yytext_ptr)); \
  6222. | (yy_hold_char) = *yy_cp; \
  6223. | *yy_cp = '\0'; \
  6224. | (yy_c_buf_p) = yy_cp;
  6225. | #define YY_NUM_RULES 8
  6226. | #define YY_END_OF_BUFFER 9
  6227. | /* This struct is not used in this scanner,
  6228. | but its presence is necessary. */
  6229. | struct yy_trans_info
  6230. | {
  6231. | flex_int32_t yy_verify;
  6232. | flex_int32_t yy_nxt;
  6233. | };
  6234. | static const flex_int16_t yy_acclist[23] =
  6235. | { 0,
  6236. | 9, 7, 8, 8, 1, 7, 8, 2, 7, 8,
  6237. | 3, 7, 8, 4, 7, 8, 5, 7, 8, 6,
  6238. | 7, 8
  6239. | } ;
  6240. |
  6241. | static const flex_int16_t yy_accept[14] =
  6242. | { 0,
  6243. | 1, 1, 1, 2, 4, 5, 8, 11, 14, 17,
  6244. | 20, 23, 23
  6245. | } ;
  6246. |
  6247. | static const YY_CHAR yy_ec[256] =
  6248. | { 0,
  6249. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 2,
  6250. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6251. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6252. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6253. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6254. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6255. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6256. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6257. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6258. | 1, 1, 1, 1, 1, 1, 3, 4, 5, 6,
  6259. |
  6260. | 7, 8, 1, 1, 1, 1, 1, 1, 1, 1,
  6261. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6262. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6263. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6264. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6265. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6266. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6267. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6268. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6269. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6270. |
  6271. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6272. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6273. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6274. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6275. | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  6276. | 1, 1, 1, 1, 1
  6277. | } ;
  6278. |
  6279. | static const YY_CHAR yy_meta[9] =
  6280. | { 0,
  6281. | 1, 1, 1, 1, 1, 1, 1, 1
  6282. | } ;
  6283. |
  6284. | static const flex_int16_t yy_base[13] =
  6285. | { 0,
  6286. | 0, 0, 9, 10, 10, 10, 10, 10, 10, 10,
  6287. | 10, 10
  6288. | } ;
  6289. |
  6290. | static const flex_int16_t yy_def[13] =
  6291. | { 0,
  6292. | 12, 1, 12, 12, 12, 12, 12, 12, 12, 12,
  6293. | 12, 0
  6294. | } ;
  6295. |
  6296. | static const flex_int16_t yy_nxt[19] =
  6297. | { 0,
  6298. | 4, 5, 6, 7, 8, 9, 10, 11, 12, 3,
  6299. | 12, 12, 12, 12, 12, 12, 12, 12
  6300. | } ;
  6301. |
  6302. | static const flex_int16_t yy_chk[19] =
  6303. | { 0,
  6304. | 1, 1, 1, 1, 1, 1, 1, 1, 3, 12,
  6305. | 12, 12, 12, 12, 12, 12, 12, 12
  6306. | } ;
  6307. |
  6308. | extern int yy_flex_debug;
  6309. | int yy_flex_debug = 0;
  6310. |
  6311. | static yy_state_type *yy_state_buf=0, *yy_state_ptr=0;
  6312. | static char *yy_full_match;
  6313. | static int yy_lp;
  6314. | #define REJECT \
  6315. | { \
  6316. | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \
  6317. | yy_cp = (yy_full_match); /* restore poss. backed-over text */ \
  6318. | ++(yy_lp); \
  6319. | goto find_rule; \
  6320. | }
  6321. |
  6322. | static int yy_more_flag = 0;
  6323. | static int yy_more_len = 0;
  6324. | #define yymore() ((yy_more_flag) = 1)
  6325. | #define YY_MORE_ADJ (yy_more_len)
  6326. | #define YY_RESTORE_YY_MORE_OFFSET
  6327. | char *yytext;
  6328. | #line 1 "conftest.l"
  6329. | #line 459 "lex.yy.c"
  6330. |
  6331. | #define INITIAL 0
  6332. |
  6333. | #ifndef YY_NO_UNISTD_H
  6334. | /* Special case for "unistd.h", since it is non-ANSI. We include it way
  6335. | * down here because we want the user's section 1 to have been scanned first.
  6336. | * The user has a chance to override it with an option.
  6337. | */
  6338. | #include <unistd.h>
  6339. | #endif
  6340. |
  6341. | #ifndef YY_EXTRA_TYPE
  6342. | #define YY_EXTRA_TYPE void *
  6343. | #endif
  6344. |
  6345. | static int yy_init_globals ( void );
  6346. |
  6347. | /* Accessor methods to globals.
  6348. | These are made visible to non-reentrant scanners for convenience. */
  6349. |
  6350. | int yylex_destroy ( void );
  6351. |
  6352. | int yyget_debug ( void );
  6353. |
  6354. | void yyset_debug ( int debug_flag );
  6355. |
  6356. | YY_EXTRA_TYPE yyget_extra ( void );
  6357. |
  6358. | void yyset_extra ( YY_EXTRA_TYPE user_defined );
  6359. |
  6360. | FILE *yyget_in ( void );
  6361. |
  6362. | void yyset_in ( FILE * _in_str );
  6363. |
  6364. | FILE *yyget_out ( void );
  6365. |
  6366. | void yyset_out ( FILE * _out_str );
  6367. |
  6368. | int yyget_leng ( void );
  6369. |
  6370. | char *yyget_text ( void );
  6371. |
  6372. | int yyget_lineno ( void );
  6373. |
  6374. | void yyset_lineno ( int _line_number );
  6375. |
  6376. | /* Macros after this point can all be overridden by user definitions in
  6377. | * section 1.
  6378. | */
  6379. |
  6380. | #ifndef YY_SKIP_YYWRAP
  6381. | #ifdef __cplusplus
  6382. | extern "C" int yywrap ( void );
  6383. | #else
  6384. | extern int yywrap ( void );
  6385. | #endif
  6386. | #endif
  6387. |
  6388. | #ifndef YY_NO_UNPUT
  6389. |
  6390. | static void yyunput ( int c, char *buf_ptr );
  6391. |
  6392. | #endif
  6393. |
  6394. | #ifndef yytext_ptr
  6395. | static void yy_flex_strncpy ( char *, const char *, int );
  6396. | #endif
  6397. |
  6398. | #ifdef YY_NEED_STRLEN
  6399. | static int yy_flex_strlen ( const char * );
  6400. | #endif
  6401. |
  6402. | #ifndef YY_NO_INPUT
  6403. | #ifdef __cplusplus
  6404. | static int yyinput ( void );
  6405. | #else
  6406. | static int input ( void );
  6407. | #endif
  6408. |
  6409. | #endif
  6410. |
  6411. | /* Amount of stuff to slurp up with each read. */
  6412. | #ifndef YY_READ_BUF_SIZE
  6413. | #ifdef __ia64__
  6414. | /* On IA-64, the buffer size is 16k, not 8k */
  6415. | #define YY_READ_BUF_SIZE 16384
  6416. | #else
  6417. | #define YY_READ_BUF_SIZE 8192
  6418. | #endif /* __ia64__ */
  6419. | #endif
  6420. |
  6421. | /* Copy whatever the last rule matched to the standard output. */
  6422. | #ifndef ECHO
  6423. | /* This used to be an fputs(), but since the string might contain NUL's,
  6424. | * we now use fwrite().
  6425. | */
  6426. | #define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0)
  6427. | #endif
  6428. |
  6429. | /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
  6430. | * is returned in "result".
  6431. | */
  6432. | #ifndef YY_INPUT
  6433. | #define YY_INPUT(buf,result,max_size) \
  6434. | if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
  6435. | { \
  6436. | int c = '*'; \
  6437. | int n; \
  6438. | for ( n = 0; n < max_size && \
  6439. | (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
  6440. | buf[n] = (char) c; \
  6441. | if ( c == '\n' ) \
  6442. | buf[n++] = (char) c; \
  6443. | if ( c == EOF && ferror( yyin ) ) \
  6444. | YY_FATAL_ERROR( "input in flex scanner failed" ); \
  6445. | result = n; \
  6446. | } \
  6447. | else \
  6448. | { \
  6449. | errno=0; \
  6450. | while ( (result = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \
  6451. | { \
  6452. | if( errno != EINTR) \
  6453. | { \
  6454. | YY_FATAL_ERROR( "input in flex scanner failed" ); \
  6455. | break; \
  6456. | } \
  6457. | errno=0; \
  6458. | clearerr(yyin); \
  6459. | } \
  6460. | }\
  6461. | \
  6462. |
  6463. | #endif
  6464. |
  6465. | /* No semi-colon after return; correct usage is to write "yyterminate();" -
  6466. | * we don't want an extra ';' after the "return" because that will cause
  6467. | * some compilers to complain about unreachable statements.
  6468. | */
  6469. | #ifndef yyterminate
  6470. | #define yyterminate() return YY_NULL
  6471. | #endif
  6472. |
  6473. | /* Number of entries by which start-condition stack grows. */
  6474. | #ifndef YY_START_STACK_INCR
  6475. | #define YY_START_STACK_INCR 25
  6476. | #endif
  6477. |
  6478. | /* Report a fatal error. */
  6479. | #ifndef YY_FATAL_ERROR
  6480. | #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
  6481. | #endif
  6482. |
  6483. | /* end tables serialization structures and prototypes */
  6484. |
  6485. | /* Default declaration of generated scanner - a define so the user can
  6486. | * easily add parameters.
  6487. | */
  6488. | #ifndef YY_DECL
  6489. | #define YY_DECL_IS_OURS 1
  6490. |
  6491. | extern int yylex (void);
  6492. |
  6493. | #define YY_DECL int yylex (void)
  6494. | #endif /* !YY_DECL */
  6495. |
  6496. | /* Code executed at the beginning of each rule, after yytext and yyleng
  6497. | * have been set up.
  6498. | */
  6499. | #ifndef YY_USER_ACTION
  6500. | #define YY_USER_ACTION
  6501. | #endif
  6502. |
  6503. | /* Code executed at the end of each rule. */
  6504. | #ifndef YY_BREAK
  6505. | #define YY_BREAK /*LINTED*/break;
  6506. | #endif
  6507. |
  6508. | #define YY_RULE_SETUP \
  6509. | YY_USER_ACTION
  6510. |
  6511. | /** The main scanner function which does all the work.
  6512. | */
  6513. | YY_DECL
  6514. | {
  6515. | yy_state_type yy_current_state;
  6516. | char *yy_cp, *yy_bp;
  6517. | int yy_act;
  6518. |
  6519. | if ( !(yy_init) )
  6520. | {
  6521. | (yy_init) = 1;
  6522. |
  6523. | #ifdef YY_USER_INIT
  6524. | YY_USER_INIT;
  6525. | #endif
  6526. |
  6527. | /* Create the reject buffer large enough to save one state per allowed character. */
  6528. | if ( ! (yy_state_buf) )
  6529. | (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE );
  6530. | if ( ! (yy_state_buf) )
  6531. | YY_FATAL_ERROR( "out of dynamic memory in yylex()" );
  6532. |
  6533. | if ( ! (yy_start) )
  6534. | (yy_start) = 1; /* first start state */
  6535. |
  6536. | if ( ! yyin )
  6537. | yyin = stdin;
  6538. |
  6539. | if ( ! yyout )
  6540. | yyout = stdout;
  6541. |
  6542. | if ( ! YY_CURRENT_BUFFER ) {
  6543. | yyensure_buffer_stack ();
  6544. | YY_CURRENT_BUFFER_LVALUE =
  6545. | yy_create_buffer( yyin, YY_BUF_SIZE );
  6546. | }
  6547. |
  6548. | yy_load_buffer_state( );
  6549. | }
  6550. |
  6551. | {
  6552. | #line 1 "conftest.l"
  6553. |
  6554. | #line 684 "lex.yy.c"
  6555. |
  6556. | while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */
  6557. | {
  6558. | (yy_more_len) = 0;
  6559. | if ( (yy_more_flag) )
  6560. | {
  6561. | (yy_more_len) = (int) ((yy_c_buf_p) - (yytext_ptr));
  6562. | (yy_more_flag) = 0;
  6563. | }
  6564. | yy_cp = (yy_c_buf_p);
  6565. |
  6566. | /* Support of yytext. */
  6567. | *yy_cp = (yy_hold_char);
  6568. |
  6569. | /* yy_bp points to the position in yy_ch_buf of the start of
  6570. | * the current run.
  6571. | */
  6572. | yy_bp = yy_cp;
  6573. |
  6574. | yy_current_state = (yy_start);
  6575. |
  6576. | (yy_state_ptr) = (yy_state_buf);
  6577. | *(yy_state_ptr)++ = yy_current_state;
  6578. |
  6579. | yy_match:
  6580. | do
  6581. | {
  6582. | YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ;
  6583. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  6584. | {
  6585. | yy_current_state = (int) yy_def[yy_current_state];
  6586. | if ( yy_current_state >= 13 )
  6587. | yy_c = yy_meta[yy_c];
  6588. | }
  6589. | yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
  6590. | *(yy_state_ptr)++ = yy_current_state;
  6591. | ++yy_cp;
  6592. | }
  6593. | while ( yy_base[yy_current_state] != 10 );
  6594. |
  6595. | yy_find_action:
  6596. | yy_current_state = *--(yy_state_ptr);
  6597. | (yy_lp) = yy_accept[yy_current_state];
  6598. |
  6599. | find_rule: /* we branch to this label when backing up */
  6600. |
  6601. | for ( ; ; ) /* until we find what rule we matched */
  6602. | {
  6603. | if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] )
  6604. | {
  6605. | yy_act = yy_acclist[(yy_lp)];
  6606. | {
  6607. | (yy_full_match) = yy_cp;
  6608. | break;
  6609. | }
  6610. | }
  6611. | --yy_cp;
  6612. | yy_current_state = *--(yy_state_ptr);
  6613. | (yy_lp) = yy_accept[yy_current_state];
  6614. | }
  6615. |
  6616. | YY_DO_BEFORE_ACTION;
  6617. |
  6618. | do_action: /* This label is used only to access EOF actions. */
  6619. |
  6620. | switch ( yy_act )
  6621. | { /* beginning of action switch */
  6622. | case 1:
  6623. | YY_RULE_SETUP
  6624. | #line 2 "conftest.l"
  6625. | { ECHO; }
  6626. | YY_BREAK
  6627. | case 2:
  6628. | YY_RULE_SETUP
  6629. | #line 3 "conftest.l"
  6630. | { REJECT; }
  6631. | YY_BREAK
  6632. | case 3:
  6633. | YY_RULE_SETUP
  6634. | #line 4 "conftest.l"
  6635. | { yymore (); }
  6636. | YY_BREAK
  6637. | case 4:
  6638. | YY_RULE_SETUP
  6639. | #line 5 "conftest.l"
  6640. | { yyless (1); }
  6641. | YY_BREAK
  6642. | case 5:
  6643. | YY_RULE_SETUP
  6644. | #line 6 "conftest.l"
  6645. | { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
  6646. | yyless ((input () != 0)); }
  6647. | YY_BREAK
  6648. | case 6:
  6649. | YY_RULE_SETUP
  6650. | #line 8 "conftest.l"
  6651. | { unput (yytext[0]); }
  6652. | YY_BREAK
  6653. | case 7:
  6654. | YY_RULE_SETUP
  6655. | #line 9 "conftest.l"
  6656. | { BEGIN INITIAL; }
  6657. | YY_BREAK
  6658. | case 8:
  6659. | YY_RULE_SETUP
  6660. | #line 10 "conftest.l"
  6661. | ECHO;
  6662. | YY_BREAK
  6663. | #line 793 "lex.yy.c"
  6664. | case YY_STATE_EOF(INITIAL):
  6665. | yyterminate();
  6666. |
  6667. | case YY_END_OF_BUFFER:
  6668. | {
  6669. | /* Amount of text matched not including the EOB char. */
  6670. | int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
  6671. |
  6672. | /* Undo the effects of YY_DO_BEFORE_ACTION. */
  6673. | *yy_cp = (yy_hold_char);
  6674. | YY_RESTORE_YY_MORE_OFFSET
  6675. |
  6676. | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
  6677. | {
  6678. | /* We're scanning a new file or input source. It's
  6679. | * possible that this happened because the user
  6680. | * just pointed yyin at a new source and called
  6681. | * yylex(). If so, then we have to assure
  6682. | * consistency between YY_CURRENT_BUFFER and our
  6683. | * globals. Here is the right place to do so, because
  6684. | * this is the first action (other than possibly a
  6685. | * back-up) that will match for the new input source.
  6686. | */
  6687. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  6688. | YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
  6689. | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
  6690. | }
  6691. |
  6692. | /* Note that here we test for yy_c_buf_p "<=" to the position
  6693. | * of the first EOB in the buffer, since yy_c_buf_p will
  6694. | * already have been incremented past the NUL character
  6695. | * (since all states make transitions on EOB to the
  6696. | * end-of-buffer state). Contrast this with the test
  6697. | * in input().
  6698. | */
  6699. | if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
  6700. | { /* This was really a NUL. */
  6701. | yy_state_type yy_next_state;
  6702. |
  6703. | (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
  6704. |
  6705. | yy_current_state = yy_get_previous_state( );
  6706. |
  6707. | /* Okay, we're now positioned to make the NUL
  6708. | * transition. We couldn't have
  6709. | * yy_get_previous_state() go ahead and do it
  6710. | * for us because it doesn't know how to deal
  6711. | * with the possibility of jamming (and we don't
  6712. | * want to build jamming into it because then it
  6713. | * will run more slowly).
  6714. | */
  6715. |
  6716. | yy_next_state = yy_try_NUL_trans( yy_current_state );
  6717. |
  6718. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  6719. |
  6720. | if ( yy_next_state )
  6721. | {
  6722. | /* Consume the NUL. */
  6723. | yy_cp = ++(yy_c_buf_p);
  6724. | yy_current_state = yy_next_state;
  6725. | goto yy_match;
  6726. | }
  6727. |
  6728. | else
  6729. | {
  6730. | yy_cp = (yy_c_buf_p);
  6731. | goto yy_find_action;
  6732. | }
  6733. | }
  6734. |
  6735. | else switch ( yy_get_next_buffer( ) )
  6736. | {
  6737. | case EOB_ACT_END_OF_FILE:
  6738. | {
  6739. | (yy_did_buffer_switch_on_eof) = 0;
  6740. |
  6741. | if ( yywrap( ) )
  6742. | {
  6743. | /* Note: because we've taken care in
  6744. | * yy_get_next_buffer() to have set up
  6745. | * yytext, we can now set up
  6746. | * yy_c_buf_p so that if some total
  6747. | * hoser (like flex itself) wants to
  6748. | * call the scanner after we return the
  6749. | * YY_NULL, it'll still work - another
  6750. | * YY_NULL will get returned.
  6751. | */
  6752. | (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
  6753. |
  6754. | yy_act = YY_STATE_EOF(YY_START);
  6755. | goto do_action;
  6756. | }
  6757. |
  6758. | else
  6759. | {
  6760. | if ( ! (yy_did_buffer_switch_on_eof) )
  6761. | YY_NEW_FILE;
  6762. | }
  6763. | break;
  6764. | }
  6765. |
  6766. | case EOB_ACT_CONTINUE_SCAN:
  6767. | (yy_c_buf_p) =
  6768. | (yytext_ptr) + yy_amount_of_matched_text;
  6769. |
  6770. | yy_current_state = yy_get_previous_state( );
  6771. |
  6772. | yy_cp = (yy_c_buf_p);
  6773. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  6774. | goto yy_match;
  6775. |
  6776. | case EOB_ACT_LAST_MATCH:
  6777. | (yy_c_buf_p) =
  6778. | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
  6779. |
  6780. | yy_current_state = yy_get_previous_state( );
  6781. |
  6782. | yy_cp = (yy_c_buf_p);
  6783. | yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  6784. | goto yy_find_action;
  6785. | }
  6786. | break;
  6787. | }
  6788. |
  6789. | default:
  6790. | YY_FATAL_ERROR(
  6791. | "fatal flex scanner internal error--no action found" );
  6792. | } /* end of action switch */
  6793. | } /* end of scanning one token */
  6794. | } /* end of user's declarations */
  6795. | } /* end of yylex */
  6796. |
  6797. | /* yy_get_next_buffer - try to read in a new buffer
  6798. | *
  6799. | * Returns a code representing an action:
  6800. | * EOB_ACT_LAST_MATCH -
  6801. | * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
  6802. | * EOB_ACT_END_OF_FILE - end of file
  6803. | */
  6804. | static int yy_get_next_buffer (void)
  6805. | {
  6806. | char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
  6807. | char *source = (yytext_ptr);
  6808. | int number_to_move, i;
  6809. | int ret_val;
  6810. |
  6811. | if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
  6812. | YY_FATAL_ERROR(
  6813. | "fatal flex scanner internal error--end of buffer missed" );
  6814. |
  6815. | if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
  6816. | { /* Don't try to fill the buffer, so this is an EOF. */
  6817. | if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
  6818. | {
  6819. | /* We matched a single character, the EOB, so
  6820. | * treat this as a final EOF.
  6821. | */
  6822. | return EOB_ACT_END_OF_FILE;
  6823. | }
  6824. |
  6825. | else
  6826. | {
  6827. | /* We matched some text prior to the EOB, first
  6828. | * process it.
  6829. | */
  6830. | return EOB_ACT_LAST_MATCH;
  6831. | }
  6832. | }
  6833. |
  6834. | /* Try to read more data. */
  6835. |
  6836. | /* First move last chars to start of buffer. */
  6837. | number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr) - 1);
  6838. |
  6839. | for ( i = 0; i < number_to_move; ++i )
  6840. | *(dest++) = *(source++);
  6841. |
  6842. | if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
  6843. | /* don't do the read, it's not guaranteed to return an EOF,
  6844. | * just force an EOF
  6845. | */
  6846. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
  6847. |
  6848. | else
  6849. | {
  6850. | int num_to_read =
  6851. | YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
  6852. |
  6853. | while ( num_to_read <= 0 )
  6854. | { /* Not enough room in the buffer - grow it. */
  6855. |
  6856. | YY_FATAL_ERROR(
  6857. | "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
  6858. |
  6859. | }
  6860. |
  6861. | if ( num_to_read > YY_READ_BUF_SIZE )
  6862. | num_to_read = YY_READ_BUF_SIZE;
  6863. |
  6864. | /* Read in more data. */
  6865. | YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
  6866. | (yy_n_chars), num_to_read );
  6867. |
  6868. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  6869. | }
  6870. |
  6871. | if ( (yy_n_chars) == 0 )
  6872. | {
  6873. | if ( number_to_move == YY_MORE_ADJ )
  6874. | {
  6875. | ret_val = EOB_ACT_END_OF_FILE;
  6876. | yyrestart( yyin );
  6877. | }
  6878. |
  6879. | else
  6880. | {
  6881. | ret_val = EOB_ACT_LAST_MATCH;
  6882. | YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
  6883. | YY_BUFFER_EOF_PENDING;
  6884. | }
  6885. | }
  6886. |
  6887. | else
  6888. | ret_val = EOB_ACT_CONTINUE_SCAN;
  6889. |
  6890. | if (((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
  6891. | /* Extend the array by 50%, plus the number we really need. */
  6892. | int new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
  6893. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc(
  6894. | (void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf, (yy_size_t) new_size );
  6895. | if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  6896. | YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
  6897. | /* "- 2" to take care of EOB's */
  6898. | YY_CURRENT_BUFFER_LVALUE->yy_buf_size = (int) (new_size - 2);
  6899. | }
  6900. |
  6901. | (yy_n_chars) += number_to_move;
  6902. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
  6903. | YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
  6904. |
  6905. | (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
  6906. |
  6907. | return ret_val;
  6908. | }
  6909. |
  6910. | /* yy_get_previous_state - get the state just before the EOB char was reached */
  6911. |
  6912. | static yy_state_type yy_get_previous_state (void)
  6913. | {
  6914. | yy_state_type yy_current_state;
  6915. | char *yy_cp;
  6916. |
  6917. | yy_current_state = (yy_start);
  6918. |
  6919. | (yy_state_ptr) = (yy_state_buf);
  6920. | *(yy_state_ptr)++ = yy_current_state;
  6921. |
  6922. | for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
  6923. | {
  6924. | YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
  6925. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  6926. | {
  6927. | yy_current_state = (int) yy_def[yy_current_state];
  6928. | if ( yy_current_state >= 13 )
  6929. | yy_c = yy_meta[yy_c];
  6930. | }
  6931. | yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
  6932. | *(yy_state_ptr)++ = yy_current_state;
  6933. | }
  6934. |
  6935. | return yy_current_state;
  6936. | }
  6937. |
  6938. | /* yy_try_NUL_trans - try to make a transition on the NUL character
  6939. | *
  6940. | * synopsis
  6941. | * next_state = yy_try_NUL_trans( current_state );
  6942. | */
  6943. | static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
  6944. | {
  6945. | int yy_is_jam;
  6946. |
  6947. | YY_CHAR yy_c = 1;
  6948. | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  6949. | {
  6950. | yy_current_state = (int) yy_def[yy_current_state];
  6951. | if ( yy_current_state >= 13 )
  6952. | yy_c = yy_meta[yy_c];
  6953. | }
  6954. | yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
  6955. | yy_is_jam = (yy_current_state == 12);
  6956. | if ( ! yy_is_jam )
  6957. | *(yy_state_ptr)++ = yy_current_state;
  6958. |
  6959. | return yy_is_jam ? 0 : yy_current_state;
  6960. | }
  6961. |
  6962. | #ifndef YY_NO_UNPUT
  6963. |
  6964. | static void yyunput (int c, char * yy_bp )
  6965. | {
  6966. | char *yy_cp;
  6967. |
  6968. | yy_cp = (yy_c_buf_p);
  6969. |
  6970. | /* undo effects of setting up yytext */
  6971. | *yy_cp = (yy_hold_char);
  6972. |
  6973. | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  6974. | { /* need to shift things up to make room */
  6975. | /* +2 for EOB chars. */
  6976. | int number_to_move = (yy_n_chars) + 2;
  6977. | char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
  6978. | YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
  6979. | char *source =
  6980. | &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
  6981. |
  6982. | while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  6983. | *--dest = *--source;
  6984. |
  6985. | yy_cp += (int) (dest - source);
  6986. | yy_bp += (int) (dest - source);
  6987. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
  6988. | (yy_n_chars) = (int) YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
  6989. |
  6990. | if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  6991. | YY_FATAL_ERROR( "flex scanner push-back overflow" );
  6992. | }
  6993. |
  6994. | *--yy_cp = (char) c;
  6995. |
  6996. | (yytext_ptr) = yy_bp;
  6997. | (yy_hold_char) = *yy_cp;
  6998. | (yy_c_buf_p) = yy_cp;
  6999. | }
  7000. |
  7001. | #endif
  7002. |
  7003. | #ifndef YY_NO_INPUT
  7004. | #ifdef __cplusplus
  7005. | static int yyinput (void)
  7006. | #else
  7007. | static int input (void)
  7008. | #endif
  7009. |
  7010. | {
  7011. | int c;
  7012. |
  7013. | *(yy_c_buf_p) = (yy_hold_char);
  7014. |
  7015. | if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
  7016. | {
  7017. | /* yy_c_buf_p now points to the character we want to return.
  7018. | * If this occurs *before* the EOB characters, then it's a
  7019. | * valid NUL; if not, then we've hit the end of the buffer.
  7020. | */
  7021. | if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
  7022. | /* This was really a NUL. */
  7023. | *(yy_c_buf_p) = '\0';
  7024. |
  7025. | else
  7026. | { /* need more input */
  7027. | int offset = (int) ((yy_c_buf_p) - (yytext_ptr));
  7028. | ++(yy_c_buf_p);
  7029. |
  7030. | switch ( yy_get_next_buffer( ) )
  7031. | {
  7032. | case EOB_ACT_LAST_MATCH:
  7033. | /* This happens because yy_g_n_b()
  7034. | * sees that we've accumulated a
  7035. | * token and flags that we need to
  7036. | * try matching the token before
  7037. | * proceeding. But for input(),
  7038. | * there's no matching to consider.
  7039. | * So convert the EOB_ACT_LAST_MATCH
  7040. | * to EOB_ACT_END_OF_FILE.
  7041. | */
  7042. |
  7043. | /* Reset buffer status. */
  7044. | yyrestart( yyin );
  7045. |
  7046. | /*FALLTHROUGH*/
  7047. |
  7048. | case EOB_ACT_END_OF_FILE:
  7049. | {
  7050. | if ( yywrap( ) )
  7051. | return 0;
  7052. |
  7053. | if ( ! (yy_did_buffer_switch_on_eof) )
  7054. | YY_NEW_FILE;
  7055. | #ifdef __cplusplus
  7056. | return yyinput();
  7057. | #else
  7058. | return input();
  7059. | #endif
  7060. | }
  7061. |
  7062. | case EOB_ACT_CONTINUE_SCAN:
  7063. | (yy_c_buf_p) = (yytext_ptr) + offset;
  7064. | break;
  7065. | }
  7066. | }
  7067. | }
  7068. |
  7069. | c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */
  7070. | *(yy_c_buf_p) = '\0'; /* preserve yytext */
  7071. | (yy_hold_char) = *++(yy_c_buf_p);
  7072. |
  7073. | return c;
  7074. | }
  7075. | #endif /* ifndef YY_NO_INPUT */
  7076. |
  7077. | /** Immediately switch to a different input stream.
  7078. | * @param input_file A readable stream.
  7079. | *
  7080. | * @note This function does not reset the start condition to @c INITIAL .
  7081. | */
  7082. | void yyrestart (FILE * input_file )
  7083. | {
  7084. |
  7085. | if ( ! YY_CURRENT_BUFFER ){
  7086. | yyensure_buffer_stack ();
  7087. | YY_CURRENT_BUFFER_LVALUE =
  7088. | yy_create_buffer( yyin, YY_BUF_SIZE );
  7089. | }
  7090. |
  7091. | yy_init_buffer( YY_CURRENT_BUFFER, input_file );
  7092. | yy_load_buffer_state( );
  7093. | }
  7094. |
  7095. | /** Switch to a different input buffer.
  7096. | * @param new_buffer The new input buffer.
  7097. | *
  7098. | */
  7099. | void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer )
  7100. | {
  7101. |
  7102. | /* TODO. We should be able to replace this entire function body
  7103. | * with
  7104. | * yypop_buffer_state();
  7105. | * yypush_buffer_state(new_buffer);
  7106. | */
  7107. | yyensure_buffer_stack ();
  7108. | if ( YY_CURRENT_BUFFER == new_buffer )
  7109. | return;
  7110. |
  7111. | if ( YY_CURRENT_BUFFER )
  7112. | {
  7113. | /* Flush out information for old buffer. */
  7114. | *(yy_c_buf_p) = (yy_hold_char);
  7115. | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
  7116. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  7117. | }
  7118. |
  7119. | YY_CURRENT_BUFFER_LVALUE = new_buffer;
  7120. | yy_load_buffer_state( );
  7121. |
  7122. | /* We don't actually know whether we did this switch during
  7123. | * EOF (yywrap()) processing, but the only time this flag
  7124. | * is looked at is after yywrap() is called, so it's safe
  7125. | * to go ahead and always set it.
  7126. | */
  7127. | (yy_did_buffer_switch_on_eof) = 1;
  7128. | }
  7129. |
  7130. | static void yy_load_buffer_state (void)
  7131. | {
  7132. | (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  7133. | (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
  7134. | yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
  7135. | (yy_hold_char) = *(yy_c_buf_p);
  7136. | }
  7137. |
  7138. | /** Allocate and initialize an input buffer state.
  7139. | * @param file A readable stream.
  7140. | * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
  7141. | *
  7142. | * @return the allocated buffer state.
  7143. | */
  7144. | YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
  7145. | {
  7146. | YY_BUFFER_STATE b;
  7147. |
  7148. | b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) );
  7149. | if ( ! b )
  7150. | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  7151. |
  7152. | b->yy_buf_size = size;
  7153. |
  7154. | /* yy_ch_buf has to be 2 characters longer than the size given because
  7155. | * we need to put in 2 end-of-buffer characters.
  7156. | */
  7157. | b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2) );
  7158. | if ( ! b->yy_ch_buf )
  7159. | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  7160. |
  7161. | b->yy_is_our_buffer = 1;
  7162. |
  7163. | yy_init_buffer( b, file );
  7164. |
  7165. | return b;
  7166. | }
  7167. |
  7168. | /** Destroy the buffer.
  7169. | * @param b a buffer created with yy_create_buffer()
  7170. | *
  7171. | */
  7172. | void yy_delete_buffer (YY_BUFFER_STATE b )
  7173. | {
  7174. |
  7175. | if ( ! b )
  7176. | return;
  7177. |
  7178. | if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
  7179. | YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
  7180. |
  7181. | if ( b->yy_is_our_buffer )
  7182. | yyfree( (void *) b->yy_ch_buf );
  7183. |
  7184. | yyfree( (void *) b );
  7185. | }
  7186. |
  7187. | /* Initializes or reinitializes a buffer.
  7188. | * This function is sometimes called more than once on the same buffer,
  7189. | * such as during a yyrestart() or at EOF.
  7190. | */
  7191. | static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file )
  7192. |
  7193. | {
  7194. | int oerrno = errno;
  7195. |
  7196. | yy_flush_buffer( b );
  7197. |
  7198. | b->yy_input_file = file;
  7199. | b->yy_fill_buffer = 1;
  7200. |
  7201. | /* If b is the current buffer, then yy_init_buffer was _probably_
  7202. | * called from yyrestart() or through yy_get_next_buffer.
  7203. | * In that case, we don't want to reset the lineno or column.
  7204. | */
  7205. | if (b != YY_CURRENT_BUFFER){
  7206. | b->yy_bs_lineno = 1;
  7207. | b->yy_bs_column = 0;
  7208. | }
  7209. |
  7210. | b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
  7211. |
  7212. | errno = oerrno;
  7213. | }
  7214. |
  7215. | /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
  7216. | * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
  7217. | *
  7218. | */
  7219. | void yy_flush_buffer (YY_BUFFER_STATE b )
  7220. | {
  7221. | if ( ! b )
  7222. | return;
  7223. |
  7224. | b->yy_n_chars = 0;
  7225. |
  7226. | /* We always need two end-of-buffer characters. The first causes
  7227. | * a transition to the end-of-buffer state. The second causes
  7228. | * a jam in that state.
  7229. | */
  7230. | b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
  7231. | b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
  7232. |
  7233. | b->yy_buf_pos = &b->yy_ch_buf[0];
  7234. |
  7235. | b->yy_at_bol = 1;
  7236. | b->yy_buffer_status = YY_BUFFER_NEW;
  7237. |
  7238. | if ( b == YY_CURRENT_BUFFER )
  7239. | yy_load_buffer_state( );
  7240. | }
  7241. |
  7242. | /** Pushes the new state onto the stack. The new state becomes
  7243. | * the current state. This function will allocate the stack
  7244. | * if necessary.
  7245. | * @param new_buffer The new state.
  7246. | *
  7247. | */
  7248. | void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
  7249. | {
  7250. | if (new_buffer == NULL)
  7251. | return;
  7252. |
  7253. | yyensure_buffer_stack();
  7254. |
  7255. | /* This block is copied from yy_switch_to_buffer. */
  7256. | if ( YY_CURRENT_BUFFER )
  7257. | {
  7258. | /* Flush out information for old buffer. */
  7259. | *(yy_c_buf_p) = (yy_hold_char);
  7260. | YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
  7261. | YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  7262. | }
  7263. |
  7264. | /* Only push if top exists. Otherwise, replace top. */
  7265. | if (YY_CURRENT_BUFFER)
  7266. | (yy_buffer_stack_top)++;
  7267. | YY_CURRENT_BUFFER_LVALUE = new_buffer;
  7268. |
  7269. | /* copied from yy_switch_to_buffer. */
  7270. | yy_load_buffer_state( );
  7271. | (yy_did_buffer_switch_on_eof) = 1;
  7272. | }
  7273. |
  7274. | /** Removes and deletes the top of the stack, if present.
  7275. | * The next element becomes the new top.
  7276. | *
  7277. | */
  7278. | void yypop_buffer_state (void)
  7279. | {
  7280. | if (!YY_CURRENT_BUFFER)
  7281. | return;
  7282. |
  7283. | yy_delete_buffer(YY_CURRENT_BUFFER );
  7284. | YY_CURRENT_BUFFER_LVALUE = NULL;
  7285. | if ((yy_buffer_stack_top) > 0)
  7286. | --(yy_buffer_stack_top);
  7287. |
  7288. | if (YY_CURRENT_BUFFER) {
  7289. | yy_load_buffer_state( );
  7290. | (yy_did_buffer_switch_on_eof) = 1;
  7291. | }
  7292. | }
  7293. |
  7294. | /* Allocates the stack if it does not exist.
  7295. | * Guarantees space for at least one push.
  7296. | */
  7297. | static void yyensure_buffer_stack (void)
  7298. | {
  7299. | yy_size_t num_to_alloc;
  7300. |
  7301. | if (!(yy_buffer_stack)) {
  7302. |
  7303. | /* First allocation is just for 2 elements, since we don't know if this
  7304. | * scanner will even need a stack. We use 2 instead of 1 to avoid an
  7305. | * immediate realloc on the next call.
  7306. | */
  7307. | num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */
  7308. | (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
  7309. | (num_to_alloc * sizeof(struct yy_buffer_state*)
  7310. | );
  7311. | if ( ! (yy_buffer_stack) )
  7312. | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  7313. |
  7314. | memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
  7315. |
  7316. | (yy_buffer_stack_max) = num_to_alloc;
  7317. | (yy_buffer_stack_top) = 0;
  7318. | return;
  7319. | }
  7320. |
  7321. | if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
  7322. |
  7323. | /* Increase the buffer to prepare for a possible push. */
  7324. | yy_size_t grow_size = 8 /* arbitrary grow size */;
  7325. |
  7326. | num_to_alloc = (yy_buffer_stack_max) + grow_size;
  7327. | (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
  7328. | ((yy_buffer_stack),
  7329. | num_to_alloc * sizeof(struct yy_buffer_state*)
  7330. | );
  7331. | if ( ! (yy_buffer_stack) )
  7332. | YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  7333. |
  7334. | /* zero only the new slots.*/
  7335. | memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
  7336. | (yy_buffer_stack_max) = num_to_alloc;
  7337. | }
  7338. | }
  7339. |
  7340. | /** Setup the input buffer state to scan directly from a user-specified character buffer.
  7341. | * @param base the character buffer
  7342. | * @param size the size in bytes of the character buffer
  7343. | *
  7344. | * @return the newly allocated buffer state object.
  7345. | */
  7346. | YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size )
  7347. | {
  7348. | YY_BUFFER_STATE b;
  7349. |
  7350. | if ( size < 2 ||
  7351. | base[size-2] != YY_END_OF_BUFFER_CHAR ||
  7352. | base[size-1] != YY_END_OF_BUFFER_CHAR )
  7353. | /* They forgot to leave room for the EOB's. */
  7354. | return NULL;
  7355. |
  7356. | b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) );
  7357. | if ( ! b )
  7358. | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
  7359. |
  7360. | b->yy_buf_size = (int) (size - 2); /* "- 2" to take care of EOB's */
  7361. | b->yy_buf_pos = b->yy_ch_buf = base;
  7362. | b->yy_is_our_buffer = 0;
  7363. | b->yy_input_file = NULL;
  7364. | b->yy_n_chars = b->yy_buf_size;
  7365. | b->yy_is_interactive = 0;
  7366. | b->yy_at_bol = 1;
  7367. | b->yy_fill_buffer = 0;
  7368. | b->yy_buffer_status = YY_BUFFER_NEW;
  7369. |
  7370. | yy_switch_to_buffer( b );
  7371. |
  7372. | return b;
  7373. | }
  7374. |
  7375. | /** Setup the input buffer state to scan a string. The next call to yylex() will
  7376. | * scan from a @e copy of @a str.
  7377. | * @param yystr a NUL-terminated string to scan
  7378. | *
  7379. | * @return the newly allocated buffer state object.
  7380. | * @note If you want to scan bytes that may contain NUL values, then use
  7381. | * yy_scan_bytes() instead.
  7382. | */
  7383. | YY_BUFFER_STATE yy_scan_string (const char * yystr )
  7384. | {
  7385. |
  7386. | return yy_scan_bytes( yystr, (int) strlen(yystr) );
  7387. | }
  7388. |
  7389. | /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
  7390. | * scan from a @e copy of @a bytes.
  7391. | * @param yybytes the byte buffer to scan
  7392. | * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
  7393. | *
  7394. | * @return the newly allocated buffer state object.
  7395. | */
  7396. | YY_BUFFER_STATE yy_scan_bytes (const char * yybytes, int _yybytes_len )
  7397. | {
  7398. | YY_BUFFER_STATE b;
  7399. | char *buf;
  7400. | yy_size_t n;
  7401. | int i;
  7402. |
  7403. | /* Get memory for full buffer, including space for trailing EOB's. */
  7404. | n = (yy_size_t) (_yybytes_len + 2);
  7405. | buf = (char *) yyalloc( n );
  7406. | if ( ! buf )
  7407. | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
  7408. |
  7409. | for ( i = 0; i < _yybytes_len; ++i )
  7410. | buf[i] = yybytes[i];
  7411. |
  7412. | buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
  7413. |
  7414. | b = yy_scan_buffer( buf, n );
  7415. | if ( ! b )
  7416. | YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
  7417. |
  7418. | /* It's okay to grow etc. this buffer, and we should throw it
  7419. | * away when we're done.
  7420. | */
  7421. | b->yy_is_our_buffer = 1;
  7422. |
  7423. | return b;
  7424. | }
  7425. |
  7426. | #ifndef YY_EXIT_FAILURE
  7427. | #define YY_EXIT_FAILURE 2
  7428. | #endif
  7429. |
  7430. | static void yynoreturn yy_fatal_error (const char* msg )
  7431. | {
  7432. | fprintf( stderr, "%s\n", msg );
  7433. | exit( YY_EXIT_FAILURE );
  7434. | }
  7435. |
  7436. | /* Redefine yyless() so it works in section 3 code. */
  7437. |
  7438. | #undef yyless
  7439. | #define yyless(n) \
  7440. | do \
  7441. | { \
  7442. | /* Undo effects of setting up yytext. */ \
  7443. | int yyless_macro_arg = (n); \
  7444. | YY_LESS_LINENO(yyless_macro_arg);\
  7445. | yytext[yyleng] = (yy_hold_char); \
  7446. | (yy_c_buf_p) = yytext + yyless_macro_arg; \
  7447. | (yy_hold_char) = *(yy_c_buf_p); \
  7448. | *(yy_c_buf_p) = '\0'; \
  7449. | yyleng = yyless_macro_arg; \
  7450. | } \
  7451. | while ( 0 )
  7452. |
  7453. | /* Accessor methods (get/set functions) to struct members. */
  7454. |
  7455. | /** Get the current line number.
  7456. | *
  7457. | */
  7458. | int yyget_lineno (void)
  7459. | {
  7460. |
  7461. | return yylineno;
  7462. | }
  7463. |
  7464. | /** Get the input stream.
  7465. | *
  7466. | */
  7467. | FILE *yyget_in (void)
  7468. | {
  7469. | return yyin;
  7470. | }
  7471. |
  7472. | /** Get the output stream.
  7473. | *
  7474. | */
  7475. | FILE *yyget_out (void)
  7476. | {
  7477. | return yyout;
  7478. | }
  7479. |
  7480. | /** Get the length of the current token.
  7481. | *
  7482. | */
  7483. | int yyget_leng (void)
  7484. | {
  7485. | return yyleng;
  7486. | }
  7487. |
  7488. | /** Get the current token.
  7489. | *
  7490. | */
  7491. |
  7492. | char *yyget_text (void)
  7493. | {
  7494. | return yytext;
  7495. | }
  7496. |
  7497. | /** Set the current line number.
  7498. | * @param _line_number line number
  7499. | *
  7500. | */
  7501. | void yyset_lineno (int _line_number )
  7502. | {
  7503. |
  7504. | yylineno = _line_number;
  7505. | }
  7506. |
  7507. | /** Set the input stream. This does not discard the current
  7508. | * input buffer.
  7509. | * @param _in_str A readable stream.
  7510. | *
  7511. | * @see yy_switch_to_buffer
  7512. | */
  7513. | void yyset_in (FILE * _in_str )
  7514. | {
  7515. | yyin = _in_str ;
  7516. | }
  7517. |
  7518. | void yyset_out (FILE * _out_str )
  7519. | {
  7520. | yyout = _out_str ;
  7521. | }
  7522. |
  7523. | int yyget_debug (void)
  7524. | {
  7525. | return yy_flex_debug;
  7526. | }
  7527. |
  7528. | void yyset_debug (int _bdebug )
  7529. | {
  7530. | yy_flex_debug = _bdebug ;
  7531. | }
  7532. |
  7533. | static int yy_init_globals (void)
  7534. | {
  7535. | /* Initialization is the same as for the non-reentrant scanner.
  7536. | * This function is called from yylex_destroy(), so don't allocate here.
  7537. | */
  7538. |
  7539. | (yy_buffer_stack) = NULL;
  7540. | (yy_buffer_stack_top) = 0;
  7541. | (yy_buffer_stack_max) = 0;
  7542. | (yy_c_buf_p) = NULL;
  7543. | (yy_init) = 0;
  7544. | (yy_start) = 0;
  7545. |
  7546. | (yy_state_buf) = 0;
  7547. | (yy_state_ptr) = 0;
  7548. | (yy_full_match) = 0;
  7549. | (yy_lp) = 0;
  7550. |
  7551. | /* Defined in main.c */
  7552. | #ifdef YY_STDINIT
  7553. | yyin = stdin;
  7554. | yyout = stdout;
  7555. | #else
  7556. | yyin = NULL;
  7557. | yyout = NULL;
  7558. | #endif
  7559. |
  7560. | /* For future reference: Set errno on error, since we are called by
  7561. | * yylex_init()
  7562. | */
  7563. | return 0;
  7564. | }
  7565. |
  7566. | /* yylex_destroy is for both reentrant and non-reentrant scanners. */
  7567. | int yylex_destroy (void)
  7568. | {
  7569. |
  7570. | /* Pop the buffer stack, destroying each element. */
  7571. | while(YY_CURRENT_BUFFER){
  7572. | yy_delete_buffer( YY_CURRENT_BUFFER );
  7573. | YY_CURRENT_BUFFER_LVALUE = NULL;
  7574. | yypop_buffer_state();
  7575. | }
  7576. |
  7577. | /* Destroy the stack itself. */
  7578. | yyfree((yy_buffer_stack) );
  7579. | (yy_buffer_stack) = NULL;
  7580. |
  7581. | yyfree ( (yy_state_buf) );
  7582. | (yy_state_buf) = NULL;
  7583. |
  7584. | /* Reset the globals. This is important in a non-reentrant scanner so the next time
  7585. | * yylex() is called, initialization will occur. */
  7586. | yy_init_globals( );
  7587. |
  7588. | return 0;
  7589. | }
  7590. |
  7591. | /*
  7592. | * Internal utility routines.
  7593. | */
  7594. |
  7595. | #ifndef yytext_ptr
  7596. | static void yy_flex_strncpy (char* s1, const char * s2, int n )
  7597. | {
  7598. |
  7599. | int i;
  7600. | for ( i = 0; i < n; ++i )
  7601. | s1[i] = s2[i];
  7602. | }
  7603. | #endif
  7604. |
  7605. | #ifdef YY_NEED_STRLEN
  7606. | static int yy_flex_strlen (const char * s )
  7607. | {
  7608. | int n;
  7609. | for ( n = 0; s[n]; ++n )
  7610. | ;
  7611. |
  7612. | return n;
  7613. | }
  7614. | #endif
  7615. |
  7616. | void *yyalloc (yy_size_t size )
  7617. | {
  7618. | return malloc(size);
  7619. | }
  7620. |
  7621. | void *yyrealloc (void * ptr, yy_size_t size )
  7622. | {
  7623. |
  7624. | /* The cast to (char *) in the following accommodates both
  7625. | * implementations that use char* generic pointers, and those
  7626. | * that use void* generic pointers. It works with the latter
  7627. | * because both ANSI C and C++ allow castless assignment from
  7628. | * any pointer type to void*, and deal with argument conversions
  7629. | * as though doing an assignment.
  7630. | */
  7631. | return realloc(ptr, size);
  7632. | }
  7633. |
  7634. | void yyfree (void * ptr )
  7635. | {
  7636. | free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
  7637. | }
  7638. |
  7639. | #define YYTABLES_NAME "yytables"
  7640. |
  7641. | #line 10 "conftest.l"
  7642. |
  7643. | #ifdef YYTEXT_POINTER
  7644. | extern char *yytext;
  7645. | #endif
  7646. | int
  7647. | main (void)
  7648. | {
  7649. | return ! yylex () + ! yywrap ();
  7650. | }
  7651. configure:9881: result: no
  7652. configure:9808: checking for bison
  7653. configure:9824: found /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/bison
  7654. configure:9835: result: bison -y
  7655. configure:9850: checking ieeefp.h usability
  7656. configure:9850: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -c -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-math-errno -fno-signed-zeros -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
  7657. conftest.c:57:10: fatal error: ieeefp.h: No such file or directory
  7658. #include <ieeefp.h>
  7659. ^~~~~~~~~~
  7660. compilation terminated.
  7661. configure:9850: $? = 1
  7662. configure: failed program was:
  7663. | /* confdefs.h */
  7664. | #define PACKAGE_NAME ""
  7665. | #define PACKAGE_TARNAME ""
  7666. | #define PACKAGE_VERSION ""
  7667. | #define PACKAGE_STRING ""
  7668. | #define PACKAGE_BUGREPORT ""
  7669. | #define PACKAGE_URL ""
  7670. | #define STDC_HEADERS 1
  7671. | #define HAVE_SYS_TYPES_H 1
  7672. | #define HAVE_SYS_STAT_H 1
  7673. | #define HAVE_STDLIB_H 1
  7674. | #define HAVE_STRING_H 1
  7675. | #define HAVE_MEMORY_H 1
  7676. | #define HAVE_STRINGS_H 1
  7677. | #define HAVE_INTTYPES_H 1
  7678. | #define HAVE_STDINT_H 1
  7679. | #define HAVE_UNISTD_H 1
  7680. | #define HAVE_DLFCN_H 1
  7681. | #define LT_OBJDIR ".libs/"
  7682. | #define POSTGIS_MAJOR_VERSION "3"
  7683. | #define POSTGIS_MINOR_VERSION "0"
  7684. | #define POSTGIS_MICRO_VERSION "1"
  7685. | /* end confdefs.h. */
  7686. | #include <stdio.h>
  7687. | #ifdef HAVE_SYS_TYPES_H
  7688. | # include <sys/types.h>
  7689. | #endif
  7690. | #ifdef HAVE_SYS_STAT_H
  7691. | # include <sys/stat.h>
  7692. | #endif
  7693. | #ifdef STDC_HEADERS
  7694. | # include <stdlib.h>
  7695. | # include <stddef.h>
  7696. | #else
  7697. | # ifdef HAVE_STDLIB_H
  7698. | # include <stdlib.h>
  7699. | # endif
  7700. | #endif
  7701. | #ifdef HAVE_STRING_H
  7702. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  7703. | # include <memory.h>
  7704. | # endif
  7705. | # include <string.h>
  7706. | #endif
  7707. | #ifdef HAVE_STRINGS_H
  7708. | # include <strings.h>
  7709. | #endif
  7710. | #ifdef HAVE_INTTYPES_H
  7711. | # include <inttypes.h>
  7712. | #endif
  7713. | #ifdef HAVE_STDINT_H
  7714. | # include <stdint.h>
  7715. | #endif
  7716. | #ifdef HAVE_UNISTD_H
  7717. | # include <unistd.h>
  7718. | #endif
  7719. | #include <ieeefp.h>
  7720. configure:9850: result: no
  7721. configure:9850: checking ieeefp.h presence
  7722. configure:9850: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c
  7723. conftest.c:24:10: fatal error: ieeefp.h: No such file or directory
  7724. #include <ieeefp.h>
  7725. ^~~~~~~~~~
  7726. compilation terminated.
  7727. configure:9850: $? = 1
  7728. configure: failed program was:
  7729. | /* confdefs.h */
  7730. | #define PACKAGE_NAME ""
  7731. | #define PACKAGE_TARNAME ""
  7732. | #define PACKAGE_VERSION ""
  7733. | #define PACKAGE_STRING ""
  7734. | #define PACKAGE_BUGREPORT ""
  7735. | #define PACKAGE_URL ""
  7736. | #define STDC_HEADERS 1
  7737. | #define HAVE_SYS_TYPES_H 1
  7738. | #define HAVE_SYS_STAT_H 1
  7739. | #define HAVE_STDLIB_H 1
  7740. | #define HAVE_STRING_H 1
  7741. | #define HAVE_MEMORY_H 1
  7742. | #define HAVE_STRINGS_H 1
  7743. | #define HAVE_INTTYPES_H 1
  7744. | #define HAVE_STDINT_H 1
  7745. | #define HAVE_UNISTD_H 1
  7746. | #define HAVE_DLFCN_H 1
  7747. | #define LT_OBJDIR ".libs/"
  7748. | #define POSTGIS_MAJOR_VERSION "3"
  7749. | #define POSTGIS_MINOR_VERSION "0"
  7750. | #define POSTGIS_MICRO_VERSION "1"
  7751. | /* end confdefs.h. */
  7752. | #include <ieeefp.h>
  7753. configure:9850: result: no
  7754. configure:9850: checking for ieeefp.h
  7755. configure:9850: result: no
  7756. configure:9863: checking termios.h usability
  7757. configure:9863: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -c -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-math-errno -fno-signed-zeros -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
  7758. configure:9863: $? = 0
  7759. configure:9863: result: yes
  7760. configure:9863: checking termios.h presence
  7761. configure:9863: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c
  7762. configure:9863: $? = 0
  7763. configure:9863: result: yes
  7764. configure:9863: checking for termios.h
  7765. configure:9863: result: yes
  7766. configure:9878: checking for vasprintf
  7767. configure:9878: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -o conftest -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-math-errno -fno-signed-zeros -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
  7768. configure:9878: $? = 0
  7769. configure:9878: result: yes
  7770. configure:9884: checking for asprintf
  7771. configure:9884: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -o conftest -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-math-errno -fno-signed-zeros -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
  7772. configure:9884: $? = 0
  7773. configure:9884: result: yes
  7774. configure:9890: checking for _LARGEFILE_SOURCE value needed for large files
  7775. configure:9909: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -o conftest -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-math-errno -fno-signed-zeros -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
  7776. configure:9909: $? = 0
  7777. configure:9937: result: no
  7778. configure:9971: checking for perl
  7779. configure:10001: result: /usr/bin/perl
  7780. configure:10019: checking for xsltproc
  7781. configure:10052: result: no
  7782. configure:10058: WARNING: xsltproc is not installed so documentation cannot be built
  7783. configure:10067: checking for convert
  7784. configure:10100: result: no
  7785. configure:10106: WARNING: ImageMagick does not seem to be installed. Documentation cannot be built
  7786. configure:10113: checking for dblatex
  7787. configure:10146: result: no
  7788. configure:10152: WARNING: dblatex is not installed so PDF documentation cannot be built
  7789. configure:10162: checking for xmllint
  7790. configure:10195: result: no
  7791. configure:10201: WARNING: xmllint is not installed so documentation cannot be checked
  7792. configure:10236: WARNING: could not locate Docbook stylesheets required to build the documentation
  7793. configure:10390: checking pkg-config is at least version 0.9.0
  7794. configure:10393: result: yes
  7795. configure:10413: checking for CUNIT
  7796. configure:10420: $PKG_CONFIG --exists --print-errors "cunit"
  7797. Package cunit was not found in the pkg-config search path.
  7798. Perhaps you should add the directory containing `cunit.pc'
  7799. to the PKG_CONFIG_PATH environment variable
  7800. Package 'cunit', required by 'virtual:world', not found
  7801. configure:10423: $? = 1
  7802. configure:10437: $PKG_CONFIG --exists --print-errors "cunit"
  7803. Package cunit was not found in the pkg-config search path.
  7804. Perhaps you should add the directory containing `cunit.pc'
  7805. to the PKG_CONFIG_PATH environment variable
  7806. Package 'cunit', required by 'virtual:world', not found
  7807. configure:10440: $? = 1
  7808. configure:10454: result: no
  7809. Package 'cunit', required by 'virtual:world', not found
  7810. configure:10470: WARNING: could not locate CUnit required for unit tests
  7811. configure:10574: checking iconv.h usability
  7812. configure:10574: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -c -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-math-errno -fno-signed-zeros -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
  7813. configure:10574: $? = 0
  7814. configure:10574: result: yes
  7815. configure:10574: checking iconv.h presence
  7816. configure:10574: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c
  7817. configure:10574: $? = 0
  7818. configure:10574: result: yes
  7819. configure:10574: checking for iconv.h
  7820. configure:10574: result: yes
  7821. configure:10582: checking for libiconv_open in -liconv
  7822. configure:10607: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -o conftest -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-math-errno -fno-signed-zeros -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -liconv >&5
  7823. /home/thibault/Documents/Dev/buildroot/buildroot/output/host/lib/gcc/arm-buildroot-linux-gnueabi/7.4.0/../../../../arm-buildroot-linux-gnueabi/bin/ld: cannot find -liconv
  7824. collect2: error: ld returned 1 exit status
  7825. configure:10607: $? = 1
  7826. configure: failed program was:
  7827. | /* confdefs.h */
  7828. | #define PACKAGE_NAME ""
  7829. | #define PACKAGE_TARNAME ""
  7830. | #define PACKAGE_VERSION ""
  7831. | #define PACKAGE_STRING ""
  7832. | #define PACKAGE_BUGREPORT ""
  7833. | #define PACKAGE_URL ""
  7834. | #define STDC_HEADERS 1
  7835. | #define HAVE_SYS_TYPES_H 1
  7836. | #define HAVE_SYS_STAT_H 1
  7837. | #define HAVE_STDLIB_H 1
  7838. | #define HAVE_STRING_H 1
  7839. | #define HAVE_MEMORY_H 1
  7840. | #define HAVE_STRINGS_H 1
  7841. | #define HAVE_INTTYPES_H 1
  7842. | #define HAVE_STDINT_H 1
  7843. | #define HAVE_UNISTD_H 1
  7844. | #define HAVE_DLFCN_H 1
  7845. | #define LT_OBJDIR ".libs/"
  7846. | #define POSTGIS_MAJOR_VERSION "3"
  7847. | #define POSTGIS_MINOR_VERSION "0"
  7848. | #define POSTGIS_MICRO_VERSION "1"
  7849. | #define HAVE_IEEEFP_H 0
  7850. | #define HAVE_TERMIOS_H 1
  7851. | #define HAVE_VASPRINTF 1
  7852. | #define HAVE_ASPRINTF 1
  7853. | #define HAVE_FSEEKO 1
  7854. | /* end confdefs.h. */
  7855. |
  7856. | /* Override any GCC internal prototype to avoid an error.
  7857. | Use char because int might match the return type of a GCC
  7858. | builtin and then its argument prototype would still apply. */
  7859. | #ifdef __cplusplus
  7860. | extern "C"
  7861. | #endif
  7862. | char libiconv_open ();
  7863. | int
  7864. | main ()
  7865. | {
  7866. | return libiconv_open ();
  7867. | ;
  7868. | return 0;
  7869. | }
  7870. configure:10616: result: no
  7871. configure:10623: checking for iconv_open in -lc
  7872. configure:10648: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -o conftest -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-math-errno -fno-signed-zeros -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lc >&5
  7873. configure:10648: $? = 0
  7874. configure:10657: result: yes
  7875. configure:10716: checking for iconvctl
  7876. configure:10716: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -o conftest -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-math-errno -fno-signed-zeros -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
  7877. /home/thibault/Documents/Dev/buildroot/buildroot/output/host/lib/gcc/arm-buildroot-linux-gnueabi/7.4.0/../../../../arm-buildroot-linux-gnueabi/bin/ld: /tmp/ccuJN2ID.o: in function `main':
  7878. conftest.c:(.text.startup+0x4): undefined reference to `iconvctl'
  7879. collect2: error: ld returned 1 exit status
  7880. configure:10716: $? = 1
  7881. configure: failed program was:
  7882. | /* confdefs.h */
  7883. | #define PACKAGE_NAME ""
  7884. | #define PACKAGE_TARNAME ""
  7885. | #define PACKAGE_VERSION ""
  7886. | #define PACKAGE_STRING ""
  7887. | #define PACKAGE_BUGREPORT ""
  7888. | #define PACKAGE_URL ""
  7889. | #define STDC_HEADERS 1
  7890. | #define HAVE_SYS_TYPES_H 1
  7891. | #define HAVE_SYS_STAT_H 1
  7892. | #define HAVE_STDLIB_H 1
  7893. | #define HAVE_STRING_H 1
  7894. | #define HAVE_MEMORY_H 1
  7895. | #define HAVE_STRINGS_H 1
  7896. | #define HAVE_INTTYPES_H 1
  7897. | #define HAVE_STDINT_H 1
  7898. | #define HAVE_UNISTD_H 1
  7899. | #define HAVE_DLFCN_H 1
  7900. | #define LT_OBJDIR ".libs/"
  7901. | #define POSTGIS_MAJOR_VERSION "3"
  7902. | #define POSTGIS_MINOR_VERSION "0"
  7903. | #define POSTGIS_MICRO_VERSION "1"
  7904. | #define HAVE_IEEEFP_H 0
  7905. | #define HAVE_TERMIOS_H 1
  7906. | #define HAVE_VASPRINTF 1
  7907. | #define HAVE_ASPRINTF 1
  7908. | #define HAVE_FSEEKO 1
  7909. | /* end confdefs.h. */
  7910. | /* Define iconvctl to an innocuous variant, in case <limits.h> declares iconvctl.
  7911. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  7912. | #define iconvctl innocuous_iconvctl
  7913. |
  7914. | /* System header to define __stub macros and hopefully few prototypes,
  7915. | which can conflict with char iconvctl (); below.
  7916. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  7917. | <limits.h> exists even on freestanding compilers. */
  7918. |
  7919. | #ifdef __STDC__
  7920. | # include <limits.h>
  7921. | #else
  7922. | # include <assert.h>
  7923. | #endif
  7924. |
  7925. | #undef iconvctl
  7926. |
  7927. | /* Override any GCC internal prototype to avoid an error.
  7928. | Use char because int might match the return type of a GCC
  7929. | builtin and then its argument prototype would still apply. */
  7930. | #ifdef __cplusplus
  7931. | extern "C"
  7932. | #endif
  7933. | char iconvctl ();
  7934. | /* The GNU C library defines this for functions which it implements
  7935. | to always fail with ENOSYS. Some functions are actually named
  7936. | something starting with __ and the normal name is an alias. */
  7937. | #if defined __stub_iconvctl || defined __stub___iconvctl
  7938. | choke me
  7939. | #endif
  7940. |
  7941. | int
  7942. | main ()
  7943. | {
  7944. | return iconvctl ();
  7945. | ;
  7946. | return 0;
  7947. | }
  7948. configure:10716: result: no
  7949. configure:10716: checking for libiconvctl
  7950. configure:10716: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -o conftest -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-math-errno -fno-signed-zeros -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
  7951. /home/thibault/Documents/Dev/buildroot/buildroot/output/host/lib/gcc/arm-buildroot-linux-gnueabi/7.4.0/../../../../arm-buildroot-linux-gnueabi/bin/ld: /tmp/ccKmU4B1.o: in function `main':
  7952. conftest.c:(.text.startup+0x4): undefined reference to `libiconvctl'
  7953. collect2: error: ld returned 1 exit status
  7954. configure:10716: $? = 1
  7955. configure: failed program was:
  7956. | /* confdefs.h */
  7957. | #define PACKAGE_NAME ""
  7958. | #define PACKAGE_TARNAME ""
  7959. | #define PACKAGE_VERSION ""
  7960. | #define PACKAGE_STRING ""
  7961. | #define PACKAGE_BUGREPORT ""
  7962. | #define PACKAGE_URL ""
  7963. | #define STDC_HEADERS 1
  7964. | #define HAVE_SYS_TYPES_H 1
  7965. | #define HAVE_SYS_STAT_H 1
  7966. | #define HAVE_STDLIB_H 1
  7967. | #define HAVE_STRING_H 1
  7968. | #define HAVE_MEMORY_H 1
  7969. | #define HAVE_STRINGS_H 1
  7970. | #define HAVE_INTTYPES_H 1
  7971. | #define HAVE_STDINT_H 1
  7972. | #define HAVE_UNISTD_H 1
  7973. | #define HAVE_DLFCN_H 1
  7974. | #define LT_OBJDIR ".libs/"
  7975. | #define POSTGIS_MAJOR_VERSION "3"
  7976. | #define POSTGIS_MINOR_VERSION "0"
  7977. | #define POSTGIS_MICRO_VERSION "1"
  7978. | #define HAVE_IEEEFP_H 0
  7979. | #define HAVE_TERMIOS_H 1
  7980. | #define HAVE_VASPRINTF 1
  7981. | #define HAVE_ASPRINTF 1
  7982. | #define HAVE_FSEEKO 1
  7983. | /* end confdefs.h. */
  7984. | /* Define libiconvctl to an innocuous variant, in case <limits.h> declares libiconvctl.
  7985. | For example, HP-UX 11i <limits.h> declares gettimeofday. */
  7986. | #define libiconvctl innocuous_libiconvctl
  7987. |
  7988. | /* System header to define __stub macros and hopefully few prototypes,
  7989. | which can conflict with char libiconvctl (); below.
  7990. | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  7991. | <limits.h> exists even on freestanding compilers. */
  7992. |
  7993. | #ifdef __STDC__
  7994. | # include <limits.h>
  7995. | #else
  7996. | # include <assert.h>
  7997. | #endif
  7998. |
  7999. | #undef libiconvctl
  8000. |
  8001. | /* Override any GCC internal prototype to avoid an error.
  8002. | Use char because int might match the return type of a GCC
  8003. | builtin and then its argument prototype would still apply. */
  8004. | #ifdef __cplusplus
  8005. | extern "C"
  8006. | #endif
  8007. | char libiconvctl ();
  8008. | /* The GNU C library defines this for functions which it implements
  8009. | to always fail with ENOSYS. Some functions are actually named
  8010. | something starting with __ and the normal name is an alias. */
  8011. | #if defined __stub_libiconvctl || defined __stub___libiconvctl
  8012. | choke me
  8013. | #endif
  8014. |
  8015. | int
  8016. | main ()
  8017. | {
  8018. | return libiconvctl ();
  8019. | ;
  8020. | return 0;
  8021. | }
  8022. configure:10716: result: no
  8023. configure:10760: checking for pg_config
  8024. configure:10778: found /usr/bin/pg_config
  8025. configure:10790: result: /usr/bin/pg_config
  8026. configure:10841: result: checking PostgreSQL version... PostgreSQL 12.2 (Ubuntu 12.2-4)
  8027. configure:10892: checking libpq-fe.h usability
  8028. configure:10892: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc -c -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-math-errno -fno-signed-zeros -I/usr/include/postgresql conftest.c >&5
  8029. arm-buildroot-linux-gnueabi-gcc: ERROR: unsafe header/library path used in cross-compilation: '-I/usr/include/postgresql'
  8030. configure:10892: $? = 1
  8031. configure: failed program was:
  8032. | /* confdefs.h */
  8033. | #define PACKAGE_NAME ""
  8034. | #define PACKAGE_TARNAME ""
  8035. | #define PACKAGE_VERSION ""
  8036. | #define PACKAGE_STRING ""
  8037. | #define PACKAGE_BUGREPORT ""
  8038. | #define PACKAGE_URL ""
  8039. | #define STDC_HEADERS 1
  8040. | #define HAVE_SYS_TYPES_H 1
  8041. | #define HAVE_SYS_STAT_H 1
  8042. | #define HAVE_STDLIB_H 1
  8043. | #define HAVE_STRING_H 1
  8044. | #define HAVE_MEMORY_H 1
  8045. | #define HAVE_STRINGS_H 1
  8046. | #define HAVE_INTTYPES_H 1
  8047. | #define HAVE_STDINT_H 1
  8048. | #define HAVE_UNISTD_H 1
  8049. | #define HAVE_DLFCN_H 1
  8050. | #define LT_OBJDIR ".libs/"
  8051. | #define POSTGIS_MAJOR_VERSION "3"
  8052. | #define POSTGIS_MINOR_VERSION "0"
  8053. | #define POSTGIS_MICRO_VERSION "1"
  8054. | #define HAVE_IEEEFP_H 0
  8055. | #define HAVE_TERMIOS_H 1
  8056. | #define HAVE_VASPRINTF 1
  8057. | #define HAVE_ASPRINTF 1
  8058. | #define HAVE_FSEEKO 1
  8059. | #define HAVE_ICONV 1
  8060. | #define PGSQL_LOCALEDIR "/usr/share/locale"
  8061. | /* end confdefs.h. */
  8062. | #include <stdio.h>
  8063. | #ifdef HAVE_SYS_TYPES_H
  8064. | # include <sys/types.h>
  8065. | #endif
  8066. | #ifdef HAVE_SYS_STAT_H
  8067. | # include <sys/stat.h>
  8068. | #endif
  8069. | #ifdef STDC_HEADERS
  8070. | # include <stdlib.h>
  8071. | # include <stddef.h>
  8072. | #else
  8073. | # ifdef HAVE_STDLIB_H
  8074. | # include <stdlib.h>
  8075. | # endif
  8076. | #endif
  8077. | #ifdef HAVE_STRING_H
  8078. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  8079. | # include <memory.h>
  8080. | # endif
  8081. | # include <string.h>
  8082. | #endif
  8083. | #ifdef HAVE_STRINGS_H
  8084. | # include <strings.h>
  8085. | #endif
  8086. | #ifdef HAVE_INTTYPES_H
  8087. | # include <inttypes.h>
  8088. | #endif
  8089. | #ifdef HAVE_STDINT_H
  8090. | # include <stdint.h>
  8091. | #endif
  8092. | #ifdef HAVE_UNISTD_H
  8093. | # include <unistd.h>
  8094. | #endif
  8095. | #include <libpq-fe.h>
  8096. configure:10892: result: no
  8097. configure:10892: checking libpq-fe.h presence
  8098. configure:10892: /home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-cpp -I/usr/include/postgresql conftest.c
  8099. arm-buildroot-linux-gnueabi-cpp: ERROR: unsafe header/library path used in cross-compilation: '-I/usr/include/postgresql'
  8100. configure:10892: $? = 1
  8101. configure: failed program was:
  8102. | /* confdefs.h */
  8103. | #define PACKAGE_NAME ""
  8104. | #define PACKAGE_TARNAME ""
  8105. | #define PACKAGE_VERSION ""
  8106. | #define PACKAGE_STRING ""
  8107. | #define PACKAGE_BUGREPORT ""
  8108. | #define PACKAGE_URL ""
  8109. | #define STDC_HEADERS 1
  8110. | #define HAVE_SYS_TYPES_H 1
  8111. | #define HAVE_SYS_STAT_H 1
  8112. | #define HAVE_STDLIB_H 1
  8113. | #define HAVE_STRING_H 1
  8114. | #define HAVE_MEMORY_H 1
  8115. | #define HAVE_STRINGS_H 1
  8116. | #define HAVE_INTTYPES_H 1
  8117. | #define HAVE_STDINT_H 1
  8118. | #define HAVE_UNISTD_H 1
  8119. | #define HAVE_DLFCN_H 1
  8120. | #define LT_OBJDIR ".libs/"
  8121. | #define POSTGIS_MAJOR_VERSION "3"
  8122. | #define POSTGIS_MINOR_VERSION "0"
  8123. | #define POSTGIS_MICRO_VERSION "1"
  8124. | #define HAVE_IEEEFP_H 0
  8125. | #define HAVE_TERMIOS_H 1
  8126. | #define HAVE_VASPRINTF 1
  8127. | #define HAVE_ASPRINTF 1
  8128. | #define HAVE_FSEEKO 1
  8129. | #define HAVE_ICONV 1
  8130. | #define PGSQL_LOCALEDIR "/usr/share/locale"
  8131. | /* end confdefs.h. */
  8132. | #include <libpq-fe.h>
  8133. configure:10892: result: no
  8134. configure:10892: checking for libpq-fe.h
  8135. configure:10892: result: no
  8136. configure:10896: error: could not find libpq-fe.h
  8137.  
  8138. ## ---------------- ##
  8139. ## Cache variables. ##
  8140. ## ---------------- ##
  8141.  
  8142. _cv_exclude_libs=yes
  8143. _cv_misprot=yes
  8144. _cv_nomatherrno=yes
  8145. _cv_nosignedzeros=yes
  8146. _cv_std=yes
  8147. _cv_wall=yes
  8148. ac_cv_build=x86_64-pc-linux-gnu
  8149. ac_cv_c_bigendian=no
  8150. ac_cv_c_compiler_gnu=yes
  8151. ac_cv_env_CCC_set=
  8152. ac_cv_env_CCC_value=
  8153. ac_cv_env_CC_set=set
  8154. ac_cv_env_CC_value=/home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc
  8155. ac_cv_env_CFLAGS_set=set
  8156. ac_cv_env_CFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os '
  8157. ac_cv_env_CPPFLAGS_set=set
  8158. ac_cv_env_CPPFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64'
  8159. ac_cv_env_CPP_set=set
  8160. ac_cv_env_CPP_value=/home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-cpp
  8161. ac_cv_env_CUNIT_CFLAGS_set=
  8162. ac_cv_env_CUNIT_CFLAGS_value=
  8163. ac_cv_env_CUNIT_LIBS_set=
  8164. ac_cv_env_CUNIT_LIBS_value=
  8165. ac_cv_env_CXXCPP_set=
  8166. ac_cv_env_CXXCPP_value=
  8167. ac_cv_env_CXXFLAGS_set=set
  8168. ac_cv_env_CXXFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os '
  8169. ac_cv_env_CXX_set=set
  8170. ac_cv_env_CXX_value=/home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-g++
  8171. ac_cv_env_JSONC_CFLAGS_set=
  8172. ac_cv_env_JSONC_CFLAGS_value=
  8173. ac_cv_env_JSONC_LIBS_set=
  8174. ac_cv_env_JSONC_LIBS_value=
  8175. ac_cv_env_LDFLAGS_set=set
  8176. ac_cv_env_LDFLAGS_value=
  8177. ac_cv_env_LIBS_set=
  8178. ac_cv_env_LIBS_value=
  8179. ac_cv_env_LIBXML2_CFLAGS_set=
  8180. ac_cv_env_LIBXML2_CFLAGS_value=
  8181. ac_cv_env_LIBXML2_LIBS_set=
  8182. ac_cv_env_LIBXML2_LIBS_value=
  8183. ac_cv_env_LT_SYS_LIBRARY_PATH_set=
  8184. ac_cv_env_LT_SYS_LIBRARY_PATH_value=
  8185. ac_cv_env_PCRE_CFLAGS_set=
  8186. ac_cv_env_PCRE_CFLAGS_value=
  8187. ac_cv_env_PCRE_LIBS_set=
  8188. ac_cv_env_PCRE_LIBS_value=
  8189. ac_cv_env_PG_CONFIG_set=
  8190. ac_cv_env_PG_CONFIG_value=
  8191. ac_cv_env_PKG_CONFIG_LIBDIR_set=
  8192. ac_cv_env_PKG_CONFIG_LIBDIR_value=
  8193. ac_cv_env_PKG_CONFIG_PATH_set=
  8194. ac_cv_env_PKG_CONFIG_PATH_value=
  8195. ac_cv_env_PKG_CONFIG_set=set
  8196. ac_cv_env_PKG_CONFIG_value=/home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/pkg-config
  8197. ac_cv_env_PROJ_CFLAGS_set=
  8198. ac_cv_env_PROJ_CFLAGS_value=
  8199. ac_cv_env_PROJ_LIBS_set=
  8200. ac_cv_env_PROJ_LIBS_value=
  8201. ac_cv_env_PROTOBUFC_CFLAGS_set=
  8202. ac_cv_env_PROTOBUFC_CFLAGS_value=
  8203. ac_cv_env_PROTOBUFC_LIBS_set=
  8204. ac_cv_env_PROTOBUFC_LIBS_value=
  8205. ac_cv_env_YACC_set=
  8206. ac_cv_env_YACC_value=
  8207. ac_cv_env_YFLAGS_set=
  8208. ac_cv_env_YFLAGS_value=
  8209. ac_cv_env_build_alias_set=set
  8210. ac_cv_env_build_alias_value=x86_64-pc-linux-gnu
  8211. ac_cv_env_host_alias_set=set
  8212. ac_cv_env_host_alias_value=arm-buildroot-linux-gnueabi
  8213. ac_cv_env_target_alias_set=set
  8214. ac_cv_env_target_alias_value=arm-buildroot-linux-gnueabi
  8215. ac_cv_func_asprintf=yes
  8216. ac_cv_func_calloc_0_nonnull=yes
  8217. ac_cv_func_iconvctl=no
  8218. ac_cv_func_libiconvctl=no
  8219. ac_cv_func_malloc_0_nonnull=yes
  8220. ac_cv_func_memcmp_working=yes
  8221. ac_cv_func_mmap_fixed_mapped=yes
  8222. ac_cv_func_realloc_0_nonnull=yes
  8223. ac_cv_func_vasprintf=yes
  8224. ac_cv_have_decl_malloc=yes
  8225. ac_cv_header_dlfcn_h=yes
  8226. ac_cv_header_iconv_h=yes
  8227. ac_cv_header_ieeefp_h=no
  8228. ac_cv_header_inttypes_h=yes
  8229. ac_cv_header_libpq_fe_h=no
  8230. ac_cv_header_memory_h=yes
  8231. ac_cv_header_stdc=yes
  8232. ac_cv_header_stdint_h=yes
  8233. ac_cv_header_stdlib_h=yes
  8234. ac_cv_header_string_h=yes
  8235. ac_cv_header_strings_h=yes
  8236. ac_cv_header_sys_stat_h=yes
  8237. ac_cv_header_sys_types_h=yes
  8238. ac_cv_header_termios_h=yes
  8239. ac_cv_header_unistd_h=yes
  8240. ac_cv_host=arm-buildroot-linux-gnueabi
  8241. ac_cv_lbl_unaligned_fail=yes
  8242. ac_cv_lib_c_iconv_open=yes
  8243. ac_cv_lib_iconv_libiconv_open=no
  8244. ac_cv_lib_lex='none needed'
  8245. ac_cv_objext=o
  8246. ac_cv_path_CPPBIN=/usr/bin/cpp
  8247. ac_cv_path_EGREP='/usr/bin/grep -E'
  8248. ac_cv_path_FGREP='/usr/bin/grep -F'
  8249. ac_cv_path_GREP=/usr/bin/grep
  8250. ac_cv_path_PERL=/usr/bin/perl
  8251. ac_cv_path_PG_CONFIG=/usr/bin/pg_config
  8252. ac_cv_path_SED=/usr/bin/sed
  8253. ac_cv_path_install='/usr/bin/install -c'
  8254. ac_cv_path_lt_DD=/usr/bin/dd
  8255. ac_cv_prog_AR=/home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-ar
  8256. ac_cv_prog_AWK=gawk
  8257. ac_cv_prog_CC=/home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc
  8258. ac_cv_prog_CPP=/home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-cpp
  8259. ac_cv_prog_LEX=flex
  8260. ac_cv_prog_OBJDUMP=/home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-objdump
  8261. ac_cv_prog_RANLIB=/home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-ranlib
  8262. ac_cv_prog_STRIP=/home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-strip
  8263. ac_cv_prog_YACC='bison -y'
  8264. ac_cv_prog_ac_ct_MANIFEST_TOOL=mt
  8265. ac_cv_prog_cc_c89=
  8266. ac_cv_prog_cc_g=yes
  8267. ac_cv_prog_lex_root=lex.yy
  8268. ac_cv_prog_lex_yytext_pointer=no
  8269. ac_cv_sys_largefile_source=no
  8270. dummy_cv_ffloat_store=yes
  8271. gl_cv_func_malloc_0_nonnull=yes
  8272. lt_cv_ar_at_file=@
  8273. lt_cv_archive_cmds_need_lc=no
  8274. lt_cv_deplibs_check_method=pass_all
  8275. lt_cv_file_magic_cmd='$MAGIC_CMD'
  8276. lt_cv_file_magic_test_file=
  8277. lt_cv_ld_reload_flag=-r
  8278. lt_cv_nm_interface='BSD nm'
  8279. lt_cv_objdir=.libs
  8280. lt_cv_path_LD=/home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-ld
  8281. lt_cv_path_NM=/home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-nm
  8282. lt_cv_path_mainfest_tool=no
  8283. lt_cv_prog_compiler_c_o=yes
  8284. lt_cv_prog_compiler_pic='-fPIC -DPIC'
  8285. lt_cv_prog_compiler_pic_works=yes
  8286. lt_cv_prog_compiler_rtti_exceptions=no
  8287. lt_cv_prog_compiler_static_works=yes
  8288. lt_cv_prog_gnu_ld=yes
  8289. lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
  8290. lt_cv_shlibpath_overrides_runpath=no
  8291. lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
  8292. 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'\'''
  8293. 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'\'''
  8294. lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
  8295. lt_cv_sys_global_symbol_to_import=
  8296. lt_cv_sys_lib_search_path_spec=
  8297. lt_cv_sys_max_cmd_len=1572864
  8298. lt_cv_to_host_file_cmd=func_convert_file_noop
  8299. lt_cv_to_tool_file_cmd=func_convert_file_noop
  8300. lt_cv_truncate_bin='/usr/bin/dd bs=4096 count=1'
  8301.  
  8302. ## ----------------- ##
  8303. ## Output variables. ##
  8304. ## ----------------- ##
  8305.  
  8306. ADDRESS_STANDARDIZER=''
  8307. AR='/home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-ar'
  8308. AR_FLAGS='cr'
  8309. AWK='gawk'
  8310. CAN_BUILD_COMMENTS='no'
  8311. CAN_BUILD_PDF='no'
  8312. CC='/home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-gcc'
  8313. CFLAGS='-std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-math-errno -fno-signed-zeros'
  8314. CPP='/home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-cpp'
  8315. CPPBIN='/usr/bin/cpp'
  8316. CPPFLAGS='-I/usr/include/postgresql'
  8317. CUNIT_CFLAGS=''
  8318. CUNIT_CPPFLAGS=''
  8319. CUNIT_LDFLAGS=''
  8320. CUNIT_LIBS=''
  8321. CXX='/home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-g++'
  8322. CXXCPP=''
  8323. CXXFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os '
  8324. DBLATEX=''
  8325. DEFS=''
  8326. DEPS_SUBDIR=''
  8327. DLLTOOL='false'
  8328. DSYMUTIL=''
  8329. DUMPBIN=''
  8330. ECHO_C=''
  8331. ECHO_N='-n'
  8332. ECHO_T=''
  8333. EGREP='/usr/bin/grep -E'
  8334. EXCLUDELIBS_LDFLAGS='-Wl,--exclude-libs,ALL'
  8335. EXEEXT=''
  8336. EXESUFFIX=''
  8337. EXTENSIONS=''
  8338. FGREP='/usr/bin/grep -F'
  8339. GDAL_CONFIG=''
  8340. GEOSCONFIG=''
  8341. GEOS_CPPFLAGS=''
  8342. GEOS_LDFLAGS=''
  8343. GEOS_NUMERIC_VERSION=''
  8344. GETTEXT_CFLAGS=''
  8345. GETTEXT_LDFLAGS=''
  8346. GETTEXT_MACRO_VERSION=''
  8347. GMSGFMT=''
  8348. GMSGFMT_015=''
  8349. GPP=''
  8350. GREP='/usr/bin/grep'
  8351. GTK_BUILD=''
  8352. GTK_CFLAGS=''
  8353. GTK_LIBS=''
  8354. GTK_WIN32_FLAGS=''
  8355. GTK_WIN32_RES=''
  8356. HAVE_CXX11=''
  8357. HAVE_GEOBUF=''
  8358. HAVE_JSON=''
  8359. HAVE_PCRE=''
  8360. HAVE_PROTOBUF=''
  8361. HAVE_SFCGAL=''
  8362. HAVE_SPGIST='yes'
  8363. HAVE_WAGYU=''
  8364. ICONV_CFLAGS=''
  8365. ICONV_LDFLAGS=' -lc'
  8366. IGE_MAC_CFLAGS=''
  8367. IGE_MAC_LIBS=''
  8368. IMAGEMAGICK=''
  8369. INSTALL_DATA='${INSTALL} -m 644'
  8370. INSTALL_PROGRAM='${INSTALL}'
  8371. INSTALL_SCRIPT='${INSTALL}'
  8372. INTERRUPTTESTS=''
  8373. INTLLIBS=''
  8374. INTL_MACOSX_LIBS=''
  8375. JSONC_CFLAGS=''
  8376. JSONC_LIBS=''
  8377. JSON_CPPFLAGS=''
  8378. JSON_LDFLAGS=''
  8379. LD='/home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-ld'
  8380. LDFLAGS=''
  8381. LEX='flex'
  8382. LEXLIB=''
  8383. LEX_OUTPUT_ROOT='lex.yy'
  8384. LIBGDAL_CFLAGS=''
  8385. LIBGDAL_DEPLIBS_LDFLAGS=''
  8386. LIBGDAL_LDFLAGS=''
  8387. LIBICONV=''
  8388. LIBINCLUDEMINORVERSION='no'
  8389. LIBINTL=''
  8390. LIBLWGEOM_AGE='0'
  8391. LIBLWGEOM_CURRENT='0'
  8392. LIBLWGEOM_ONLY='no'
  8393. LIBLWGEOM_REV='0'
  8394. LIBOBJS=''
  8395. LIBS=''
  8396. LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  8397. LIBXML2_CFLAGS=''
  8398. LIBXML2_LIBS=''
  8399. LIPO=''
  8400. LN_S='ln -s'
  8401. LTLIBICONV=''
  8402. LTLIBINTL=''
  8403. LTLIBOBJS=''
  8404. LT_SYS_LIBRARY_PATH=''
  8405. MANIFEST_TOOL=':'
  8406. MATHML2_DTD='http://www.w3.org/Math/DTD/mathml2/mathml2.dtd'
  8407. MINGWBUILD='0'
  8408. MKDIR_P=''
  8409. MSGFMT=''
  8410. MSGFMT_015=''
  8411. MSGMERGE=''
  8412. NM='/home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-nm'
  8413. NMEDIT=''
  8414. NUMERICFLAGS=' -ffloat-store'
  8415. OBJDUMP='/home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-objdump'
  8416. OBJEXT='o'
  8417. OTOOL64=''
  8418. OTOOL=''
  8419. PACKAGE_BUGREPORT=''
  8420. PACKAGE_NAME=''
  8421. PACKAGE_STRING=''
  8422. PACKAGE_TARNAME=''
  8423. PACKAGE_URL=''
  8424. PACKAGE_VERSION=''
  8425. PATH_SEPARATOR=':'
  8426. PCRE_CFLAGS=''
  8427. PCRE_CPPFLAGS=''
  8428. PCRE_LDFLAGS=''
  8429. PCRE_LIBS=''
  8430. PERL='/usr/bin/perl'
  8431. PGSQL_BE_CPPFLAGS='-I/usr/include/postgresql/12/server'
  8432. PGSQL_BINDIR='/usr/lib/postgresql/12/bin'
  8433. PGSQL_DOCDIR='/usr/share/doc/postgresql-doc-12'
  8434. PGSQL_FE_CPPFLAGS='-I/usr/include/postgresql'
  8435. PGSQL_FE_LDFLAGS='-L/usr/lib/x86_64-linux-gnu -lpq'
  8436. PGSQL_MANDIR='/usr/share/postgresql/12/man'
  8437. PGSQL_SHAREDIR='/usr/share/postgresql/12'
  8438. PGXS='/usr/lib/postgresql/12/lib/pgxs/src/makefiles/pgxs.mk'
  8439. PG_CONFIG='/usr/bin/pg_config'
  8440. PICFLAGS=' -fPIC -DPIC'
  8441. PKG_CONFIG='/home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/pkg-config'
  8442. PKG_CONFIG_LIBDIR=''
  8443. PKG_CONFIG_PATH=''
  8444. POSTGIS_BUILD_DATE=''
  8445. POSTGIS_GDAL_VERSION=''
  8446. POSTGIS_GEOS_VERSION=''
  8447. POSTGIS_LIBXML2_VERSION=''
  8448. POSTGIS_LIB_VERSION=''
  8449. POSTGIS_MAJOR_VERSION='3'
  8450. POSTGIS_MICRO_VERSION='1'
  8451. POSTGIS_MINOR_VERSION='0'
  8452. POSTGIS_PGSQL_HR_VERSION='12.0'
  8453. POSTGIS_PGSQL_VERSION='120'
  8454. POSTGIS_PROJ_VERSION=''
  8455. POSTGIS_RASTER_BUILD_DATE=''
  8456. POSTGIS_RASTER_LIB_VERSION=''
  8457. POSTGIS_RASTER_MAJOR_VERSION=''
  8458. POSTGIS_RASTER_MICRO_VERSION=''
  8459. POSTGIS_RASTER_MINOR_VERSION=''
  8460. POSTGIS_RASTER_SCRIPTS_VERSION=''
  8461. POSTGIS_RASTER_VERSION=''
  8462. POSTGIS_SCRIPTS_VERSION=''
  8463. POSTGIS_SFCGAL_VERSION=''
  8464. POSTGIS_VERSION=''
  8465. POSUB=''
  8466. PROJ_CFLAGS=''
  8467. PROJ_CPPFLAGS=''
  8468. PROJ_LDFLAGS=''
  8469. PROJ_LIBS=''
  8470. PROTOBUFC_CFLAGS=''
  8471. PROTOBUFC_LIBS=''
  8472. PROTOBUF_CPPFLAGS=''
  8473. PROTOBUF_LDFLAGS=''
  8474. PROTOCC=''
  8475. PROTOC_VERSION=''
  8476. RANLIB='/home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-ranlib'
  8477. RASTER=''
  8478. RT_CORE_LIB=''
  8479. RT_LOADER=''
  8480. RT_PG_LIB=''
  8481. RT_POSTGIS_SQL=''
  8482. SED='/usr/bin/sed'
  8483. SET_MAKE=''
  8484. SFCGAL=''
  8485. SFCGAL_CONFIG=''
  8486. SFCGAL_CPPFLAGS=''
  8487. SFCGAL_LDFLAGS=''
  8488. SFCGAL_OBJS=''
  8489. SFCGAL_VERSION=''
  8490. SHELL='/bin/bash'
  8491. SHLIB_LINK=''
  8492. SQLPP='/usr/bin/cpp -traditional-cpp -w -P'
  8493. SRID_MAX=''
  8494. SRID_USR_MAX=''
  8495. STRIP='/home/thibault/Documents/Dev/buildroot/buildroot/output/host/bin/arm-buildroot-linux-gnueabi-strip'
  8496. TOPOLOGY=''
  8497. USE_NLS=''
  8498. WAGYU_CXX=''
  8499. WAGYU_LDFLAGS=''
  8500. WAGYU_LIB=''
  8501. WARNFLAGS=' -Wall -Wmissing-prototypes'
  8502. XCRUN=''
  8503. XGETTEXT=''
  8504. XGETTEXT_015=''
  8505. XGETTEXT_EXTRA_OPTIONS=''
  8506. XML2CONFIG=''
  8507. XMLLINT=''
  8508. XSLBASE=''
  8509. XSLTPROC=''
  8510. YACC='bison -y'
  8511. YFLAGS=''
  8512. ac_ct_AR=''
  8513. ac_ct_CC=''
  8514. ac_ct_CXX=''
  8515. ac_ct_DUMPBIN=''
  8516. bindir='${exec_prefix}/bin'
  8517. build='x86_64-pc-linux-gnu'
  8518. build_alias='x86_64-pc-linux-gnu'
  8519. build_cpu='x86_64'
  8520. build_os='linux-gnu'
  8521. build_vendor='pc'
  8522. datadir='${datarootdir}'
  8523. datarootdir='${prefix}/share'
  8524. docdir='${datarootdir}/doc/${PACKAGE}'
  8525. dvidir='${docdir}'
  8526. exec_prefix='/usr'
  8527. host='arm-buildroot-linux-gnueabi'
  8528. host_alias='arm-buildroot-linux-gnueabi'
  8529. host_cpu='arm'
  8530. host_os='linux-gnueabi'
  8531. host_vendor='buildroot'
  8532. htmldir='${docdir}'
  8533. includedir='${prefix}/include'
  8534. infodir='${datarootdir}/info'
  8535. libdir='${exec_prefix}/lib'
  8536. libexecdir='${exec_prefix}/libexec'
  8537. localedir='${datarootdir}/locale'
  8538. localstatedir='/var'
  8539. mandir='${datarootdir}/man'
  8540. mkdir_p=''
  8541. oldincludedir='/usr/include'
  8542. pdfdir='${docdir}'
  8543. prefix='/usr/bin'
  8544. program_transform_name='s,x,x,'
  8545. psdir='${docdir}'
  8546. runstatedir='${localstatedir}/run'
  8547. sbindir='${exec_prefix}/sbin'
  8548. sharedstatedir='${prefix}/com'
  8549. sysconfdir='/etc'
  8550. target_alias='arm-buildroot-linux-gnueabi'
  8551.  
  8552. ## ----------- ##
  8553. ## confdefs.h. ##
  8554. ## ----------- ##
  8555.  
  8556. /* confdefs.h */
  8557. #define PACKAGE_NAME ""
  8558. #define PACKAGE_TARNAME ""
  8559. #define PACKAGE_VERSION ""
  8560. #define PACKAGE_STRING ""
  8561. #define PACKAGE_BUGREPORT ""
  8562. #define PACKAGE_URL ""
  8563. #define STDC_HEADERS 1
  8564. #define HAVE_SYS_TYPES_H 1
  8565. #define HAVE_SYS_STAT_H 1
  8566. #define HAVE_STDLIB_H 1
  8567. #define HAVE_STRING_H 1
  8568. #define HAVE_MEMORY_H 1
  8569. #define HAVE_STRINGS_H 1
  8570. #define HAVE_INTTYPES_H 1
  8571. #define HAVE_STDINT_H 1
  8572. #define HAVE_UNISTD_H 1
  8573. #define HAVE_DLFCN_H 1
  8574. #define LT_OBJDIR ".libs/"
  8575. #define POSTGIS_MAJOR_VERSION "3"
  8576. #define POSTGIS_MINOR_VERSION "0"
  8577. #define POSTGIS_MICRO_VERSION "1"
  8578. #define HAVE_IEEEFP_H 0
  8579. #define HAVE_TERMIOS_H 1
  8580. #define HAVE_VASPRINTF 1
  8581. #define HAVE_ASPRINTF 1
  8582. #define HAVE_FSEEKO 1
  8583. #define HAVE_ICONV 1
  8584. #define PGSQL_LOCALEDIR "/usr/share/locale"
  8585.  
  8586. configure: exit 1
Add Comment
Please, Sign In to add comment