Advertisement
Guest User

yaracpp-retdec-b92bde0e59e3b75bc445227e04b71105771dee8b

a guest
Jan 3rd, 2019
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 145.76 KB | None | 0 0
  1.  grokmachine@Dendis-MacBook-Pro   ~/dev/antivirus/yaracpp-retdec/build     master~15cat deps/yara/src/yara/config.log                                                                                         ✔  462720:58:06 
  2. This file contains any messages produced by compilers while
  3. running configure, to aid debugging if configure makes a mistake.
  4.  
  5. It was created by yara configure 3.6.3, which was
  6. generated by GNU Autoconf 2.69.  Invocation command line was
  7.  
  8.   $ ./configure --prefix= --disable-shared --without-crypto CC=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
  9.  
  10. ## --------- ##
  11. ## Platform. ##
  12. ## --------- ##
  13.  
  14. hostname = Dendis-MacBook-Pro.local
  15. uname -m = x86_64
  16. uname -r = 18.2.0
  17. uname -s = Darwin
  18. uname -v = Darwin Kernel Version 18.2.0: Fri Dec 14 18:43:36 PST 2018; root:xnu-4903.240.10~4/RELEASE_X86_64
  19.  
  20. /usr/bin/uname -p = i386
  21. /bin/uname -X     = unknown
  22.  
  23. /bin/arch              = unknown
  24. /usr/bin/arch -k       = unknown
  25. /usr/convex/getsysinfo = unknown
  26. /usr/bin/hostinfo      = Mach kernel version:
  27.      Darwin Kernel Version 18.2.0: Fri Dec 14 18:43:36 PST 2018; root:xnu-4903.240.10~4/RELEASE_X86_64
  28. Kernel configured for up to 8 processors.
  29. 4 processors are physically available.
  30. 8 processors are logically available.
  31. Processor type: x86_64h (Intel x86-64h Haswell)
  32. Processors active: 0 1 2 3 4 5 6 7
  33. Primary memory available: 16.00 gigabytes
  34. Default processor set: 457 tasks, 2506 threads, 8 processors
  35. Load average: 3.78, Mach factor: 4.21
  36. /bin/machine           = unknown
  37. /usr/bin/oslevel       = unknown
  38. /bin/universe          = unknown
  39.  
  40. PATH: /usr/local/opt/llvm/bin
  41. PATH: /usr/local/opt/bison/bin
  42. PATH: /usr/local/opt/flex/bin
  43. PATH: /usr/local/opt/berkeley-db@4/bin
  44. PATH: /usr/local/opt/openssl/bin
  45. PATH: /usr/local/opt/sphinx-doc/bin
  46. PATH: /usr/local/opt/llvm/bin
  47. PATH: /usr/local/opt/libxml2/bin
  48. PATH: /usr/local/opt/sqlite/bin
  49. PATH: /usr/local/opt/ruby/bin
  50. PATH: /Users/grokmachine/research/fair/st/build_festival/festival/bin
  51. PATH: /usr/local/opt/file-formula/bin
  52. PATH: /usr/local/opt/sphinx-doc/bin
  53. PATH: /usr/local/opt/tcl-tk/bin
  54. PATH: /usr/local/opt/tcl-tk/bin
  55. PATH: /usr/local/opt/texinfo/bin
  56. PATH: /usr/local/opt/llvm/bin
  57. PATH: /usr/local/opt/opencv@2/bin
  58. PATH: /usr/local/opt/sqlite/bin
  59. PATH: /usr/local/opt/apr/bin
  60. PATH: /usr/local/opt/openssl/bin
  61. PATH: /Users/grokmachine/.rbenv/shims
  62. PATH: /Users/grokmachine/bin
  63. PATH: /usr/local/bin
  64. PATH: /bin
  65. PATH: /usr/local/sbin
  66. PATH: /usr/local/opt/icu4c/sbin
  67. PATH: /usr/local/opt/icu4c/bin
  68. PATH: /usr/local/opt/bison/bin
  69. PATH: /usr/local/opt/flex/bin
  70. PATH: /usr/local/opt/berkeley-db@4/bin
  71. PATH: /usr/local/opt/openssl/bin
  72. PATH: /usr/local/opt/sphinx-doc/bin
  73. PATH: /usr/local/opt/llvm/bin
  74. PATH: /usr/local/opt/libxml2/bin
  75. PATH: /usr/local/opt/sqlite/bin
  76. PATH: /usr/local/opt/ruby/bin
  77. PATH: /Users/grokmachine/research/fair/st/build_festival/festival/bin
  78. PATH: /usr/local/opt/file-formula/bin
  79. PATH: /usr/local/opt/sphinx-doc/bin
  80. PATH: /usr/local/opt/tcl-tk/bin
  81. PATH: /usr/local/opt/tcl-tk/bin
  82. PATH: /usr/local/opt/texinfo/bin
  83. PATH: /usr/local/opt/llvm/bin
  84. PATH: /usr/local/opt/opencv@2/bin
  85. PATH: /usr/local/opt/sqlite/bin
  86. PATH: /usr/local/opt/apr/bin
  87. PATH: /usr/local/opt/openssl/bin
  88. PATH: /Users/grokmachine/.rbenv/shims
  89. PATH: /Users/grokmachine/bin
  90. PATH: /usr/local/bin
  91. PATH: /bin
  92. PATH: /usr/local/sbin
  93. PATH: /usr/local/opt/icu4c/sbin
  94. PATH: /usr/local/opt/icu4c/bin
  95. PATH: /usr/bin
  96. PATH: /bin
  97. PATH: /usr/sbin
  98. PATH: /sbin
  99. PATH: /usr/local/opt/go/libexec/bin
  100. PATH: /usr/local/opt/go/libexec/bin
  101.  
  102.  
  103. ## ----------- ##
  104. ## Core tests. ##
  105. ## ----------- ##
  106.  
  107. configure:2313: checking for a BSD-compatible install
  108. configure:2381: result: /usr/local/bin/ginstall -c
  109. configure:2392: checking whether build environment is sane
  110. configure:2447: result: yes
  111. configure:2598: checking for a thread-safe mkdir -p
  112. configure:2637: result: /usr/local/bin/gmkdir -p
  113. configure:2644: checking for gawk
  114. configure:2660: found /usr/local/bin/gawk
  115. configure:2671: result: gawk
  116. configure:2682: checking whether make sets $(MAKE)
  117. configure:2704: result: yes
  118. configure:2733: checking whether make supports nested variables
  119. configure:2750: result: yes
  120. configure:2889: checking whether make supports the include directive
  121. configure:2904: make -f confmf.GNU && cat confinc.out
  122. this is the am__doit target
  123. configure:2907: $? = 0
  124. configure:2926: result: yes (GNU style)
  125. configure:2996: checking for gcc
  126. configure:3023: result: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
  127. configure:3252: checking for C compiler version
  128. configure:3261: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc --version >&5
  129. Apple LLVM version 10.0.0 (clang-1000.11.45.5)
  130. Target: x86_64-apple-darwin18.2.0
  131. Thread model: posix
  132. InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
  133. configure:3272: $? = 0
  134. configure:3261: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -v >&5
  135. Apple LLVM version 10.0.0 (clang-1000.11.45.5)
  136. Target: x86_64-apple-darwin18.2.0
  137. Thread model: posix
  138. InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
  139. configure:3272: $? = 0
  140. configure:3261: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -V >&5
  141. clang: error: argument to '-V' is missing (expected 1 value)
  142. clang: error: no input files
  143. configure:3272: $? = 1
  144. configure:3261: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -qversion >&5
  145. clang: error: unknown argument: '-qversion'
  146. clang: error: no input files
  147. configure:3272: $? = 1
  148. configure:3292: checking whether the C compiler works
  149. configure:3314: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc  -I/usr/local/opt/llvm/include -L/usr/local/opt/llvm/lib conftest.c  >&5
  150. configure:3318: $? = 0
  151. configure:3366: result: yes
  152. configure:3369: checking for C compiler default output file name
  153. configure:3371: result: a.out
  154. configure:3377: checking for suffix of executables
  155. configure:3384: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -o conftest  -I/usr/local/opt/llvm/include -L/usr/local/opt/llvm/lib conftest.c  >&5
  156. configure:3388: $? = 0
  157. configure:3410: result:
  158. configure:3432: checking whether we are cross compiling
  159. configure:3440: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -o conftest  -I/usr/local/opt/llvm/include -L/usr/local/opt/llvm/lib conftest.c  >&5
  160. configure:3444: $? = 0
  161. configure:3451: ./conftest
  162. configure:3455: $? = 0
  163. configure:3470: result: no
  164. configure:3475: checking for suffix of object files
  165. configure:3497: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -c  -I/usr/local/opt/llvm/include conftest.c >&5
  166. configure:3501: $? = 0
  167. configure:3522: result: o
  168. configure:3526: checking whether we are using the GNU C compiler
  169. configure:3545: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -c  -I/usr/local/opt/llvm/include conftest.c >&5
  170. configure:3545: $? = 0
  171. configure:3554: result: yes
  172. configure:3563: checking whether /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc accepts -g
  173. configure:3583: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -c -g -I/usr/local/opt/llvm/include conftest.c >&5
  174. configure:3583: $? = 0
  175. configure:3624: result: yes
  176. configure:3641: checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc option to accept ISO C89
  177. configure:3704: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc  -c  -I/usr/local/opt/llvm/include conftest.c >&5
  178. configure:3704: $? = 0
  179. configure:3717: result: none needed
  180. configure:3742: checking whether /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc understands -c and -o together
  181. configure:3764: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -c conftest.c -o conftest2.o
  182. configure:3767: $? = 0
  183. configure:3764: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -c conftest.c -o conftest2.o
  184. configure:3767: $? = 0
  185. configure:3779: result: yes
  186. configure:3798: checking dependency style of /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
  187. configure:3909: result: gcc3
  188. configure:3974: checking for ar
  189. configure:3990: found /usr/local/bin/ar
  190. configure:4001: result: ar
  191. configure:4027: checking the archiver (ar) interface
  192. configure:4043: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -c  -I/usr/local/opt/llvm/include conftest.c >&5
  193. configure:4043: $? = 0
  194. configure:4045: ar cru libconftest.a conftest.o >&5
  195. ar: `u' modifier ignored since `D' is the default (see `U')
  196. configure:4048: $? = 0
  197. configure:4076: result: ar
  198. configure:4145: checking for gcc
  199. configure:4172: result: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
  200. configure:4401: checking for C compiler version
  201. configure:4410: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc --version >&5
  202. Apple LLVM version 10.0.0 (clang-1000.11.45.5)
  203. Target: x86_64-apple-darwin18.2.0
  204. Thread model: posix
  205. InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
  206. configure:4421: $? = 0
  207. configure:4410: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -v >&5
  208. Apple LLVM version 10.0.0 (clang-1000.11.45.5)
  209. Target: x86_64-apple-darwin18.2.0
  210. Thread model: posix
  211. InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
  212. configure:4421: $? = 0
  213. configure:4410: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -V >&5
  214. clang: error: argument to '-V' is missing (expected 1 value)
  215. clang: error: no input files
  216. configure:4421: $? = 1
  217. configure:4410: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -qversion >&5
  218. clang: error: unknown argument: '-qversion'
  219. clang: error: no input files
  220. configure:4421: $? = 1
  221. configure:4425: checking whether we are using the GNU C compiler
  222. configure:4453: result: yes
  223. configure:4462: checking whether /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc accepts -g
  224. configure:4523: result: yes
  225. configure:4540: checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc option to accept ISO C89
  226. configure:4616: result: none needed
  227. configure:4641: checking whether /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc understands -c and -o together
  228. configure:4678: result: yes
  229. configure:4697: checking dependency style of /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
  230. configure:4808: result: gcc3
  231. configure:4828: checking for flex
  232. configure:4844: found /usr/local/opt/flex/bin/flex
  233. configure:4855: result: flex
  234. configure:4893: flex conftest.l
  235. configure:4897: $? = 0
  236. configure:4899: checking lex output file root
  237. configure:4913: result: lex.yy
  238. configure:4918: checking lex library
  239. configure:4932: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -o conftest  -I/usr/local/opt/llvm/include -L/usr/local/opt/llvm/lib conftest.c   >&5
  240. Undefined symbols for architecture x86_64:
  241.  "_yywrap", referenced from:
  242.      _yylex in conftest-949786.o
  243.      _input in conftest-949786.o
  244.      _main in conftest-949786.o
  245. ld: symbol(s) not found for architecture x86_64
  246. clang: error: linker command failed with exit code 1 (use -v to see invocation)
  247. configure:4932: $? = 1
  248. configure: failed program was:
  249. | /* confdefs.h */
  250. | #define PACKAGE_NAME "yara"
  251. | #define PACKAGE_TARNAME "yara"
  252. | #define PACKAGE_VERSION "3.6.3"
  253. | #define PACKAGE_STRING "yara 3.6.3"
  254. | #define PACKAGE_BUGREPORT "vmalvarez@virustotal.com"
  255. | #define PACKAGE_URL ""
  256. | #define PACKAGE "yara"
  257. | #define VERSION "3.6.3"
  258. | /* end confdefs.h.  */
  259. |
  260. | #line 2 "lex.yy.c"
  261. |
  262. | #define  YY_INT_ALIGNED short int
  263. |
  264. | /* A lexical scanner generated by flex */
  265. |
  266. | #define FLEX_SCANNER
  267. | #define YY_FLEX_MAJOR_VERSION 2
  268. | #define YY_FLEX_MINOR_VERSION 6
  269. | #define YY_FLEX_SUBMINOR_VERSION 4
  270. | #if YY_FLEX_SUBMINOR_VERSION > 0
  271. | #define FLEX_BETA
  272. | #endif
  273. |
  274. | /* First, we deal with  platform-specific or compiler-specific issues. */
  275. |
  276. | /* begin standard C headers. */
  277. | #include <stdio.h>
  278. | #include <string.h>
  279. | #include <errno.h>
  280. | #include <stdlib.h>
  281. |
  282. | /* end standard C headers. */
  283. |
  284. | /* flex integer type definitions */
  285. |
  286. | #ifndef FLEXINT_H
  287. | #define FLEXINT_H
  288. |
  289. | /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
  290. |
  291. | #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
  292. |
  293. | /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
  294. |  * if you want the limit (max/min) macros for int types.
  295. |  */
  296. | #ifndef __STDC_LIMIT_MACROS
  297. | #define __STDC_LIMIT_MACROS 1
  298. | #endif
  299. |
  300. | #include <inttypes.h>
  301. | typedef int8_t flex_int8_t;
  302. | typedef uint8_t flex_uint8_t;
  303. | typedef int16_t flex_int16_t;
  304. | typedef uint16_t flex_uint16_t;
  305. | typedef int32_t flex_int32_t;
  306. | typedef uint32_t flex_uint32_t;
  307. | #else
  308. | typedef signed char flex_int8_t;
  309. | typedef short int flex_int16_t;
  310. | typedef int flex_int32_t;
  311. | typedef unsigned char flex_uint8_t;
  312. | typedef unsigned short int flex_uint16_t;
  313. | typedef unsigned int flex_uint32_t;
  314. |
  315. | /* Limits of integral types. */
  316. | #ifndef INT8_MIN
  317. | #define INT8_MIN               (-128)
  318. | #endif
  319. | #ifndef INT16_MIN
  320. | #define INT16_MIN              (-32767-1)
  321. | #endif
  322. | #ifndef INT32_MIN
  323. | #define INT32_MIN              (-2147483647-1)
  324. | #endif
  325. | #ifndef INT8_MAX
  326. | #define INT8_MAX               (127)
  327. | #endif
  328. | #ifndef INT16_MAX
  329. | #define INT16_MAX              (32767)
  330. | #endif
  331. | #ifndef INT32_MAX
  332. | #define INT32_MAX              (2147483647)
  333. | #endif
  334. | #ifndef UINT8_MAX
  335. | #define UINT8_MAX              (255U)
  336. | #endif
  337. | #ifndef UINT16_MAX
  338. | #define UINT16_MAX             (65535U)
  339. | #endif
  340. | #ifndef UINT32_MAX
  341. | #define UINT32_MAX             (4294967295U)
  342. | #endif
  343. |
  344. | #ifndef SIZE_MAX
  345. | #define SIZE_MAX               (~(size_t)0)
  346. | #endif
  347. |
  348. | #endif /* ! C99 */
  349. |
  350. | #endif /* ! FLEXINT_H */
  351. |
  352. | /* begin standard C++ headers. */
  353. |
  354. | /* TODO: this is always defined, so inline it */
  355. | #define yyconst const
  356. |
  357. | #if defined(__GNUC__) && __GNUC__ >= 3
  358. | #define yynoreturn __attribute__((__noreturn__))
  359. | #else
  360. | #define yynoreturn
  361. | #endif
  362. |
  363. | /* Returned upon end-of-file. */
  364. | #define YY_NULL 0
  365. |
  366. | /* Promotes a possibly negative, possibly signed char to an
  367. |  *   integer in range [0..255] for use as an array index.
  368. |  */
  369. | #define YY_SC_TO_UI(c) ((YY_CHAR) (c))
  370. |
  371. | /* Enter a start condition.  This macro really ought to take a parameter,
  372. |  * but we do it the disgusting crufty way forced on us by the ()-less
  373. |  * definition of BEGIN.
  374. |  */
  375. | #define BEGIN (yy_start) = 1 + 2 *
  376. | /* Translate the current start state into a value that can be later handed
  377. |  * to BEGIN to return to the state.  The YYSTATE alias is for lex
  378. |  * compatibility.
  379. |  */
  380. | #define YY_START (((yy_start) - 1) / 2)
  381. | #define YYSTATE YY_START
  382. | /* Action number for EOF rule of a given start state. */
  383. | #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
  384. | /* Special action meaning "start processing a new file". */
  385. | #define YY_NEW_FILE yyrestart( yyin  )
  386. | #define YY_END_OF_BUFFER_CHAR 0
  387. |
  388. | /* Size of default input buffer. */
  389. | #ifndef YY_BUF_SIZE
  390. | #ifdef __ia64__
  391. | /* On IA-64, the buffer size is 16k, not 8k.
  392. |  * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
  393. |  * Ditto for the __ia64__ case accordingly.
  394. |  */
  395. | #define YY_BUF_SIZE 32768
  396. | #else
  397. | #define YY_BUF_SIZE 16384
  398. | #endif /* __ia64__ */
  399. | #endif
  400. |
  401. | /* The state buf must be large enough to hold one state per character in the main buffer.
  402. |  */
  403. | #define YY_STATE_BUF_SIZE   ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
  404. |
  405. | #ifndef YY_TYPEDEF_YY_BUFFER_STATE
  406. | #define YY_TYPEDEF_YY_BUFFER_STATE
  407. | typedef struct yy_buffer_state *YY_BUFFER_STATE;
  408. | #endif
  409. |
  410. | #ifndef YY_TYPEDEF_YY_SIZE_T
  411. | #define YY_TYPEDEF_YY_SIZE_T
  412. | typedef size_t yy_size_t;
  413. | #endif
  414. |
  415. | extern int yyleng;
  416. |
  417. | extern FILE *yyin, *yyout;
  418. |
  419. | #define EOB_ACT_CONTINUE_SCAN 0
  420. | #define EOB_ACT_END_OF_FILE 1
  421. | #define EOB_ACT_LAST_MATCH 2
  422. |
  423. |     #define YY_LESS_LINENO(n)
  424. |     #define YY_LINENO_REWIND_TO(ptr)
  425. |
  426. | /* Return all but the first "n" matched characters back to the input stream. */
  427. | #define yyless(n) \
  428. |   do \
  429. |       { \
  430. |       /* Undo effects of setting up yytext. */ \
  431. |         int yyless_macro_arg = (n); \
  432. |         YY_LESS_LINENO(yyless_macro_arg);\
  433. |       *yy_cp = (yy_hold_char); \
  434. |       YY_RESTORE_YY_MORE_OFFSET \
  435. |       (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
  436. |       YY_DO_BEFORE_ACTION; /* set up yytext again */ \
  437. |       } \
  438. |   while ( 0 )
  439. | #define unput(c) yyunput( c, (yytext_ptr)  )
  440. |
  441. | #ifndef YY_STRUCT_YY_BUFFER_STATE
  442. | #define YY_STRUCT_YY_BUFFER_STATE
  443. | struct yy_buffer_state
  444. |   {
  445. |   FILE *yy_input_file;
  446. |
  447. |   char *yy_ch_buf;        /* input buffer */
  448. |   char *yy_buf_pos;       /* current position in input buffer */
  449. |
  450. |   /* Size of input buffer in bytes, not including room for EOB
  451. |    * characters.
  452. |    */
  453. |   int yy_buf_size;
  454. |
  455. |   /* Number of characters read into yy_ch_buf, not including EOB
  456. |    * characters.
  457. |    */
  458. |   int yy_n_chars;
  459. |
  460. |   /* Whether we "own" the buffer - i.e., we know we created it,
  461. |    * and can realloc() it to grow it, and should free() it to
  462. |    * delete it.
  463. |    */
  464. |   int yy_is_our_buffer;
  465. |
  466. |   /* Whether this is an "interactive" input source; if so, and
  467. |    * if we're using stdio for input, then we want to use getc()
  468. |    * instead of fread(), to make sure we stop fetching input after
  469. |    * each newline.
  470. |    */
  471. |   int yy_is_interactive;
  472. |
  473. |   /* Whether we're considered to be at the beginning of a line.
  474. |    * If so, '^' rules will be active on the next match, otherwise
  475. |    * not.
  476. |    */
  477. |   int yy_at_bol;
  478. |
  479. |     int yy_bs_lineno; /**< The line count. */
  480. |     int yy_bs_column; /**< The column count. */
  481. |
  482. |   /* Whether to try to fill the input buffer when we reach the
  483. |    * end of it.
  484. |    */
  485. |   int yy_fill_buffer;
  486. |
  487. |   int yy_buffer_status;
  488. |
  489. | #define YY_BUFFER_NEW 0
  490. | #define YY_BUFFER_NORMAL 1
  491. |   /* When an EOF's been seen but there's still some text to process
  492. |    * then we mark the buffer as YY_EOF_PENDING, to indicate that we
  493. |    * shouldn't try reading from the input source any more.  We might
  494. |    * still have a bunch of tokens to match, though, because of
  495. |    * possible backing-up.
  496. |    *
  497. |    * When we actually see the EOF, we change the status to "new"
  498. |    * (via yyrestart()), so that the user can continue scanning by
  499. |    * just pointing yyin at a new input file.
  500. |    */
  501. | #define YY_BUFFER_EOF_PENDING 2
  502. |
  503. |   };
  504. | #endif /* !YY_STRUCT_YY_BUFFER_STATE */
  505. |
  506. | /* Stack of input buffers. */
  507. | static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
  508. | static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
  509. | static YY_BUFFER_STATE * yy_buffer_stack = NULL; /**< Stack as an array. */
  510. |
  511. | /* We provide macros for accessing buffer states in case in the
  512. |  * future we want to put the buffer states in a more general
  513. |  * "scanner state".
  514. |  *
  515. |  * Returns the top of the stack, or NULL.
  516. |  */
  517. | #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
  518. |                           ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
  519. |                           : NULL)
  520. | /* Same as previous macro, but useful when we know that the buffer stack is not
  521. |  * NULL or when we need an lvalue. For internal use only.
  522. |  */
  523. | #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
  524. |
  525. | /* yy_hold_char holds the character lost when yytext is formed. */
  526. | static char yy_hold_char;
  527. | static int yy_n_chars;        /* number of characters read into yy_ch_buf */
  528. | int yyleng;
  529. |
  530. | /* Points to current character in buffer. */
  531. | static char *yy_c_buf_p = NULL;
  532. | static int yy_init = 0;       /* whether we need to initialize */
  533. | static int yy_start = 0/* start state number */
  534. |
  535. | /* Flag which is used to allow yywrap()'s to do buffer switches
  536. |  * instead of setting up a fresh yyin.  A bit of a hack ...
  537. |  */
  538. | static int yy_did_buffer_switch_on_eof;
  539. |
  540. | void yyrestart ( FILE *input_file  );
  541. | void yy_switch_to_buffer ( YY_BUFFER_STATE new_buffer  );
  542. | YY_BUFFER_STATE yy_create_buffer ( FILE *file, int size  );
  543. | void yy_delete_buffer ( YY_BUFFER_STATE b  );
  544. | void yy_flush_buffer ( YY_BUFFER_STATE b  );
  545. | void yypush_buffer_state ( YY_BUFFER_STATE new_buffer  );
  546. | void yypop_buffer_state ( void );
  547. |
  548. | static void yyensure_buffer_stack ( void );
  549. | static void yy_load_buffer_state ( void );
  550. | static void yy_init_buffer ( YY_BUFFER_STATE b, FILE *file  );
  551. | #define YY_FLUSH_BUFFER yy_flush_buffer( YY_CURRENT_BUFFER )
  552. |
  553. | YY_BUFFER_STATE yy_scan_buffer ( char *base, yy_size_t size  );
  554. | YY_BUFFER_STATE yy_scan_string ( const char *yy_str  );
  555. | YY_BUFFER_STATE yy_scan_bytes ( const char *bytes, int len  );
  556. |
  557. | void *yyalloc ( yy_size_t  );
  558. | void *yyrealloc ( void *, yy_size_t  );
  559. | void yyfree ( void *  );
  560. |
  561. | #define yy_new_buffer yy_create_buffer
  562. | #define yy_set_interactive(is_interactive) \
  563. |   { \
  564. |   if ( ! YY_CURRENT_BUFFER ){ \
  565. |         yyensure_buffer_stack (); \
  566. |       YY_CURRENT_BUFFER_LVALUE =    \
  567. |             yy_create_buffer( yyin, YY_BUF_SIZE ); \
  568. |   } \
  569. |   YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
  570. |   }
  571. | #define yy_set_bol(at_bol) \
  572. |   { \
  573. |   if ( ! YY_CURRENT_BUFFER ){\
  574. |         yyensure_buffer_stack (); \
  575. |       YY_CURRENT_BUFFER_LVALUE =    \
  576. |             yy_create_buffer( yyin, YY_BUF_SIZE ); \
  577. |   } \
  578. |   YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
  579. |   }
  580. | #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
  581. |
  582. | /* Begin user sect3 */
  583. | typedef flex_uint8_t YY_CHAR;
  584. |
  585. | FILE *yyin = NULL, *yyout = NULL;
  586. |
  587. | typedef int yy_state_type;
  588. |
  589. | extern int yylineno;
  590. | int yylineno = 1;
  591. |
  592. | extern char *yytext;
  593. | #ifdef yytext_ptr
  594. | #undef yytext_ptr
  595. | #endif
  596. | #define yytext_ptr yytext
  597. |
  598. | static yy_state_type yy_get_previous_state ( void );
  599. | static yy_state_type yy_try_NUL_trans ( yy_state_type current_state  );
  600. | static int yy_get_next_buffer ( void );
  601. | static void yynoreturn yy_fatal_error ( const char* msg  );
  602. |
  603. | /* Done after the current pattern has been matched and before the
  604. |  * corresponding action - sets up yytext.
  605. |  */
  606. | #define YY_DO_BEFORE_ACTION \
  607. |   (yytext_ptr) = yy_bp; \
  608. |   (yytext_ptr) -= (yy_more_len); \
  609. |   yyleng = (int) (yy_cp - (yytext_ptr)); \
  610. |   (yy_hold_char) = *yy_cp; \
  611. |   *yy_cp = '\0'; \
  612. |   (yy_c_buf_p) = yy_cp;
  613. | #define YY_NUM_RULES 8
  614. | #define YY_END_OF_BUFFER 9
  615. | /* This struct is not used in this scanner,
  616. |    but its presence is necessary. */
  617. | struct yy_trans_info
  618. |   {
  619. |   flex_int32_t yy_verify;
  620. |   flex_int32_t yy_nxt;
  621. |   };
  622. | static const flex_int16_t yy_acclist[23] =
  623. |     {   0,
  624. |         9,    7,    8,    8,    1,    7,    8,    2,    7,    8,
  625. |         3,    7,    8,    4,    7,    8,    5,    7,    8,    6,
  626. |         7,    8
  627. |     } ;
  628. |
  629. | static const flex_int16_t yy_accept[14] =
  630. |     {   0,
  631. |         1,    1,    1,    2,    4,    5,    8,   11,   14,   17,
  632. |        20,   23,   23
  633. |     } ;
  634. |
  635. | static const YY_CHAR yy_ec[256] =
  636. |     {   0,
  637. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    2,
  638. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  639. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  640. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  641. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  642. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  643. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  644. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  645. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  646. |         1,    1,    1,    1,    1,    1,    3,    4,    5,    6,
  647. |
  648. |         7,    8,    1,    1,    1,    1,    1,    1,    1,    1,
  649. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  650. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  651. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  652. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  653. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  654. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  655. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  656. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  657. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  658. |
  659. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  660. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  661. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  662. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  663. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  664. |         1,    1,    1,    1,    1
  665. |     } ;
  666. |
  667. | static const YY_CHAR yy_meta[9] =
  668. |     {   0,
  669. |         1,    1,    1,    1,    1,    1,    1,    1
  670. |     } ;
  671. |
  672. | static const flex_int16_t yy_base[13] =
  673. |     {   0,
  674. |         0,    0,    9,   10,   10,   10,   10,   10,   10,   10,
  675. |        10,   10
  676. |     } ;
  677. |
  678. | static const flex_int16_t yy_def[13] =
  679. |     {   0,
  680. |        12,    1,   12,   12,   12,   12,   12,   12,   12,   12,
  681. |        12,    0
  682. |     } ;
  683. |
  684. | static const flex_int16_t yy_nxt[19] =
  685. |     {   0,
  686. |         4,    5,    6,    7,    8,    9,   10,   11,   12,    3,
  687. |        12,   12,   12,   12,   12,   12,   12,   12
  688. |     } ;
  689. |
  690. | static const flex_int16_t yy_chk[19] =
  691. |     {   0,
  692. |         1,    1,    1,    1,    1,    1,    1,    1,    3,   12,
  693. |        12,   12,   12,   12,   12,   12,   12,   12
  694. |     } ;
  695. |
  696. | extern int yy_flex_debug;
  697. | int yy_flex_debug = 0;
  698. |
  699. | static yy_state_type *yy_state_buf=0, *yy_state_ptr=0;
  700. | static char *yy_full_match;
  701. | static int yy_lp;
  702. | #define REJECT \
  703. | { \
  704. | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \
  705. | yy_cp = (yy_full_match); /* restore poss. backed-over text */ \
  706. | ++(yy_lp); \
  707. | goto find_rule; \
  708. | }
  709. |
  710. | static int yy_more_flag = 0;
  711. | static int yy_more_len = 0;
  712. | #define yymore() ((yy_more_flag) = 1)
  713. | #define YY_MORE_ADJ (yy_more_len)
  714. | #define YY_RESTORE_YY_MORE_OFFSET
  715. | char *yytext;
  716. | #line 1 "conftest.l"
  717. | #line 459 "lex.yy.c"
  718. |
  719. | #define INITIAL 0
  720. |
  721. | #ifndef YY_NO_UNISTD_H
  722. | /* Special case for "unistd.h", since it is non-ANSI. We include it way
  723. |  * down here because we want the user's section 1 to have been scanned first.
  724. |  * The user has a chance to override it with an option.
  725. |  */
  726. | #include <unistd.h>
  727. | #endif
  728. |
  729. | #ifndef YY_EXTRA_TYPE
  730. | #define YY_EXTRA_TYPE void *
  731. | #endif
  732. |
  733. | static int yy_init_globals ( void );
  734. |
  735. | /* Accessor methods to globals.
  736. |    These are made visible to non-reentrant scanners for convenience. */
  737. |
  738. | int yylex_destroy ( void );
  739. |
  740. | int yyget_debug ( void );
  741. |
  742. | void yyset_debug ( int debug_flag  );
  743. |
  744. | YY_EXTRA_TYPE yyget_extra ( void );
  745. |
  746. | void yyset_extra ( YY_EXTRA_TYPE user_defined  );
  747. |
  748. | FILE *yyget_in ( void );
  749. |
  750. | void yyset_in  ( FILE * _in_str  );
  751. |
  752. | FILE *yyget_out ( void );
  753. |
  754. | void yyset_out  ( FILE * _out_str  );
  755. |
  756. |           int yyget_leng ( void );
  757. |
  758. | char *yyget_text ( void );
  759. |
  760. | int yyget_lineno ( void );
  761. |
  762. | void yyset_lineno ( int _line_number  );
  763. |
  764. | /* Macros after this point can all be overridden by user definitions in
  765. |  * section 1.
  766. |  */
  767. |
  768. | #ifndef YY_SKIP_YYWRAP
  769. | #ifdef __cplusplus
  770. | extern "C" int yywrap ( void );
  771. | #else
  772. | extern int yywrap ( void );
  773. | #endif
  774. | #endif
  775. |
  776. | #ifndef YY_NO_UNPUT
  777. |
  778. |     static void yyunput ( int c, char *buf_ptr  );
  779. |
  780. | #endif
  781. |
  782. | #ifndef yytext_ptr
  783. | static void yy_flex_strncpy ( char *, const char *, int );
  784. | #endif
  785. |
  786. | #ifdef YY_NEED_STRLEN
  787. | static int yy_flex_strlen ( const char * );
  788. | #endif
  789. |
  790. | #ifndef YY_NO_INPUT
  791. | #ifdef __cplusplus
  792. | static int yyinput ( void );
  793. | #else
  794. | static int input ( void );
  795. | #endif
  796. |
  797. | #endif
  798. |
  799. | /* Amount of stuff to slurp up with each read. */
  800. | #ifndef YY_READ_BUF_SIZE
  801. | #ifdef __ia64__
  802. | /* On IA-64, the buffer size is 16k, not 8k */
  803. | #define YY_READ_BUF_SIZE 16384
  804. | #else
  805. | #define YY_READ_BUF_SIZE 8192
  806. | #endif /* __ia64__ */
  807. | #endif
  808. |
  809. | /* Copy whatever the last rule matched to the standard output. */
  810. | #ifndef ECHO
  811. | /* This used to be an fputs(), but since the string might contain NUL's,
  812. |  * we now use fwrite().
  813. |  */
  814. | #define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0)
  815. | #endif
  816. |
  817. | /* Gets input and stuffs it into "buf".  number of characters read, or YY_NULL,
  818. |  * is returned in "result".
  819. |  */
  820. | #ifndef YY_INPUT
  821. | #define YY_INPUT(buf,result,max_size) \
  822. |   if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
  823. |       { \
  824. |       int c = '*'; \
  825. |       int n; \
  826. |       for ( n = 0; n < max_size && \
  827. |                (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
  828. |           buf[n] = (char) c; \
  829. |       if ( c == '\n' ) \
  830. |           buf[n++] = (char) c; \
  831. |       if ( c == EOF && ferror( yyin ) ) \
  832. |           YY_FATAL_ERROR( "input in flex scanner failed" ); \
  833. |       result = n; \
  834. |       } \
  835. |   else \
  836. |       { \
  837. |       errno=0; \
  838. |       while ( (result = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \
  839. |           { \
  840. |           if( errno != EINTR) \
  841. |               { \
  842. |               YY_FATAL_ERROR( "input in flex scanner failed" ); \
  843. |               break; \
  844. |               } \
  845. |           errno=0; \
  846. |           clearerr(yyin); \
  847. |           } \
  848. |       }\
  849. | \
  850. |
  851. | #endif
  852. |
  853. | /* No semi-colon after return; correct usage is to write "yyterminate();" -
  854. |  * we don't want an extra ';' after the "return" because that will cause
  855. |  * some compilers to complain about unreachable statements.
  856. |  */
  857. | #ifndef yyterminate
  858. | #define yyterminate() return YY_NULL
  859. | #endif
  860. |
  861. | /* Number of entries by which start-condition stack grows. */
  862. | #ifndef YY_START_STACK_INCR
  863. | #define YY_START_STACK_INCR 25
  864. | #endif
  865. |
  866. | /* Report a fatal error. */
  867. | #ifndef YY_FATAL_ERROR
  868. | #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
  869. | #endif
  870. |
  871. | /* end tables serialization structures and prototypes */
  872. |
  873. | /* Default declaration of generated scanner - a define so the user can
  874. |  * easily add parameters.
  875. |  */
  876. | #ifndef YY_DECL
  877. | #define YY_DECL_IS_OURS 1
  878. |
  879. | extern int yylex (void);
  880. |
  881. | #define YY_DECL int yylex (void)
  882. | #endif /* !YY_DECL */
  883. |
  884. | /* Code executed at the beginning of each rule, after yytext and yyleng
  885. |  * have been set up.
  886. |  */
  887. | #ifndef YY_USER_ACTION
  888. | #define YY_USER_ACTION
  889. | #endif
  890. |
  891. | /* Code executed at the end of each rule. */
  892. | #ifndef YY_BREAK
  893. | #define YY_BREAK /*LINTED*/break;
  894. | #endif
  895. |
  896. | #define YY_RULE_SETUP \
  897. |   YY_USER_ACTION
  898. |
  899. | /** The main scanner function which does all the work.
  900. |  */
  901. | YY_DECL
  902. | {
  903. |   yy_state_type yy_current_state;
  904. |   char *yy_cp, *yy_bp;
  905. |   int yy_act;
  906. |
  907. |   if ( !(yy_init) )
  908. |       {
  909. |       (yy_init) = 1;
  910. |
  911. | #ifdef YY_USER_INIT
  912. |       YY_USER_INIT;
  913. | #endif
  914. |
  915. |         /* Create the reject buffer large enough to save one state per allowed character. */
  916. |         if ( ! (yy_state_buf) )
  917. |             (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE  );
  918. |             if ( ! (yy_state_buf) )
  919. |                 YY_FATAL_ERROR( "out of dynamic memory in yylex()" );
  920. |
  921. |       if ( ! (yy_start) )
  922. |           (yy_start) = 1; /* first start state */
  923. |
  924. |       if ( ! yyin )
  925. |           yyin = stdin;
  926. |
  927. |       if ( ! yyout )
  928. |           yyout = stdout;
  929. |
  930. |       if ( ! YY_CURRENT_BUFFER ) {
  931. |           yyensure_buffer_stack ();
  932. |           YY_CURRENT_BUFFER_LVALUE =
  933. |               yy_create_buffer( yyin, YY_BUF_SIZE );
  934. |       }
  935. |
  936. |       yy_load_buffer_state(  );
  937. |       }
  938. |
  939. |   {
  940. | #line 1 "conftest.l"
  941. |
  942. | #line 684 "lex.yy.c"
  943. |
  944. |   while ( /*CONSTCOND*/1 )        /* loops until end-of-file is reached */
  945. |       {
  946. |       (yy_more_len) = 0;
  947. |       if ( (yy_more_flag) )
  948. |           {
  949. |           (yy_more_len) = (int) ((yy_c_buf_p) - (yytext_ptr));
  950. |           (yy_more_flag) = 0;
  951. |           }
  952. |       yy_cp = (yy_c_buf_p);
  953. |
  954. |       /* Support of yytext. */
  955. |       *yy_cp = (yy_hold_char);
  956. |
  957. |       /* yy_bp points to the position in yy_ch_buf of the start of
  958. |        * the current run.
  959. |        */
  960. |       yy_bp = yy_cp;
  961. |
  962. |       yy_current_state = (yy_start);
  963. |
  964. |       (yy_state_ptr) = (yy_state_buf);
  965. |       *(yy_state_ptr)++ = yy_current_state;
  966. |
  967. | yy_match:
  968. |       do
  969. |           {
  970. |           YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ;
  971. |           while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  972. |               {
  973. |               yy_current_state = (int) yy_def[yy_current_state];
  974. |               if ( yy_current_state >= 13 )
  975. |                   yy_c = yy_meta[yy_c];
  976. |               }
  977. |           yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
  978. |           *(yy_state_ptr)++ = yy_current_state;
  979. |           ++yy_cp;
  980. |           }
  981. |       while ( yy_base[yy_current_state] != 10 );
  982. |
  983. | yy_find_action:
  984. |       yy_current_state = *--(yy_state_ptr);
  985. |       (yy_lp) = yy_accept[yy_current_state];
  986. |
  987. | find_rule: /* we branch to this label when backing up */
  988. |
  989. |       for ( ; ; ) /* until we find what rule we matched */
  990. |           {
  991. |           if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] )
  992. |               {
  993. |               yy_act = yy_acclist[(yy_lp)];
  994. |                   {
  995. |                   (yy_full_match) = yy_cp;
  996. |                   break;
  997. |                   }
  998. |               }
  999. |           --yy_cp;
  1000. |           yy_current_state = *--(yy_state_ptr);
  1001. |           (yy_lp) = yy_accept[yy_current_state];
  1002. |           }
  1003. |
  1004. |       YY_DO_BEFORE_ACTION;
  1005. |
  1006. | do_action:    /* This label is used only to access EOF actions. */
  1007. |
  1008. |       switch ( yy_act )
  1009. |   { /* beginning of action switch */
  1010. | case 1:
  1011. | YY_RULE_SETUP
  1012. | #line 2 "conftest.l"
  1013. | { ECHO; }
  1014. |   YY_BREAK
  1015. | case 2:
  1016. | YY_RULE_SETUP
  1017. | #line 3 "conftest.l"
  1018. | { REJECT; }
  1019. |   YY_BREAK
  1020. | case 3:
  1021. | YY_RULE_SETUP
  1022. | #line 4 "conftest.l"
  1023. | { yymore (); }
  1024. |   YY_BREAK
  1025. | case 4:
  1026. | YY_RULE_SETUP
  1027. | #line 5 "conftest.l"
  1028. | { yyless (1); }
  1029. |   YY_BREAK
  1030. | case 5:
  1031. | YY_RULE_SETUP
  1032. | #line 6 "conftest.l"
  1033. | { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
  1034. |     yyless ((input () != 0)); }
  1035. |   YY_BREAK
  1036. | case 6:
  1037. | YY_RULE_SETUP
  1038. | #line 8 "conftest.l"
  1039. | { unput (yytext[0]); }
  1040. |   YY_BREAK
  1041. | case 7:
  1042. | YY_RULE_SETUP
  1043. | #line 9 "conftest.l"
  1044. | { BEGIN INITIAL; }
  1045. |   YY_BREAK
  1046. | case 8:
  1047. | YY_RULE_SETUP
  1048. | #line 10 "conftest.l"
  1049. | ECHO;
  1050. |   YY_BREAK
  1051. | #line 793 "lex.yy.c"
  1052. |           case YY_STATE_EOF(INITIAL):
  1053. |               yyterminate();
  1054. |
  1055. |   case YY_END_OF_BUFFER:
  1056. |       {
  1057. |       /* Amount of text matched not including the EOB char. */
  1058. |       int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
  1059. |
  1060. |       /* Undo the effects of YY_DO_BEFORE_ACTION. */
  1061. |       *yy_cp = (yy_hold_char);
  1062. |       YY_RESTORE_YY_MORE_OFFSET
  1063. |
  1064. |       if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
  1065. |           {
  1066. |           /* We're scanning a new file or input source.  It's
  1067. |            * possible that this happened because the user
  1068. |            * just pointed yyin at a new source and called
  1069. |            * yylex().  If so, then we have to assure
  1070. |            * consistency between YY_CURRENT_BUFFER and our
  1071. |            * globals.  Here is the right place to do so, because
  1072. |            * this is the first action (other than possibly a
  1073. |            * back-up) that will match for the new input source.
  1074. |            */
  1075. |           (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  1076. |           YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
  1077. |           YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
  1078. |           }
  1079. |
  1080. |       /* Note that here we test for yy_c_buf_p "<=" to the position
  1081. |        * of the first EOB in the buffer, since yy_c_buf_p will
  1082. |        * already have been incremented past the NUL character
  1083. |        * (since all states make transitions on EOB to the
  1084. |        * end-of-buffer state).  Contrast this with the test
  1085. |        * in input().
  1086. |        */
  1087. |       if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
  1088. |           { /* This was really a NUL. */
  1089. |           yy_state_type yy_next_state;
  1090. |
  1091. |           (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
  1092. |
  1093. |           yy_current_state = yy_get_previous_state(  );
  1094. |
  1095. |           /* Okay, we're now positioned to make the NUL
  1096. |            * transition.  We couldn't have
  1097. |            * yy_get_previous_state() go ahead and do it
  1098. |            * for us because it doesn't know how to deal
  1099. |            * with the possibility of jamming (and we don't
  1100. |            * want to build jamming into it because then it
  1101. |            * will run more slowly).
  1102. |            */
  1103. |
  1104. |           yy_next_state = yy_try_NUL_trans( yy_current_state );
  1105. |
  1106. |           yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  1107. |
  1108. |           if ( yy_next_state )
  1109. |               {
  1110. |               /* Consume the NUL. */
  1111. |               yy_cp = ++(yy_c_buf_p);
  1112. |               yy_current_state = yy_next_state;
  1113. |               goto yy_match;
  1114. |               }
  1115. |
  1116. |           else
  1117. |               {
  1118. |               yy_cp = (yy_c_buf_p);
  1119. |               goto yy_find_action;
  1120. |               }
  1121. |           }
  1122. |
  1123. |       else switch ( yy_get_next_buffer(  ) )
  1124. |           {
  1125. |           case EOB_ACT_END_OF_FILE:
  1126. |               {
  1127. |               (yy_did_buffer_switch_on_eof) = 0;
  1128. |
  1129. |               if ( yywrap(  ) )
  1130. |                   {
  1131. |                   /* Note: because we've taken care in
  1132. |                    * yy_get_next_buffer() to have set up
  1133. |                    * yytext, we can now set up
  1134. |                    * yy_c_buf_p so that if some total
  1135. |                    * hoser (like flex itself) wants to
  1136. |                    * call the scanner after we return the
  1137. |                    * YY_NULL, it'll still work - another
  1138. |                    * YY_NULL will get returned.
  1139. |                    */
  1140. |                   (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
  1141. |
  1142. |                   yy_act = YY_STATE_EOF(YY_START);
  1143. |                   goto do_action;
  1144. |                   }
  1145. |
  1146. |               else
  1147. |                   {
  1148. |                   if ( ! (yy_did_buffer_switch_on_eof) )
  1149. |                       YY_NEW_FILE;
  1150. |                   }
  1151. |               break;
  1152. |               }
  1153. |
  1154. |           case EOB_ACT_CONTINUE_SCAN:
  1155. |               (yy_c_buf_p) =
  1156. |                   (yytext_ptr) + yy_amount_of_matched_text;
  1157. |
  1158. |               yy_current_state = yy_get_previous_state(  );
  1159. |
  1160. |               yy_cp = (yy_c_buf_p);
  1161. |               yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  1162. |               goto yy_match;
  1163. |
  1164. |           case EOB_ACT_LAST_MATCH:
  1165. |               (yy_c_buf_p) =
  1166. |               &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
  1167. |
  1168. |               yy_current_state = yy_get_previous_state(  );
  1169. |
  1170. |               yy_cp = (yy_c_buf_p);
  1171. |               yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  1172. |               goto yy_find_action;
  1173. |           }
  1174. |       break;
  1175. |       }
  1176. |
  1177. |   default:
  1178. |       YY_FATAL_ERROR(
  1179. |           "fatal flex scanner internal error--no action found" );
  1180. |   } /* end of action switch */
  1181. |       } /* end of scanning one token */
  1182. |   } /* end of user's declarations */
  1183. | } /* end of yylex */
  1184. |
  1185. | /* yy_get_next_buffer - try to read in a new buffer
  1186. |  *
  1187. |  * Returns a code representing an action:
  1188. |  *    EOB_ACT_LAST_MATCH -
  1189. |  *    EOB_ACT_CONTINUE_SCAN - continue scanning from current position
  1190. |  *    EOB_ACT_END_OF_FILE - end of file
  1191. |  */
  1192. | static int yy_get_next_buffer (void)
  1193. | {
  1194. |       char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
  1195. |   char *source = (yytext_ptr);
  1196. |   int number_to_move, i;
  1197. |   int ret_val;
  1198. |
  1199. |   if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
  1200. |       YY_FATAL_ERROR(
  1201. |       "fatal flex scanner internal error--end of buffer missed" );
  1202. |
  1203. |   if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
  1204. |       { /* Don't try to fill the buffer, so this is an EOF. */
  1205. |       if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
  1206. |           {
  1207. |           /* We matched a single character, the EOB, so
  1208. |            * treat this as a final EOF.
  1209. |            */
  1210. |           return EOB_ACT_END_OF_FILE;
  1211. |           }
  1212. |
  1213. |       else
  1214. |           {
  1215. |           /* We matched some text prior to the EOB, first
  1216. |            * process it.
  1217. |            */
  1218. |           return EOB_ACT_LAST_MATCH;
  1219. |           }
  1220. |       }
  1221. |
  1222. |   /* Try to read more data. */
  1223. |
  1224. |   /* First move last chars to start of buffer. */
  1225. |   number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr) - 1);
  1226. |
  1227. |   for ( i = 0; i < number_to_move; ++i )
  1228. |       *(dest++) = *(source++);
  1229. |
  1230. |   if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
  1231. |       /* don't do the read, it's not guaranteed to return an EOF,
  1232. |        * just force an EOF
  1233. |        */
  1234. |       YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
  1235. |
  1236. |   else
  1237. |       {
  1238. |           int num_to_read =
  1239. |           YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
  1240. |
  1241. |       while ( num_to_read <= 0 )
  1242. |           { /* Not enough room in the buffer - grow it. */
  1243. |
  1244. |           YY_FATAL_ERROR(
  1245. | "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
  1246. |
  1247. |           }
  1248. |
  1249. |       if ( num_to_read > YY_READ_BUF_SIZE )
  1250. |           num_to_read = YY_READ_BUF_SIZE;
  1251. |
  1252. |       /* Read in more data. */
  1253. |       YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
  1254. |           (yy_n_chars), num_to_read );
  1255. |
  1256. |       YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  1257. |       }
  1258. |
  1259. |   if ( (yy_n_chars) == 0 )
  1260. |       {
  1261. |       if ( number_to_move == YY_MORE_ADJ )
  1262. |           {
  1263. |           ret_val = EOB_ACT_END_OF_FILE;
  1264. |           yyrestart( yyin  );
  1265. |           }
  1266. |
  1267. |       else
  1268. |           {
  1269. |           ret_val = EOB_ACT_LAST_MATCH;
  1270. |           YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
  1271. |               YY_BUFFER_EOF_PENDING;
  1272. |           }
  1273. |       }
  1274. |
  1275. |   else
  1276. |       ret_val = EOB_ACT_CONTINUE_SCAN;
  1277. |
  1278. |   if (((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
  1279. |       /* Extend the array by 50%, plus the number we really need. */
  1280. |       int new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
  1281. |       YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc(
  1282. |           (void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf, (yy_size_t) new_size  );
  1283. |       if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  1284. |           YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
  1285. |       /* "- 2" to take care of EOB's */
  1286. |       YY_CURRENT_BUFFER_LVALUE->yy_buf_size = (int) (new_size - 2);
  1287. |   }
  1288. |
  1289. |   (yy_n_chars) += number_to_move;
  1290. |   YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
  1291. |   YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
  1292. |
  1293. |   (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
  1294. |
  1295. |   return ret_val;
  1296. | }
  1297. |
  1298. | /* yy_get_previous_state - get the state just before the EOB char was reached */
  1299. |
  1300. |     static yy_state_type yy_get_previous_state (void)
  1301. | {
  1302. |   yy_state_type yy_current_state;
  1303. |   char *yy_cp;
  1304. |
  1305. |   yy_current_state = (yy_start);
  1306. |
  1307. |   (yy_state_ptr) = (yy_state_buf);
  1308. |   *(yy_state_ptr)++ = yy_current_state;
  1309. |
  1310. |   for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
  1311. |       {
  1312. |       YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
  1313. |       while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  1314. |           {
  1315. |           yy_current_state = (int) yy_def[yy_current_state];
  1316. |           if ( yy_current_state >= 13 )
  1317. |               yy_c = yy_meta[yy_c];
  1318. |           }
  1319. |       yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
  1320. |       *(yy_state_ptr)++ = yy_current_state;
  1321. |       }
  1322. |
  1323. |   return yy_current_state;
  1324. | }
  1325. |
  1326. | /* yy_try_NUL_trans - try to make a transition on the NUL character
  1327. |  *
  1328. |  * synopsis
  1329. |  *    next_state = yy_try_NUL_trans( current_state );
  1330. |  */
  1331. |     static yy_state_type yy_try_NUL_trans  (yy_state_type yy_current_state )
  1332. | {
  1333. |   int yy_is_jam;
  1334. |
  1335. |   YY_CHAR yy_c = 1;
  1336. |   while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  1337. |       {
  1338. |       yy_current_state = (int) yy_def[yy_current_state];
  1339. |       if ( yy_current_state >= 13 )
  1340. |           yy_c = yy_meta[yy_c];
  1341. |       }
  1342. |   yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
  1343. |   yy_is_jam = (yy_current_state == 12);
  1344. |   if ( ! yy_is_jam )
  1345. |       *(yy_state_ptr)++ = yy_current_state;
  1346. |
  1347. |       return yy_is_jam ? 0 : yy_current_state;
  1348. | }
  1349. |
  1350. | #ifndef YY_NO_UNPUT
  1351. |
  1352. |     static void yyunput (int c, char * yy_bp )
  1353. | {
  1354. |   char *yy_cp;
  1355. |
  1356. |     yy_cp = (yy_c_buf_p);
  1357. |
  1358. |   /* undo effects of setting up yytext */
  1359. |   *yy_cp = (yy_hold_char);
  1360. |
  1361. |   if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  1362. |       { /* need to shift things up to make room */
  1363. |       /* +2 for EOB chars. */
  1364. |       int number_to_move = (yy_n_chars) + 2;
  1365. |       char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
  1366. |                   YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
  1367. |       char *source =
  1368. |               &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
  1369. |
  1370. |       while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  1371. |           *--dest = *--source;
  1372. |
  1373. |       yy_cp += (int) (dest - source);
  1374. |       yy_bp += (int) (dest - source);
  1375. |       YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
  1376. |           (yy_n_chars) = (int) YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
  1377. |
  1378. |       if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  1379. |           YY_FATAL_ERROR( "flex scanner push-back overflow" );
  1380. |       }
  1381. |
  1382. |   *--yy_cp = (char) c;
  1383. |
  1384. |   (yytext_ptr) = yy_bp;
  1385. |   (yy_hold_char) = *yy_cp;
  1386. |   (yy_c_buf_p) = yy_cp;
  1387. | }
  1388. |
  1389. | #endif
  1390. |
  1391. | #ifndef YY_NO_INPUT
  1392. | #ifdef __cplusplus
  1393. |     static int yyinput (void)
  1394. | #else
  1395. |     static int input  (void)
  1396. | #endif
  1397. |
  1398. | {
  1399. |   int c;
  1400. |
  1401. |   *(yy_c_buf_p) = (yy_hold_char);
  1402. |
  1403. |   if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
  1404. |       {
  1405. |       /* yy_c_buf_p now points to the character we want to return.
  1406. |        * If this occurs *before* the EOB characters, then it's a
  1407. |        * valid NUL; if not, then we've hit the end of the buffer.
  1408. |        */
  1409. |       if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
  1410. |           /* This was really a NUL. */
  1411. |           *(yy_c_buf_p) = '\0';
  1412. |
  1413. |       else
  1414. |           { /* need more input */
  1415. |           int offset = (int) ((yy_c_buf_p) - (yytext_ptr));
  1416. |           ++(yy_c_buf_p);
  1417. |
  1418. |           switch ( yy_get_next_buffer(  ) )
  1419. |               {
  1420. |               case EOB_ACT_LAST_MATCH:
  1421. |                   /* This happens because yy_g_n_b()
  1422. |                    * sees that we've accumulated a
  1423. |                    * token and flags that we need to
  1424. |                    * try matching the token before
  1425. |                    * proceeding.  But for input(),
  1426. |                    * there's no matching to consider.
  1427. |                    * So convert the EOB_ACT_LAST_MATCH
  1428. |                    * to EOB_ACT_END_OF_FILE.
  1429. |                    */
  1430. |
  1431. |                   /* Reset buffer status. */
  1432. |                   yyrestart( yyin );
  1433. |
  1434. |                   /*FALLTHROUGH*/
  1435. |
  1436. |               case EOB_ACT_END_OF_FILE:
  1437. |                   {
  1438. |                   if ( yywrap(  ) )
  1439. |                       return 0;
  1440. |
  1441. |                   if ( ! (yy_did_buffer_switch_on_eof) )
  1442. |                       YY_NEW_FILE;
  1443. | #ifdef __cplusplus
  1444. |                   return yyinput();
  1445. | #else
  1446. |                   return input();
  1447. | #endif
  1448. |                   }
  1449. |
  1450. |               case EOB_ACT_CONTINUE_SCAN:
  1451. |                   (yy_c_buf_p) = (yytext_ptr) + offset;
  1452. |                   break;
  1453. |               }
  1454. |           }
  1455. |       }
  1456. |
  1457. |   c = *(unsigned char *) (yy_c_buf_p);    /* cast for 8-bit char's */
  1458. |   *(yy_c_buf_p) = '\0';   /* preserve yytext */
  1459. |   (yy_hold_char) = *++(yy_c_buf_p);
  1460. |
  1461. |   return c;
  1462. | }
  1463. | #endif    /* ifndef YY_NO_INPUT */
  1464. |
  1465. | /** Immediately switch to a different input stream.
  1466. |  * @param input_file A readable stream.
  1467. |  *
  1468. |  * @note This function does not reset the start condition to @c INITIAL .
  1469. |  */
  1470. |     void yyrestart  (FILE * input_file )
  1471. | {
  1472. |
  1473. |   if ( ! YY_CURRENT_BUFFER ){
  1474. |         yyensure_buffer_stack ();
  1475. |       YY_CURRENT_BUFFER_LVALUE =
  1476. |             yy_create_buffer( yyin, YY_BUF_SIZE );
  1477. |   }
  1478. |
  1479. |   yy_init_buffer( YY_CURRENT_BUFFER, input_file );
  1480. |   yy_load_buffer_state(  );
  1481. | }
  1482. |
  1483. | /** Switch to a different input buffer.
  1484. |  * @param new_buffer The new input buffer.
  1485. |  *
  1486. |  */
  1487. |     void yy_switch_to_buffer  (YY_BUFFER_STATE  new_buffer )
  1488. | {
  1489. |
  1490. |   /* TODO. We should be able to replace this entire function body
  1491. |    * with
  1492. |    *      yypop_buffer_state();
  1493. |    *      yypush_buffer_state(new_buffer);
  1494. |      */
  1495. |   yyensure_buffer_stack ();
  1496. |   if ( YY_CURRENT_BUFFER == new_buffer )
  1497. |       return;
  1498. |
  1499. |   if ( YY_CURRENT_BUFFER )
  1500. |       {
  1501. |       /* Flush out information for old buffer. */
  1502. |       *(yy_c_buf_p) = (yy_hold_char);
  1503. |       YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
  1504. |       YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  1505. |       }
  1506. |
  1507. |   YY_CURRENT_BUFFER_LVALUE = new_buffer;
  1508. |   yy_load_buffer_state(  );
  1509. |
  1510. |   /* We don't actually know whether we did this switch during
  1511. |    * EOF (yywrap()) processing, but the only time this flag
  1512. |    * is looked at is after yywrap() is called, so it's safe
  1513. |    * to go ahead and always set it.
  1514. |    */
  1515. |   (yy_did_buffer_switch_on_eof) = 1;
  1516. | }
  1517. |
  1518. | static void yy_load_buffer_state  (void)
  1519. | {
  1520. |       (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  1521. |   (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
  1522. |   yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
  1523. |   (yy_hold_char) = *(yy_c_buf_p);
  1524. | }
  1525. |
  1526. | /** Allocate and initialize an input buffer state.
  1527. |  * @param file A readable stream.
  1528. |  * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
  1529. |  *
  1530. |  * @return the allocated buffer state.
  1531. |  */
  1532. |     YY_BUFFER_STATE yy_create_buffer  (FILE * file, int  size )
  1533. | {
  1534. |   YY_BUFFER_STATE b;
  1535. |
  1536. |   b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state )  );
  1537. |   if ( ! b )
  1538. |       YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  1539. |
  1540. |   b->yy_buf_size = size;
  1541. |
  1542. |   /* yy_ch_buf has to be 2 characters longer than the size given because
  1543. |    * we need to put in 2 end-of-buffer characters.
  1544. |    */
  1545. |   b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2)  );
  1546. |   if ( ! b->yy_ch_buf )
  1547. |       YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  1548. |
  1549. |   b->yy_is_our_buffer = 1;
  1550. |
  1551. |   yy_init_buffer( b, file );
  1552. |
  1553. |   return b;
  1554. | }
  1555. |
  1556. | /** Destroy the buffer.
  1557. |  * @param b a buffer created with yy_create_buffer()
  1558. |  *
  1559. |  */
  1560. |     void yy_delete_buffer (YY_BUFFER_STATE  b )
  1561. | {
  1562. |
  1563. |   if ( ! b )
  1564. |       return;
  1565. |
  1566. |   if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
  1567. |       YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
  1568. |
  1569. |   if ( b->yy_is_our_buffer )
  1570. |       yyfree( (void *) b->yy_ch_buf  );
  1571. |
  1572. |   yyfree( (void *) b  );
  1573. | }
  1574. |
  1575. | /* Initializes or reinitializes a buffer.
  1576. |  * This function is sometimes called more than once on the same buffer,
  1577. |  * such as during a yyrestart() or at EOF.
  1578. |  */
  1579. |     static void yy_init_buffer  (YY_BUFFER_STATE  b, FILE * file )
  1580. |
  1581. | {
  1582. |   int oerrno = errno;
  1583. |
  1584. |   yy_flush_buffer( b );
  1585. |
  1586. |   b->yy_input_file = file;
  1587. |   b->yy_fill_buffer = 1;
  1588. |
  1589. |     /* If b is the current buffer, then yy_init_buffer was _probably_
  1590. |      * called from yyrestart() or through yy_get_next_buffer.
  1591. |      * In that case, we don't want to reset the lineno or column.
  1592. |      */
  1593. |     if (b != YY_CURRENT_BUFFER){
  1594. |         b->yy_bs_lineno = 1;
  1595. |         b->yy_bs_column = 0;
  1596. |     }
  1597. |
  1598. |         b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
  1599. |
  1600. |   errno = oerrno;
  1601. | }
  1602. |
  1603. | /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
  1604. |  * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
  1605. |  *
  1606. |  */
  1607. |     void yy_flush_buffer (YY_BUFFER_STATE  b )
  1608. | {
  1609. |       if ( ! b )
  1610. |       return;
  1611. |
  1612. |   b->yy_n_chars = 0;
  1613. |
  1614. |   /* We always need two end-of-buffer characters.  The first causes
  1615. |    * a transition to the end-of-buffer state.  The second causes
  1616. |    * a jam in that state.
  1617. |    */
  1618. |   b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
  1619. |   b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
  1620. |
  1621. |   b->yy_buf_pos = &b->yy_ch_buf[0];
  1622. |
  1623. |   b->yy_at_bol = 1;
  1624. |   b->yy_buffer_status = YY_BUFFER_NEW;
  1625. |
  1626. |   if ( b == YY_CURRENT_BUFFER )
  1627. |       yy_load_buffer_state(  );
  1628. | }
  1629. |
  1630. | /** Pushes the new state onto the stack. The new state becomes
  1631. |  *  the current state. This function will allocate the stack
  1632. |  *  if necessary.
  1633. |  *  @param new_buffer The new state.
  1634. |  *
  1635. |  */
  1636. | void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
  1637. | {
  1638. |       if (new_buffer == NULL)
  1639. |       return;
  1640. |
  1641. |   yyensure_buffer_stack();
  1642. |
  1643. |   /* This block is copied from yy_switch_to_buffer. */
  1644. |   if ( YY_CURRENT_BUFFER )
  1645. |       {
  1646. |       /* Flush out information for old buffer. */
  1647. |       *(yy_c_buf_p) = (yy_hold_char);
  1648. |       YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
  1649. |       YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  1650. |       }
  1651. |
  1652. |   /* Only push if top exists. Otherwise, replace top. */
  1653. |   if (YY_CURRENT_BUFFER)
  1654. |       (yy_buffer_stack_top)++;
  1655. |   YY_CURRENT_BUFFER_LVALUE = new_buffer;
  1656. |
  1657. |   /* copied from yy_switch_to_buffer. */
  1658. |   yy_load_buffer_state(  );
  1659. |   (yy_did_buffer_switch_on_eof) = 1;
  1660. | }
  1661. |
  1662. | /** Removes and deletes the top of the stack, if present.
  1663. |  *  The next element becomes the new top.
  1664. |  *
  1665. |  */
  1666. | void yypop_buffer_state (void)
  1667. | {
  1668. |       if (!YY_CURRENT_BUFFER)
  1669. |       return;
  1670. |
  1671. |   yy_delete_buffer(YY_CURRENT_BUFFER );
  1672. |   YY_CURRENT_BUFFER_LVALUE = NULL;
  1673. |   if ((yy_buffer_stack_top) > 0)
  1674. |       --(yy_buffer_stack_top);
  1675. |
  1676. |   if (YY_CURRENT_BUFFER) {
  1677. |       yy_load_buffer_state(  );
  1678. |       (yy_did_buffer_switch_on_eof) = 1;
  1679. |   }
  1680. | }
  1681. |
  1682. | /* Allocates the stack if it does not exist.
  1683. |  *  Guarantees space for at least one push.
  1684. |  */
  1685. | static void yyensure_buffer_stack (void)
  1686. | {
  1687. |   yy_size_t num_to_alloc;
  1688. |
  1689. |   if (!(yy_buffer_stack)) {
  1690. |
  1691. |       /* First allocation is just for 2 elements, since we don't know if this
  1692. |        * scanner will even need a stack. We use 2 instead of 1 to avoid an
  1693. |        * immediate realloc on the next call.
  1694. |          */
  1695. |       num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */
  1696. |       (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
  1697. |                               (num_to_alloc * sizeof(struct yy_buffer_state*)
  1698. |                               );
  1699. |       if ( ! (yy_buffer_stack) )
  1700. |           YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  1701. |
  1702. |       memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
  1703. |
  1704. |       (yy_buffer_stack_max) = num_to_alloc;
  1705. |       (yy_buffer_stack_top) = 0;
  1706. |       return;
  1707. |   }
  1708. |
  1709. |   if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
  1710. |
  1711. |       /* Increase the buffer to prepare for a possible push. */
  1712. |       yy_size_t grow_size = 8 /* arbitrary grow size */;
  1713. |
  1714. |       num_to_alloc = (yy_buffer_stack_max) + grow_size;
  1715. |       (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
  1716. |                               ((yy_buffer_stack),
  1717. |                               num_to_alloc * sizeof(struct yy_buffer_state*)
  1718. |                               );
  1719. |       if ( ! (yy_buffer_stack) )
  1720. |           YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  1721. |
  1722. |       /* zero only the new slots.*/
  1723. |       memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
  1724. |       (yy_buffer_stack_max) = num_to_alloc;
  1725. |   }
  1726. | }
  1727. |
  1728. | /** Setup the input buffer state to scan directly from a user-specified character buffer.
  1729. |  * @param base the character buffer
  1730. |  * @param size the size in bytes of the character buffer
  1731. |  *
  1732. |  * @return the newly allocated buffer state object.
  1733. |  */
  1734. | YY_BUFFER_STATE yy_scan_buffer  (char * base, yy_size_t  size )
  1735. | {
  1736. |   YY_BUFFER_STATE b;
  1737. |
  1738. |   if ( size < 2 ||
  1739. |        base[size-2] != YY_END_OF_BUFFER_CHAR ||
  1740. |        base[size-1] != YY_END_OF_BUFFER_CHAR )
  1741. |       /* They forgot to leave room for the EOB's. */
  1742. |       return NULL;
  1743. |
  1744. |   b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state )  );
  1745. |   if ( ! b )
  1746. |       YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
  1747. |
  1748. |   b->yy_buf_size = (int) (size - 2);  /* "- 2" to take care of EOB's */
  1749. |   b->yy_buf_pos = b->yy_ch_buf = base;
  1750. |   b->yy_is_our_buffer = 0;
  1751. |   b->yy_input_file = NULL;
  1752. |   b->yy_n_chars = b->yy_buf_size;
  1753. |   b->yy_is_interactive = 0;
  1754. |   b->yy_at_bol = 1;
  1755. |   b->yy_fill_buffer = 0;
  1756. |   b->yy_buffer_status = YY_BUFFER_NEW;
  1757. |
  1758. |   yy_switch_to_buffer( b  );
  1759. |
  1760. |   return b;
  1761. | }
  1762. |
  1763. | /** Setup the input buffer state to scan a string. The next call to yylex() will
  1764. |  * scan from a @e copy of @a str.
  1765. |  * @param yystr a NUL-terminated string to scan
  1766. |  *
  1767. |  * @return the newly allocated buffer state object.
  1768. |  * @note If you want to scan bytes that may contain NUL values, then use
  1769. |  *       yy_scan_bytes() instead.
  1770. |  */
  1771. | YY_BUFFER_STATE yy_scan_string (const char * yystr )
  1772. | {
  1773. |
  1774. |   return yy_scan_bytes( yystr, (int) strlen(yystr) );
  1775. | }
  1776. |
  1777. | /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
  1778. |  * scan from a @e copy of @a bytes.
  1779. |  * @param yybytes the byte buffer to scan
  1780. |  * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
  1781. |  *
  1782. |  * @return the newly allocated buffer state object.
  1783. |  */
  1784. | YY_BUFFER_STATE yy_scan_bytes  (const char * yybytes, int  _yybytes_len )
  1785. | {
  1786. |   YY_BUFFER_STATE b;
  1787. |   char *buf;
  1788. |   yy_size_t n;
  1789. |   int i;
  1790. |
  1791. |   /* Get memory for full buffer, including space for trailing EOB's. */
  1792. |   n = (yy_size_t) (_yybytes_len + 2);
  1793. |   buf = (char *) yyalloc( n  );
  1794. |   if ( ! buf )
  1795. |       YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
  1796. |
  1797. |   for ( i = 0; i < _yybytes_len; ++i )
  1798. |       buf[i] = yybytes[i];
  1799. |
  1800. |   buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
  1801. |
  1802. |   b = yy_scan_buffer( buf, n );
  1803. |   if ( ! b )
  1804. |       YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
  1805. |
  1806. |   /* It's okay to grow etc. this buffer, and we should throw it
  1807. |    * away when we're done.
  1808. |    */
  1809. |   b->yy_is_our_buffer = 1;
  1810. |
  1811. |   return b;
  1812. | }
  1813. |
  1814. | #ifndef YY_EXIT_FAILURE
  1815. | #define YY_EXIT_FAILURE 2
  1816. | #endif
  1817. |
  1818. | static void yynoreturn yy_fatal_error (const char* msg )
  1819. | {
  1820. |           fprintf( stderr, "%s\n", msg );
  1821. |   exit( YY_EXIT_FAILURE );
  1822. | }
  1823. |
  1824. | /* Redefine yyless() so it works in section 3 code. */
  1825. |
  1826. | #undef yyless
  1827. | #define yyless(n) \
  1828. |   do \
  1829. |       { \
  1830. |       /* Undo effects of setting up yytext. */ \
  1831. |         int yyless_macro_arg = (n); \
  1832. |         YY_LESS_LINENO(yyless_macro_arg);\
  1833. |       yytext[yyleng] = (yy_hold_char); \
  1834. |       (yy_c_buf_p) = yytext + yyless_macro_arg; \
  1835. |       (yy_hold_char) = *(yy_c_buf_p); \
  1836. |       *(yy_c_buf_p) = '\0'; \
  1837. |       yyleng = yyless_macro_arg; \
  1838. |       } \
  1839. |   while ( 0 )
  1840. |
  1841. | /* Accessor  methods (get/set functions) to struct members. */
  1842. |
  1843. | /** Get the current line number.
  1844. |  *
  1845. |  */
  1846. | int yyget_lineno  (void)
  1847. | {
  1848. |
  1849. |     return yylineno;
  1850. | }
  1851. |
  1852. | /** Get the input stream.
  1853. |  *
  1854. |  */
  1855. | FILE *yyget_in  (void)
  1856. | {
  1857. |         return yyin;
  1858. | }
  1859. |
  1860. | /** Get the output stream.
  1861. |  *
  1862. |  */
  1863. | FILE *yyget_out  (void)
  1864. | {
  1865. |         return yyout;
  1866. | }
  1867. |
  1868. | /** Get the length of the current token.
  1869. |  *
  1870. |  */
  1871. | int yyget_leng  (void)
  1872. | {
  1873. |         return yyleng;
  1874. | }
  1875. |
  1876. | /** Get the current token.
  1877. |  *
  1878. |  */
  1879. |
  1880. | char *yyget_text  (void)
  1881. | {
  1882. |         return yytext;
  1883. | }
  1884. |
  1885. | /** Set the current line number.
  1886. |  * @param _line_number line number
  1887. |  *
  1888. |  */
  1889. | void yyset_lineno (int  _line_number )
  1890. | {
  1891. |
  1892. |     yylineno = _line_number;
  1893. | }
  1894. |
  1895. | /** Set the input stream. This does not discard the current
  1896. |  * input buffer.
  1897. |  * @param _in_str A readable stream.
  1898. |  *
  1899. |  * @see yy_switch_to_buffer
  1900. |  */
  1901. | void yyset_in (FILE *  _in_str )
  1902. | {
  1903. |         yyin = _in_str ;
  1904. | }
  1905. |
  1906. | void yyset_out (FILE *  _out_str )
  1907. | {
  1908. |         yyout = _out_str ;
  1909. | }
  1910. |
  1911. | int yyget_debug  (void)
  1912. | {
  1913. |         return yy_flex_debug;
  1914. | }
  1915. |
  1916. | void yyset_debug (int  _bdebug )
  1917. | {
  1918. |         yy_flex_debug = _bdebug ;
  1919. | }
  1920. |
  1921. | static int yy_init_globals (void)
  1922. | {
  1923. |         /* Initialization is the same as for the non-reentrant scanner.
  1924. |      * This function is called from yylex_destroy(), so don't allocate here.
  1925. |      */
  1926. |
  1927. |     (yy_buffer_stack) = NULL;
  1928. |     (yy_buffer_stack_top) = 0;
  1929. |     (yy_buffer_stack_max) = 0;
  1930. |     (yy_c_buf_p) = NULL;
  1931. |     (yy_init) = 0;
  1932. |     (yy_start) = 0;
  1933. |
  1934. |     (yy_state_buf) = 0;
  1935. |     (yy_state_ptr) = 0;
  1936. |     (yy_full_match) = 0;
  1937. |     (yy_lp) = 0;
  1938. |
  1939. | /* Defined in main.c */
  1940. | #ifdef YY_STDINIT
  1941. |     yyin = stdin;
  1942. |     yyout = stdout;
  1943. | #else
  1944. |     yyin = NULL;
  1945. |     yyout = NULL;
  1946. | #endif
  1947. |
  1948. |     /* For future reference: Set errno on error, since we are called by
  1949. |      * yylex_init()
  1950. |      */
  1951. |     return 0;
  1952. | }
  1953. |
  1954. | /* yylex_destroy is for both reentrant and non-reentrant scanners. */
  1955. | int yylex_destroy  (void)
  1956. | {
  1957. |
  1958. |     /* Pop the buffer stack, destroying each element. */
  1959. |   while(YY_CURRENT_BUFFER){
  1960. |       yy_delete_buffer( YY_CURRENT_BUFFER  );
  1961. |       YY_CURRENT_BUFFER_LVALUE = NULL;
  1962. |       yypop_buffer_state();
  1963. |   }
  1964. |
  1965. |   /* Destroy the stack itself. */
  1966. |   yyfree((yy_buffer_stack) );
  1967. |   (yy_buffer_stack) = NULL;
  1968. |
  1969. |     yyfree ( (yy_state_buf) );
  1970. |     (yy_state_buf)  = NULL;
  1971. |
  1972. |     /* Reset the globals. This is important in a non-reentrant scanner so the next time
  1973. |      * yylex() is called, initialization will occur. */
  1974. |     yy_init_globals( );
  1975. |
  1976. |     return 0;
  1977. | }
  1978. |
  1979. | /*
  1980. |  * Internal utility routines.
  1981. |  */
  1982. |
  1983. | #ifndef yytext_ptr
  1984. | static void yy_flex_strncpy (char* s1, const char * s2, int n )
  1985. | {
  1986. |
  1987. |   int i;
  1988. |   for ( i = 0; i < n; ++i )
  1989. |       s1[i] = s2[i];
  1990. | }
  1991. | #endif
  1992. |
  1993. | #ifdef YY_NEED_STRLEN
  1994. | static int yy_flex_strlen (const char * s )
  1995. | {
  1996. |   int n;
  1997. |   for ( n = 0; s[n]; ++n )
  1998. |       ;
  1999. |
  2000. |   return n;
  2001. | }
  2002. | #endif
  2003. |
  2004. | void *yyalloc (yy_size_t  size )
  2005. | {
  2006. |           return malloc(size);
  2007. | }
  2008. |
  2009. | void *yyrealloc  (void * ptr, yy_size_t  size )
  2010. | {
  2011. |
  2012. |   /* The cast to (char *) in the following accommodates both
  2013. |    * implementations that use char* generic pointers, and those
  2014. |    * that use void* generic pointers.  It works with the latter
  2015. |    * because both ANSI C and C++ allow castless assignment from
  2016. |    * any pointer type to void*, and deal with argument conversions
  2017. |    * as though doing an assignment.
  2018. |    */
  2019. |   return realloc(ptr, size);
  2020. | }
  2021. |
  2022. | void yyfree (void * ptr )
  2023. | {
  2024. |           free( (char *) ptr );   /* see yyrealloc() for (char *) cast */
  2025. | }
  2026. |
  2027. | #define YYTABLES_NAME "yytables"
  2028. |
  2029. | #line 10 "conftest.l"
  2030. |
  2031. | #ifdef YYTEXT_POINTER
  2032. | extern char *yytext;
  2033. | #endif
  2034. | int
  2035. | main (void)
  2036. | {
  2037. |   return ! yylex () + ! yywrap ();
  2038. | }
  2039. configure:4932: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -o conftest  -I/usr/local/opt/llvm/include -L/usr/local/opt/llvm/lib conftest.c -lfl  >&5
  2040. ld: library not found for -lfl
  2041. clang: error: linker command failed with exit code 1 (use -v to see invocation)
  2042. configure:4932: $? = 1
  2043. configure: failed program was:
  2044. | /* confdefs.h */
  2045. | #define PACKAGE_NAME "yara"
  2046. | #define PACKAGE_TARNAME "yara"
  2047. | #define PACKAGE_VERSION "3.6.3"
  2048. | #define PACKAGE_STRING "yara 3.6.3"
  2049. | #define PACKAGE_BUGREPORT "vmalvarez@virustotal.com"
  2050. | #define PACKAGE_URL ""
  2051. | #define PACKAGE "yara"
  2052. | #define VERSION "3.6.3"
  2053. | /* end confdefs.h.  */
  2054. |
  2055. | #line 2 "lex.yy.c"
  2056. |
  2057. | #define  YY_INT_ALIGNED short int
  2058. |
  2059. | /* A lexical scanner generated by flex */
  2060. |
  2061. | #define FLEX_SCANNER
  2062. | #define YY_FLEX_MAJOR_VERSION 2
  2063. | #define YY_FLEX_MINOR_VERSION 6
  2064. | #define YY_FLEX_SUBMINOR_VERSION 4
  2065. | #if YY_FLEX_SUBMINOR_VERSION > 0
  2066. | #define FLEX_BETA
  2067. | #endif
  2068. |
  2069. | /* First, we deal with  platform-specific or compiler-specific issues. */
  2070. |
  2071. | /* begin standard C headers. */
  2072. | #include <stdio.h>
  2073. | #include <string.h>
  2074. | #include <errno.h>
  2075. | #include <stdlib.h>
  2076. |
  2077. | /* end standard C headers. */
  2078. |
  2079. | /* flex integer type definitions */
  2080. |
  2081. | #ifndef FLEXINT_H
  2082. | #define FLEXINT_H
  2083. |
  2084. | /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
  2085. |
  2086. | #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
  2087. |
  2088. | /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
  2089. |  * if you want the limit (max/min) macros for int types.
  2090. |  */
  2091. | #ifndef __STDC_LIMIT_MACROS
  2092. | #define __STDC_LIMIT_MACROS 1
  2093. | #endif
  2094. |
  2095. | #include <inttypes.h>
  2096. | typedef int8_t flex_int8_t;
  2097. | typedef uint8_t flex_uint8_t;
  2098. | typedef int16_t flex_int16_t;
  2099. | typedef uint16_t flex_uint16_t;
  2100. | typedef int32_t flex_int32_t;
  2101. | typedef uint32_t flex_uint32_t;
  2102. | #else
  2103. | typedef signed char flex_int8_t;
  2104. | typedef short int flex_int16_t;
  2105. | typedef int flex_int32_t;
  2106. | typedef unsigned char flex_uint8_t;
  2107. | typedef unsigned short int flex_uint16_t;
  2108. | typedef unsigned int flex_uint32_t;
  2109. |
  2110. | /* Limits of integral types. */
  2111. | #ifndef INT8_MIN
  2112. | #define INT8_MIN               (-128)
  2113. | #endif
  2114. | #ifndef INT16_MIN
  2115. | #define INT16_MIN              (-32767-1)
  2116. | #endif
  2117. | #ifndef INT32_MIN
  2118. | #define INT32_MIN              (-2147483647-1)
  2119. | #endif
  2120. | #ifndef INT8_MAX
  2121. | #define INT8_MAX               (127)
  2122. | #endif
  2123. | #ifndef INT16_MAX
  2124. | #define INT16_MAX              (32767)
  2125. | #endif
  2126. | #ifndef INT32_MAX
  2127. | #define INT32_MAX              (2147483647)
  2128. | #endif
  2129. | #ifndef UINT8_MAX
  2130. | #define UINT8_MAX              (255U)
  2131. | #endif
  2132. | #ifndef UINT16_MAX
  2133. | #define UINT16_MAX             (65535U)
  2134. | #endif
  2135. | #ifndef UINT32_MAX
  2136. | #define UINT32_MAX             (4294967295U)
  2137. | #endif
  2138. |
  2139. | #ifndef SIZE_MAX
  2140. | #define SIZE_MAX               (~(size_t)0)
  2141. | #endif
  2142. |
  2143. | #endif /* ! C99 */
  2144. |
  2145. | #endif /* ! FLEXINT_H */
  2146. |
  2147. | /* begin standard C++ headers. */
  2148. |
  2149. | /* TODO: this is always defined, so inline it */
  2150. | #define yyconst const
  2151. |
  2152. | #if defined(__GNUC__) && __GNUC__ >= 3
  2153. | #define yynoreturn __attribute__((__noreturn__))
  2154. | #else
  2155. | #define yynoreturn
  2156. | #endif
  2157. |
  2158. | /* Returned upon end-of-file. */
  2159. | #define YY_NULL 0
  2160. |
  2161. | /* Promotes a possibly negative, possibly signed char to an
  2162. |  *   integer in range [0..255] for use as an array index.
  2163. |  */
  2164. | #define YY_SC_TO_UI(c) ((YY_CHAR) (c))
  2165. |
  2166. | /* Enter a start condition.  This macro really ought to take a parameter,
  2167. |  * but we do it the disgusting crufty way forced on us by the ()-less
  2168. |  * definition of BEGIN.
  2169. |  */
  2170. | #define BEGIN (yy_start) = 1 + 2 *
  2171. | /* Translate the current start state into a value that can be later handed
  2172. |  * to BEGIN to return to the state.  The YYSTATE alias is for lex
  2173. |  * compatibility.
  2174. |  */
  2175. | #define YY_START (((yy_start) - 1) / 2)
  2176. | #define YYSTATE YY_START
  2177. | /* Action number for EOF rule of a given start state. */
  2178. | #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
  2179. | /* Special action meaning "start processing a new file". */
  2180. | #define YY_NEW_FILE yyrestart( yyin  )
  2181. | #define YY_END_OF_BUFFER_CHAR 0
  2182. |
  2183. | /* Size of default input buffer. */
  2184. | #ifndef YY_BUF_SIZE
  2185. | #ifdef __ia64__
  2186. | /* On IA-64, the buffer size is 16k, not 8k.
  2187. |  * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
  2188. |  * Ditto for the __ia64__ case accordingly.
  2189. |  */
  2190. | #define YY_BUF_SIZE 32768
  2191. | #else
  2192. | #define YY_BUF_SIZE 16384
  2193. | #endif /* __ia64__ */
  2194. | #endif
  2195. |
  2196. | /* The state buf must be large enough to hold one state per character in the main buffer.
  2197. |  */
  2198. | #define YY_STATE_BUF_SIZE   ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
  2199. |
  2200. | #ifndef YY_TYPEDEF_YY_BUFFER_STATE
  2201. | #define YY_TYPEDEF_YY_BUFFER_STATE
  2202. | typedef struct yy_buffer_state *YY_BUFFER_STATE;
  2203. | #endif
  2204. |
  2205. | #ifndef YY_TYPEDEF_YY_SIZE_T
  2206. | #define YY_TYPEDEF_YY_SIZE_T
  2207. | typedef size_t yy_size_t;
  2208. | #endif
  2209. |
  2210. | extern int yyleng;
  2211. |
  2212. | extern FILE *yyin, *yyout;
  2213. |
  2214. | #define EOB_ACT_CONTINUE_SCAN 0
  2215. | #define EOB_ACT_END_OF_FILE 1
  2216. | #define EOB_ACT_LAST_MATCH 2
  2217. |
  2218. |     #define YY_LESS_LINENO(n)
  2219. |     #define YY_LINENO_REWIND_TO(ptr)
  2220. |
  2221. | /* Return all but the first "n" matched characters back to the input stream. */
  2222. | #define yyless(n) \
  2223. |   do \
  2224. |       { \
  2225. |       /* Undo effects of setting up yytext. */ \
  2226. |         int yyless_macro_arg = (n); \
  2227. |         YY_LESS_LINENO(yyless_macro_arg);\
  2228. |       *yy_cp = (yy_hold_char); \
  2229. |       YY_RESTORE_YY_MORE_OFFSET \
  2230. |       (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
  2231. |       YY_DO_BEFORE_ACTION; /* set up yytext again */ \
  2232. |       } \
  2233. |   while ( 0 )
  2234. | #define unput(c) yyunput( c, (yytext_ptr)  )
  2235. |
  2236. | #ifndef YY_STRUCT_YY_BUFFER_STATE
  2237. | #define YY_STRUCT_YY_BUFFER_STATE
  2238. | struct yy_buffer_state
  2239. |   {
  2240. |   FILE *yy_input_file;
  2241. |
  2242. |   char *yy_ch_buf;        /* input buffer */
  2243. |   char *yy_buf_pos;       /* current position in input buffer */
  2244. |
  2245. |   /* Size of input buffer in bytes, not including room for EOB
  2246. |    * characters.
  2247. |    */
  2248. |   int yy_buf_size;
  2249. |
  2250. |   /* Number of characters read into yy_ch_buf, not including EOB
  2251. |    * characters.
  2252. |    */
  2253. |   int yy_n_chars;
  2254. |
  2255. |   /* Whether we "own" the buffer - i.e., we know we created it,
  2256. |    * and can realloc() it to grow it, and should free() it to
  2257. |    * delete it.
  2258. |    */
  2259. |   int yy_is_our_buffer;
  2260. |
  2261. |   /* Whether this is an "interactive" input source; if so, and
  2262. |    * if we're using stdio for input, then we want to use getc()
  2263. |    * instead of fread(), to make sure we stop fetching input after
  2264. |    * each newline.
  2265. |    */
  2266. |   int yy_is_interactive;
  2267. |
  2268. |   /* Whether we're considered to be at the beginning of a line.
  2269. |    * If so, '^' rules will be active on the next match, otherwise
  2270. |    * not.
  2271. |    */
  2272. |   int yy_at_bol;
  2273. |
  2274. |     int yy_bs_lineno; /**< The line count. */
  2275. |     int yy_bs_column; /**< The column count. */
  2276. |
  2277. |   /* Whether to try to fill the input buffer when we reach the
  2278. |    * end of it.
  2279. |    */
  2280. |   int yy_fill_buffer;
  2281. |
  2282. |   int yy_buffer_status;
  2283. |
  2284. | #define YY_BUFFER_NEW 0
  2285. | #define YY_BUFFER_NORMAL 1
  2286. |   /* When an EOF's been seen but there's still some text to process
  2287. |    * then we mark the buffer as YY_EOF_PENDING, to indicate that we
  2288. |    * shouldn't try reading from the input source any more.  We might
  2289. |    * still have a bunch of tokens to match, though, because of
  2290. |    * possible backing-up.
  2291. |    *
  2292. |    * When we actually see the EOF, we change the status to "new"
  2293. |    * (via yyrestart()), so that the user can continue scanning by
  2294. |    * just pointing yyin at a new input file.
  2295. |    */
  2296. | #define YY_BUFFER_EOF_PENDING 2
  2297. |
  2298. |   };
  2299. | #endif /* !YY_STRUCT_YY_BUFFER_STATE */
  2300. |
  2301. | /* Stack of input buffers. */
  2302. | static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
  2303. | static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
  2304. | static YY_BUFFER_STATE * yy_buffer_stack = NULL; /**< Stack as an array. */
  2305. |
  2306. | /* We provide macros for accessing buffer states in case in the
  2307. |  * future we want to put the buffer states in a more general
  2308. |  * "scanner state".
  2309. |  *
  2310. |  * Returns the top of the stack, or NULL.
  2311. |  */
  2312. | #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
  2313. |                           ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
  2314. |                           : NULL)
  2315. | /* Same as previous macro, but useful when we know that the buffer stack is not
  2316. |  * NULL or when we need an lvalue. For internal use only.
  2317. |  */
  2318. | #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
  2319. |
  2320. | /* yy_hold_char holds the character lost when yytext is formed. */
  2321. | static char yy_hold_char;
  2322. | static int yy_n_chars;        /* number of characters read into yy_ch_buf */
  2323. | int yyleng;
  2324. |
  2325. | /* Points to current character in buffer. */
  2326. | static char *yy_c_buf_p = NULL;
  2327. | static int yy_init = 0;       /* whether we need to initialize */
  2328. | static int yy_start = 0;  /* start state number */
  2329. |
  2330. | /* Flag which is used to allow yywrap()'s to do buffer switches
  2331. |  * instead of setting up a fresh yyin.  A bit of a hack ...
  2332. |  */
  2333. | static int yy_did_buffer_switch_on_eof;
  2334. |
  2335. | void yyrestart ( FILE *input_file  );
  2336. | void yy_switch_to_buffer ( YY_BUFFER_STATE new_buffer  );
  2337. | YY_BUFFER_STATE yy_create_buffer ( FILE *file, int size  );
  2338. | void yy_delete_buffer ( YY_BUFFER_STATE b  );
  2339. | void yy_flush_buffer ( YY_BUFFER_STATE b  );
  2340. | void yypush_buffer_state ( YY_BUFFER_STATE new_buffer  );
  2341. | void yypop_buffer_state ( void );
  2342. |
  2343. | static void yyensure_buffer_stack ( void );
  2344. | static void yy_load_buffer_state ( void );
  2345. | static void yy_init_buffer ( YY_BUFFER_STATE b, FILE *file  );
  2346. | #define YY_FLUSH_BUFFER yy_flush_buffer( YY_CURRENT_BUFFER )
  2347. |
  2348. | YY_BUFFER_STATE yy_scan_buffer ( char *base, yy_size_t size  );
  2349. | YY_BUFFER_STATE yy_scan_string ( const char *yy_str  );
  2350. | YY_BUFFER_STATE yy_scan_bytes ( const char *bytes, int len  );
  2351. |
  2352. | void *yyalloc ( yy_size_t  );
  2353. | void *yyrealloc ( void *, yy_size_t  );
  2354. | void yyfree ( void *  );
  2355. |
  2356. | #define yy_new_buffer yy_create_buffer
  2357. | #define yy_set_interactive(is_interactive) \
  2358. |   { \
  2359. |   if ( ! YY_CURRENT_BUFFER ){ \
  2360. |         yyensure_buffer_stack (); \
  2361. |       YY_CURRENT_BUFFER_LVALUE =    \
  2362. |             yy_create_buffer( yyin, YY_BUF_SIZE ); \
  2363. |   } \
  2364. |   YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
  2365. |   }
  2366. | #define yy_set_bol(at_bol) \
  2367. |   { \
  2368. |   if ( ! YY_CURRENT_BUFFER ){\
  2369. |         yyensure_buffer_stack (); \
  2370. |       YY_CURRENT_BUFFER_LVALUE =    \
  2371. |             yy_create_buffer( yyin, YY_BUF_SIZE ); \
  2372. |   } \
  2373. |   YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
  2374. |   }
  2375. | #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
  2376. |
  2377. | /* Begin user sect3 */
  2378. | typedef flex_uint8_t YY_CHAR;
  2379. |
  2380. | FILE *yyin = NULL, *yyout = NULL;
  2381. |
  2382. | typedef int yy_state_type;
  2383. |
  2384. | extern int yylineno;
  2385. | int yylineno = 1;
  2386. |
  2387. | extern char *yytext;
  2388. | #ifdef yytext_ptr
  2389. | #undef yytext_ptr
  2390. | #endif
  2391. | #define yytext_ptr yytext
  2392. |
  2393. | static yy_state_type yy_get_previous_state ( void );
  2394. | static yy_state_type yy_try_NUL_trans ( yy_state_type current_state  );
  2395. | static int yy_get_next_buffer ( void );
  2396. | static void yynoreturn yy_fatal_error ( const char* msg  );
  2397. |
  2398. | /* Done after the current pattern has been matched and before the
  2399. |  * corresponding action - sets up yytext.
  2400. |  */
  2401. | #define YY_DO_BEFORE_ACTION \
  2402. |   (yytext_ptr) = yy_bp; \
  2403. |   (yytext_ptr) -= (yy_more_len); \
  2404. |   yyleng = (int) (yy_cp - (yytext_ptr)); \
  2405. |   (yy_hold_char) = *yy_cp; \
  2406. |   *yy_cp = '\0'; \
  2407. |   (yy_c_buf_p) = yy_cp;
  2408. | #define YY_NUM_RULES 8
  2409. | #define YY_END_OF_BUFFER 9
  2410. | /* This struct is not used in this scanner,
  2411. |    but its presence is necessary. */
  2412. | struct yy_trans_info
  2413. |   {
  2414. |   flex_int32_t yy_verify;
  2415. |   flex_int32_t yy_nxt;
  2416. |   };
  2417. | static const flex_int16_t yy_acclist[23] =
  2418. |     {   0,
  2419. |         9,    7,    8,    8,    1,    7,    8,    2,    7,    8,
  2420. |         3,    7,    8,    4,    7,    8,    5,    7,    8,    6,
  2421. |         7,    8
  2422. |     } ;
  2423. |
  2424. | static const flex_int16_t yy_accept[14] =
  2425. |     {   0,
  2426. |         1,    1,    1,    2,    4,    5,    8,   11,   14,   17,
  2427. |        20,   23,   23
  2428. |     } ;
  2429. |
  2430. | static const YY_CHAR yy_ec[256] =
  2431. |     {   0,
  2432. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    2,
  2433. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  2434. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  2435. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  2436. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  2437. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  2438. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  2439. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  2440. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  2441. |         1,    1,    1,    1,    1,    1,    3,    4,    5,    6,
  2442. |
  2443. |         7,    8,    1,    1,    1,    1,    1,    1,    1,    1,
  2444. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  2445. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  2446. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  2447. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  2448. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  2449. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  2450. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  2451. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  2452. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  2453. |
  2454. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  2455. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  2456. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  2457. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  2458. |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
  2459. |         1,    1,    1,    1,    1
  2460. |     } ;
  2461. |
  2462. | static const YY_CHAR yy_meta[9] =
  2463. |     {   0,
  2464. |         1,    1,    1,    1,    1,    1,    1,    1
  2465. |     } ;
  2466. |
  2467. | static const flex_int16_t yy_base[13] =
  2468. |     {   0,
  2469. |         0,    0,    9,   10,   10,   10,   10,   10,   10,   10,
  2470. |        10,   10
  2471. |     } ;
  2472. |
  2473. | static const flex_int16_t yy_def[13] =
  2474. |     {   0,
  2475. |        12,    1,   12,   12,   12,   12,   12,   12,   12,   12,
  2476. |        12,    0
  2477. |     } ;
  2478. |
  2479. | static const flex_int16_t yy_nxt[19] =
  2480. |     {   0,
  2481. |         4,    5,    6,    7,    8,    9,   10,   11,   12,    3,
  2482. |        12,   12,   12,   12,   12,   12,   12,   12
  2483. |     } ;
  2484. |
  2485. | static const flex_int16_t yy_chk[19] =
  2486. |     {   0,
  2487. |         1,    1,    1,    1,    1,    1,    1,    1,    3,   12,
  2488. |        12,   12,   12,   12,   12,   12,   12,   12
  2489. |     } ;
  2490. |
  2491. | extern int yy_flex_debug;
  2492. | int yy_flex_debug = 0;
  2493. |
  2494. | static yy_state_type *yy_state_buf=0, *yy_state_ptr=0;
  2495. | static char *yy_full_match;
  2496. | static int yy_lp;
  2497. | #define REJECT \
  2498. | { \
  2499. | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \
  2500. | yy_cp = (yy_full_match); /* restore poss. backed-over text */ \
  2501. | ++(yy_lp); \
  2502. | goto find_rule; \
  2503. | }
  2504. |
  2505. | static int yy_more_flag = 0;
  2506. | static int yy_more_len = 0;
  2507. | #define yymore() ((yy_more_flag) = 1)
  2508. | #define YY_MORE_ADJ (yy_more_len)
  2509. | #define YY_RESTORE_YY_MORE_OFFSET
  2510. | char *yytext;
  2511. | #line 1 "conftest.l"
  2512. | #line 459 "lex.yy.c"
  2513. |
  2514. | #define INITIAL 0
  2515. |
  2516. | #ifndef YY_NO_UNISTD_H
  2517. | /* Special case for "unistd.h", since it is non-ANSI. We include it way
  2518. |  * down here because we want the user's section 1 to have been scanned first.
  2519. |  * The user has a chance to override it with an option.
  2520. |  */
  2521. | #include <unistd.h>
  2522. | #endif
  2523. |
  2524. | #ifndef YY_EXTRA_TYPE
  2525. | #define YY_EXTRA_TYPE void *
  2526. | #endif
  2527. |
  2528. | static int yy_init_globals ( void );
  2529. |
  2530. | /* Accessor methods to globals.
  2531. |    These are made visible to non-reentrant scanners for convenience. */
  2532. |
  2533. | int yylex_destroy ( void );
  2534. |
  2535. | int yyget_debug ( void );
  2536. |
  2537. | void yyset_debug ( int debug_flag  );
  2538. |
  2539. | YY_EXTRA_TYPE yyget_extra ( void );
  2540. |
  2541. | void yyset_extra ( YY_EXTRA_TYPE user_defined  );
  2542. |
  2543. | FILE *yyget_in ( void );
  2544. |
  2545. | void yyset_in  ( FILE * _in_str  );
  2546. |
  2547. | FILE *yyget_out ( void );
  2548. |
  2549. | void yyset_out  ( FILE * _out_str  );
  2550. |
  2551. |           int yyget_leng ( void );
  2552. |
  2553. | char *yyget_text ( void );
  2554. |
  2555. | int yyget_lineno ( void );
  2556. |
  2557. | void yyset_lineno ( int _line_number  );
  2558. |
  2559. | /* Macros after this point can all be overridden by user definitions in
  2560. |  * section 1.
  2561. |  */
  2562. |
  2563. | #ifndef YY_SKIP_YYWRAP
  2564. | #ifdef __cplusplus
  2565. | extern "C" int yywrap ( void );
  2566. | #else
  2567. | extern int yywrap ( void );
  2568. | #endif
  2569. | #endif
  2570. |
  2571. | #ifndef YY_NO_UNPUT
  2572. |
  2573. |     static void yyunput ( int c, char *buf_ptr  );
  2574. |
  2575. | #endif
  2576. |
  2577. | #ifndef yytext_ptr
  2578. | static void yy_flex_strncpy ( char *, const char *, int );
  2579. | #endif
  2580. |
  2581. | #ifdef YY_NEED_STRLEN
  2582. | static int yy_flex_strlen ( const char * );
  2583. | #endif
  2584. |
  2585. | #ifndef YY_NO_INPUT
  2586. | #ifdef __cplusplus
  2587. | static int yyinput ( void );
  2588. | #else
  2589. | static int input ( void );
  2590. | #endif
  2591. |
  2592. | #endif
  2593. |
  2594. | /* Amount of stuff to slurp up with each read. */
  2595. | #ifndef YY_READ_BUF_SIZE
  2596. | #ifdef __ia64__
  2597. | /* On IA-64, the buffer size is 16k, not 8k */
  2598. | #define YY_READ_BUF_SIZE 16384
  2599. | #else
  2600. | #define YY_READ_BUF_SIZE 8192
  2601. | #endif /* __ia64__ */
  2602. | #endif
  2603. |
  2604. | /* Copy whatever the last rule matched to the standard output. */
  2605. | #ifndef ECHO
  2606. | /* This used to be an fputs(), but since the string might contain NUL's,
  2607. |  * we now use fwrite().
  2608. |  */
  2609. | #define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0)
  2610. | #endif
  2611. |
  2612. | /* Gets input and stuffs it into "buf".  number of characters read, or YY_NULL,
  2613. |  * is returned in "result".
  2614. |  */
  2615. | #ifndef YY_INPUT
  2616. | #define YY_INPUT(buf,result,max_size) \
  2617. |   if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
  2618. |       { \
  2619. |       int c = '*'; \
  2620. |       int n; \
  2621. |       for ( n = 0; n < max_size && \
  2622. |                (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
  2623. |           buf[n] = (char) c; \
  2624. |       if ( c == '\n' ) \
  2625. |           buf[n++] = (char) c; \
  2626. |       if ( c == EOF && ferror( yyin ) ) \
  2627. |           YY_FATAL_ERROR( "input in flex scanner failed" ); \
  2628. |       result = n; \
  2629. |       } \
  2630. |   else \
  2631. |       { \
  2632. |       errno=0; \
  2633. |       while ( (result = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \
  2634. |           { \
  2635. |           if( errno != EINTR) \
  2636. |               { \
  2637. |               YY_FATAL_ERROR( "input in flex scanner failed" ); \
  2638. |               break; \
  2639. |               } \
  2640. |           errno=0; \
  2641. |           clearerr(yyin); \
  2642. |           } \
  2643. |       }\
  2644. | \
  2645. |
  2646. | #endif
  2647. |
  2648. | /* No semi-colon after return; correct usage is to write "yyterminate();" -
  2649. |  * we don't want an extra ';' after the "return" because that will cause
  2650. |  * some compilers to complain about unreachable statements.
  2651. |  */
  2652. | #ifndef yyterminate
  2653. | #define yyterminate() return YY_NULL
  2654. | #endif
  2655. |
  2656. | /* Number of entries by which start-condition stack grows. */
  2657. | #ifndef YY_START_STACK_INCR
  2658. | #define YY_START_STACK_INCR 25
  2659. | #endif
  2660. |
  2661. | /* Report a fatal error. */
  2662. | #ifndef YY_FATAL_ERROR
  2663. | #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
  2664. | #endif
  2665. |
  2666. | /* end tables serialization structures and prototypes */
  2667. |
  2668. | /* Default declaration of generated scanner - a define so the user can
  2669. |  * easily add parameters.
  2670. |  */
  2671. | #ifndef YY_DECL
  2672. | #define YY_DECL_IS_OURS 1
  2673. |
  2674. | extern int yylex (void);
  2675. |
  2676. | #define YY_DECL int yylex (void)
  2677. | #endif /* !YY_DECL */
  2678. |
  2679. | /* Code executed at the beginning of each rule, after yytext and yyleng
  2680. |  * have been set up.
  2681. |  */
  2682. | #ifndef YY_USER_ACTION
  2683. | #define YY_USER_ACTION
  2684. | #endif
  2685. |
  2686. | /* Code executed at the end of each rule. */
  2687. | #ifndef YY_BREAK
  2688. | #define YY_BREAK /*LINTED*/break;
  2689. | #endif
  2690. |
  2691. | #define YY_RULE_SETUP \
  2692. |   YY_USER_ACTION
  2693. |
  2694. | /** The main scanner function which does all the work.
  2695. |  */
  2696. | YY_DECL
  2697. | {
  2698. |   yy_state_type yy_current_state;
  2699. |   char *yy_cp, *yy_bp;
  2700. |   int yy_act;
  2701. |
  2702. |   if ( !(yy_init) )
  2703. |       {
  2704. |       (yy_init) = 1;
  2705. |
  2706. | #ifdef YY_USER_INIT
  2707. |       YY_USER_INIT;
  2708. | #endif
  2709. |
  2710. |         /* Create the reject buffer large enough to save one state per allowed character. */
  2711. |         if ( ! (yy_state_buf) )
  2712. |             (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE  );
  2713. |             if ( ! (yy_state_buf) )
  2714. |                 YY_FATAL_ERROR( "out of dynamic memory in yylex()" );
  2715. |
  2716. |       if ( ! (yy_start) )
  2717. |           (yy_start) = 1; /* first start state */
  2718. |
  2719. |       if ( ! yyin )
  2720. |           yyin = stdin;
  2721. |
  2722. |       if ( ! yyout )
  2723. |           yyout = stdout;
  2724. |
  2725. |       if ( ! YY_CURRENT_BUFFER ) {
  2726. |           yyensure_buffer_stack ();
  2727. |           YY_CURRENT_BUFFER_LVALUE =
  2728. |               yy_create_buffer( yyin, YY_BUF_SIZE );
  2729. |       }
  2730. |
  2731. |       yy_load_buffer_state(  );
  2732. |       }
  2733. |
  2734. |   {
  2735. | #line 1 "conftest.l"
  2736. |
  2737. | #line 684 "lex.yy.c"
  2738. |
  2739. |   while ( /*CONSTCOND*/1 )        /* loops until end-of-file is reached */
  2740. |       {
  2741. |       (yy_more_len) = 0;
  2742. |       if ( (yy_more_flag) )
  2743. |           {
  2744. |           (yy_more_len) = (int) ((yy_c_buf_p) - (yytext_ptr));
  2745. |           (yy_more_flag) = 0;
  2746. |           }
  2747. |       yy_cp = (yy_c_buf_p);
  2748. |
  2749. |       /* Support of yytext. */
  2750. |       *yy_cp = (yy_hold_char);
  2751. |
  2752. |       /* yy_bp points to the position in yy_ch_buf of the start of
  2753. |        * the current run.
  2754. |        */
  2755. |       yy_bp = yy_cp;
  2756. |
  2757. |       yy_current_state = (yy_start);
  2758. |
  2759. |       (yy_state_ptr) = (yy_state_buf);
  2760. |       *(yy_state_ptr)++ = yy_current_state;
  2761. |
  2762. | yy_match:
  2763. |       do
  2764. |           {
  2765. |           YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ;
  2766. |           while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  2767. |               {
  2768. |               yy_current_state = (int) yy_def[yy_current_state];
  2769. |               if ( yy_current_state >= 13 )
  2770. |                   yy_c = yy_meta[yy_c];
  2771. |               }
  2772. |           yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
  2773. |           *(yy_state_ptr)++ = yy_current_state;
  2774. |           ++yy_cp;
  2775. |           }
  2776. |       while ( yy_base[yy_current_state] != 10 );
  2777. |
  2778. | yy_find_action:
  2779. |       yy_current_state = *--(yy_state_ptr);
  2780. |       (yy_lp) = yy_accept[yy_current_state];
  2781. |
  2782. | find_rule: /* we branch to this label when backing up */
  2783. |
  2784. |       for ( ; ; ) /* until we find what rule we matched */
  2785. |           {
  2786. |           if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] )
  2787. |               {
  2788. |               yy_act = yy_acclist[(yy_lp)];
  2789. |                   {
  2790. |                   (yy_full_match) = yy_cp;
  2791. |                   break;
  2792. |                   }
  2793. |               }
  2794. |           --yy_cp;
  2795. |           yy_current_state = *--(yy_state_ptr);
  2796. |           (yy_lp) = yy_accept[yy_current_state];
  2797. |           }
  2798. |
  2799. |       YY_DO_BEFORE_ACTION;
  2800. |
  2801. | do_action:    /* This label is used only to access EOF actions. */
  2802. |
  2803. |       switch ( yy_act )
  2804. |   { /* beginning of action switch */
  2805. | case 1:
  2806. | YY_RULE_SETUP
  2807. | #line 2 "conftest.l"
  2808. | { ECHO; }
  2809. |   YY_BREAK
  2810. | case 2:
  2811. | YY_RULE_SETUP
  2812. | #line 3 "conftest.l"
  2813. | { REJECT; }
  2814. |   YY_BREAK
  2815. | case 3:
  2816. | YY_RULE_SETUP
  2817. | #line 4 "conftest.l"
  2818. | { yymore (); }
  2819. |   YY_BREAK
  2820. | case 4:
  2821. | YY_RULE_SETUP
  2822. | #line 5 "conftest.l"
  2823. | { yyless (1); }
  2824. |   YY_BREAK
  2825. | case 5:
  2826. | YY_RULE_SETUP
  2827. | #line 6 "conftest.l"
  2828. | { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
  2829. |     yyless ((input () != 0)); }
  2830. |   YY_BREAK
  2831. | case 6:
  2832. | YY_RULE_SETUP
  2833. | #line 8 "conftest.l"
  2834. | { unput (yytext[0]); }
  2835. |   YY_BREAK
  2836. | case 7:
  2837. | YY_RULE_SETUP
  2838. | #line 9 "conftest.l"
  2839. | { BEGIN INITIAL; }
  2840. |   YY_BREAK
  2841. | case 8:
  2842. | YY_RULE_SETUP
  2843. | #line 10 "conftest.l"
  2844. | ECHO;
  2845. |   YY_BREAK
  2846. | #line 793 "lex.yy.c"
  2847. |           case YY_STATE_EOF(INITIAL):
  2848. |               yyterminate();
  2849. |
  2850. |   case YY_END_OF_BUFFER:
  2851. |       {
  2852. |       /* Amount of text matched not including the EOB char. */
  2853. |       int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
  2854. |
  2855. |       /* Undo the effects of YY_DO_BEFORE_ACTION. */
  2856. |       *yy_cp = (yy_hold_char);
  2857. |       YY_RESTORE_YY_MORE_OFFSET
  2858. |
  2859. |       if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
  2860. |           {
  2861. |           /* We're scanning a new file or input source.  It's
  2862. |            * possible that this happened because the user
  2863. |            * just pointed yyin at a new source and called
  2864. |            * yylex().  If so, then we have to assure
  2865. |            * consistency between YY_CURRENT_BUFFER and our
  2866. |            * globals.  Here is the right place to do so, because
  2867. |            * this is the first action (other than possibly a
  2868. |            * back-up) that will match for the new input source.
  2869. |            */
  2870. |           (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  2871. |           YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
  2872. |           YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
  2873. |           }
  2874. |
  2875. |       /* Note that here we test for yy_c_buf_p "<=" to the position
  2876. |        * of the first EOB in the buffer, since yy_c_buf_p will
  2877. |        * already have been incremented past the NUL character
  2878. |        * (since all states make transitions on EOB to the
  2879. |        * end-of-buffer state).  Contrast this with the test
  2880. |        * in input().
  2881. |        */
  2882. |       if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
  2883. |           { /* This was really a NUL. */
  2884. |           yy_state_type yy_next_state;
  2885. |
  2886. |           (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
  2887. |
  2888. |           yy_current_state = yy_get_previous_state(  );
  2889. |
  2890. |           /* Okay, we're now positioned to make the NUL
  2891. |            * transition.  We couldn't have
  2892. |            * yy_get_previous_state() go ahead and do it
  2893. |            * for us because it doesn't know how to deal
  2894. |            * with the possibility of jamming (and we don't
  2895. |            * want to build jamming into it because then it
  2896. |            * will run more slowly).
  2897. |            */
  2898. |
  2899. |           yy_next_state = yy_try_NUL_trans( yy_current_state );
  2900. |
  2901. |           yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  2902. |
  2903. |           if ( yy_next_state )
  2904. |               {
  2905. |               /* Consume the NUL. */
  2906. |               yy_cp = ++(yy_c_buf_p);
  2907. |               yy_current_state = yy_next_state;
  2908. |               goto yy_match;
  2909. |               }
  2910. |
  2911. |           else
  2912. |               {
  2913. |               yy_cp = (yy_c_buf_p);
  2914. |               goto yy_find_action;
  2915. |               }
  2916. |           }
  2917. |
  2918. |       else switch ( yy_get_next_buffer(  ) )
  2919. |           {
  2920. |           case EOB_ACT_END_OF_FILE:
  2921. |               {
  2922. |               (yy_did_buffer_switch_on_eof) = 0;
  2923. |
  2924. |               if ( yywrap(  ) )
  2925. |                   {
  2926. |                   /* Note: because we've taken care in
  2927. |                    * yy_get_next_buffer() to have set up
  2928. |                    * yytext, we can now set up
  2929. |                    * yy_c_buf_p so that if some total
  2930. |                    * hoser (like flex itself) wants to
  2931. |                    * call the scanner after we return the
  2932. |                    * YY_NULL, it'll still work - another
  2933. |                    * YY_NULL will get returned.
  2934. |                    */
  2935. |                   (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
  2936. |
  2937. |                   yy_act = YY_STATE_EOF(YY_START);
  2938. |                   goto do_action;
  2939. |                   }
  2940. |
  2941. |               else
  2942. |                   {
  2943. |                   if ( ! (yy_did_buffer_switch_on_eof) )
  2944. |                       YY_NEW_FILE;
  2945. |                   }
  2946. |               break;
  2947. |               }
  2948. |
  2949. |           case EOB_ACT_CONTINUE_SCAN:
  2950. |               (yy_c_buf_p) =
  2951. |                   (yytext_ptr) + yy_amount_of_matched_text;
  2952. |
  2953. |               yy_current_state = yy_get_previous_state(  );
  2954. |
  2955. |               yy_cp = (yy_c_buf_p);
  2956. |               yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  2957. |               goto yy_match;
  2958. |
  2959. |           case EOB_ACT_LAST_MATCH:
  2960. |               (yy_c_buf_p) =
  2961. |               &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
  2962. |
  2963. |               yy_current_state = yy_get_previous_state(  );
  2964. |
  2965. |               yy_cp = (yy_c_buf_p);
  2966. |               yy_bp = (yytext_ptr) + YY_MORE_ADJ;
  2967. |               goto yy_find_action;
  2968. |           }
  2969. |       break;
  2970. |       }
  2971. |
  2972. |   default:
  2973. |       YY_FATAL_ERROR(
  2974. |           "fatal flex scanner internal error--no action found" );
  2975. |   } /* end of action switch */
  2976. |       } /* end of scanning one token */
  2977. |   } /* end of user's declarations */
  2978. | } /* end of yylex */
  2979. |
  2980. | /* yy_get_next_buffer - try to read in a new buffer
  2981. |  *
  2982. |  * Returns a code representing an action:
  2983. |  *    EOB_ACT_LAST_MATCH -
  2984. |  *    EOB_ACT_CONTINUE_SCAN - continue scanning from current position
  2985. |  *    EOB_ACT_END_OF_FILE - end of file
  2986. |  */
  2987. | static int yy_get_next_buffer (void)
  2988. | {
  2989. |       char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
  2990. |   char *source = (yytext_ptr);
  2991. |   int number_to_move, i;
  2992. |   int ret_val;
  2993. |
  2994. |   if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
  2995. |       YY_FATAL_ERROR(
  2996. |       "fatal flex scanner internal error--end of buffer missed" );
  2997. |
  2998. |   if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
  2999. |       { /* Don't try to fill the buffer, so this is an EOF. */
  3000. |       if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
  3001. |           {
  3002. |           /* We matched a single character, the EOB, so
  3003. |            * treat this as a final EOF.
  3004. |            */
  3005. |           return EOB_ACT_END_OF_FILE;
  3006. |           }
  3007. |
  3008. |       else
  3009. |           {
  3010. |           /* We matched some text prior to the EOB, first
  3011. |            * process it.
  3012. |            */
  3013. |           return EOB_ACT_LAST_MATCH;
  3014. |           }
  3015. |       }
  3016. |
  3017. |   /* Try to read more data. */
  3018. |
  3019. |   /* First move last chars to start of buffer. */
  3020. |   number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr) - 1);
  3021. |
  3022. |   for ( i = 0; i < number_to_move; ++i )
  3023. |       *(dest++) = *(source++);
  3024. |
  3025. |   if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
  3026. |       /* don't do the read, it's not guaranteed to return an EOF,
  3027. |        * just force an EOF
  3028. |        */
  3029. |       YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
  3030. |
  3031. |   else
  3032. |       {
  3033. |           int num_to_read =
  3034. |           YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
  3035. |
  3036. |       while ( num_to_read <= 0 )
  3037. |           { /* Not enough room in the buffer - grow it. */
  3038. |
  3039. |           YY_FATAL_ERROR(
  3040. | "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
  3041. |
  3042. |           }
  3043. |
  3044. |       if ( num_to_read > YY_READ_BUF_SIZE )
  3045. |           num_to_read = YY_READ_BUF_SIZE;
  3046. |
  3047. |       /* Read in more data. */
  3048. |       YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
  3049. |           (yy_n_chars), num_to_read );
  3050. |
  3051. |       YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  3052. |       }
  3053. |
  3054. |   if ( (yy_n_chars) == 0 )
  3055. |       {
  3056. |       if ( number_to_move == YY_MORE_ADJ )
  3057. |           {
  3058. |           ret_val = EOB_ACT_END_OF_FILE;
  3059. |           yyrestart( yyin  );
  3060. |           }
  3061. |
  3062. |       else
  3063. |           {
  3064. |           ret_val = EOB_ACT_LAST_MATCH;
  3065. |           YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
  3066. |               YY_BUFFER_EOF_PENDING;
  3067. |           }
  3068. |       }
  3069. |
  3070. |   else
  3071. |       ret_val = EOB_ACT_CONTINUE_SCAN;
  3072. |
  3073. |   if (((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
  3074. |       /* Extend the array by 50%, plus the number we really need. */
  3075. |       int new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
  3076. |       YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc(
  3077. |           (void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf, (yy_size_t) new_size  );
  3078. |       if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  3079. |           YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
  3080. |       /* "- 2" to take care of EOB's */
  3081. |       YY_CURRENT_BUFFER_LVALUE->yy_buf_size = (int) (new_size - 2);
  3082. |   }
  3083. |
  3084. |   (yy_n_chars) += number_to_move;
  3085. |   YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
  3086. |   YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
  3087. |
  3088. |   (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
  3089. |
  3090. |   return ret_val;
  3091. | }
  3092. |
  3093. | /* yy_get_previous_state - get the state just before the EOB char was reached */
  3094. |
  3095. |     static yy_state_type yy_get_previous_state (void)
  3096. | {
  3097. |   yy_state_type yy_current_state;
  3098. |   char *yy_cp;
  3099. |
  3100. |   yy_current_state = (yy_start);
  3101. |
  3102. |   (yy_state_ptr) = (yy_state_buf);
  3103. |   *(yy_state_ptr)++ = yy_current_state;
  3104. |
  3105. |   for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
  3106. |       {
  3107. |       YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
  3108. |       while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  3109. |           {
  3110. |           yy_current_state = (int) yy_def[yy_current_state];
  3111. |           if ( yy_current_state >= 13 )
  3112. |               yy_c = yy_meta[yy_c];
  3113. |           }
  3114. |       yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
  3115. |       *(yy_state_ptr)++ = yy_current_state;
  3116. |       }
  3117. |
  3118. |   return yy_current_state;
  3119. | }
  3120. |
  3121. | /* yy_try_NUL_trans - try to make a transition on the NUL character
  3122. |  *
  3123. |  * synopsis
  3124. |  *    next_state = yy_try_NUL_trans( current_state );
  3125. |  */
  3126. |     static yy_state_type yy_try_NUL_trans  (yy_state_type yy_current_state )
  3127. | {
  3128. |   int yy_is_jam;
  3129. |
  3130. |   YY_CHAR yy_c = 1;
  3131. |   while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  3132. |       {
  3133. |       yy_current_state = (int) yy_def[yy_current_state];
  3134. |       if ( yy_current_state >= 13 )
  3135. |           yy_c = yy_meta[yy_c];
  3136. |       }
  3137. |   yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
  3138. |   yy_is_jam = (yy_current_state == 12);
  3139. |   if ( ! yy_is_jam )
  3140. |       *(yy_state_ptr)++ = yy_current_state;
  3141. |
  3142. |       return yy_is_jam ? 0 : yy_current_state;
  3143. | }
  3144. |
  3145. | #ifndef YY_NO_UNPUT
  3146. |
  3147. |     static void yyunput (int c, char * yy_bp )
  3148. | {
  3149. |   char *yy_cp;
  3150. |
  3151. |     yy_cp = (yy_c_buf_p);
  3152. |
  3153. |   /* undo effects of setting up yytext */
  3154. |   *yy_cp = (yy_hold_char);
  3155. |
  3156. |   if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  3157. |       { /* need to shift things up to make room */
  3158. |       /* +2 for EOB chars. */
  3159. |       int number_to_move = (yy_n_chars) + 2;
  3160. |       char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
  3161. |                   YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
  3162. |       char *source =
  3163. |               &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
  3164. |
  3165. |       while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  3166. |           *--dest = *--source;
  3167. |
  3168. |       yy_cp += (int) (dest - source);
  3169. |       yy_bp += (int) (dest - source);
  3170. |       YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
  3171. |           (yy_n_chars) = (int) YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
  3172. |
  3173. |       if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  3174. |           YY_FATAL_ERROR( "flex scanner push-back overflow" );
  3175. |       }
  3176. |
  3177. |   *--yy_cp = (char) c;
  3178. |
  3179. |   (yytext_ptr) = yy_bp;
  3180. |   (yy_hold_char) = *yy_cp;
  3181. |   (yy_c_buf_p) = yy_cp;
  3182. | }
  3183. |
  3184. | #endif
  3185. |
  3186. | #ifndef YY_NO_INPUT
  3187. | #ifdef __cplusplus
  3188. |     static int yyinput (void)
  3189. | #else
  3190. |     static int input  (void)
  3191. | #endif
  3192. |
  3193. | {
  3194. |   int c;
  3195. |
  3196. |   *(yy_c_buf_p) = (yy_hold_char);
  3197. |
  3198. |   if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
  3199. |       {
  3200. |       /* yy_c_buf_p now points to the character we want to return.
  3201. |        * If this occurs *before* the EOB characters, then it's a
  3202. |        * valid NUL; if not, then we've hit the end of the buffer.
  3203. |        */
  3204. |       if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
  3205. |           /* This was really a NUL. */
  3206. |           *(yy_c_buf_p) = '\0';
  3207. |
  3208. |       else
  3209. |           { /* need more input */
  3210. |           int offset = (int) ((yy_c_buf_p) - (yytext_ptr));
  3211. |           ++(yy_c_buf_p);
  3212. |
  3213. |           switch ( yy_get_next_buffer(  ) )
  3214. |               {
  3215. |               case EOB_ACT_LAST_MATCH:
  3216. |                   /* This happens because yy_g_n_b()
  3217. |                    * sees that we've accumulated a
  3218. |                    * token and flags that we need to
  3219. |                    * try matching the token before
  3220. |                    * proceeding.  But for input(),
  3221. |                    * there's no matching to consider.
  3222. |                    * So convert the EOB_ACT_LAST_MATCH
  3223. |                    * to EOB_ACT_END_OF_FILE.
  3224. |                    */
  3225. |
  3226. |                   /* Reset buffer status. */
  3227. |                   yyrestart( yyin );
  3228. |
  3229. |                   /*FALLTHROUGH*/
  3230. |
  3231. |               case EOB_ACT_END_OF_FILE:
  3232. |                   {
  3233. |                   if ( yywrap(  ) )
  3234. |                       return 0;
  3235. |
  3236. |                   if ( ! (yy_did_buffer_switch_on_eof) )
  3237. |                       YY_NEW_FILE;
  3238. | #ifdef __cplusplus
  3239. |                   return yyinput();
  3240. | #else
  3241. |                   return input();
  3242. | #endif
  3243. |                   }
  3244. |
  3245. |               case EOB_ACT_CONTINUE_SCAN:
  3246. |                   (yy_c_buf_p) = (yytext_ptr) + offset;
  3247. |                   break;
  3248. |               }
  3249. |           }
  3250. |       }
  3251. |
  3252. |   c = *(unsigned char *) (yy_c_buf_p);    /* cast for 8-bit char's */
  3253. |   *(yy_c_buf_p) = '\0';   /* preserve yytext */
  3254. |   (yy_hold_char) = *++(yy_c_buf_p);
  3255. |
  3256. |   return c;
  3257. | }
  3258. | #endif    /* ifndef YY_NO_INPUT */
  3259. |
  3260. | /** Immediately switch to a different input stream.
  3261. |  * @param input_file A readable stream.
  3262. |  *
  3263. |  * @note This function does not reset the start condition to @c INITIAL .
  3264. |  */
  3265. |     void yyrestart  (FILE * input_file )
  3266. | {
  3267. |
  3268. |   if ( ! YY_CURRENT_BUFFER ){
  3269. |         yyensure_buffer_stack ();
  3270. |       YY_CURRENT_BUFFER_LVALUE =
  3271. |             yy_create_buffer( yyin, YY_BUF_SIZE );
  3272. |   }
  3273. |
  3274. |   yy_init_buffer( YY_CURRENT_BUFFER, input_file );
  3275. |   yy_load_buffer_state(  );
  3276. | }
  3277. |
  3278. | /** Switch to a different input buffer.
  3279. |  * @param new_buffer The new input buffer.
  3280. |  *
  3281. |  */
  3282. |     void yy_switch_to_buffer  (YY_BUFFER_STATE  new_buffer )
  3283. | {
  3284. |
  3285. |   /* TODO. We should be able to replace this entire function body
  3286. |    * with
  3287. |    *      yypop_buffer_state();
  3288. |    *      yypush_buffer_state(new_buffer);
  3289. |      */
  3290. |   yyensure_buffer_stack ();
  3291. |   if ( YY_CURRENT_BUFFER == new_buffer )
  3292. |       return;
  3293. |
  3294. |   if ( YY_CURRENT_BUFFER )
  3295. |       {
  3296. |       /* Flush out information for old buffer. */
  3297. |       *(yy_c_buf_p) = (yy_hold_char);
  3298. |       YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
  3299. |       YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  3300. |       }
  3301. |
  3302. |   YY_CURRENT_BUFFER_LVALUE = new_buffer;
  3303. |   yy_load_buffer_state(  );
  3304. |
  3305. |   /* We don't actually know whether we did this switch during
  3306. |    * EOF (yywrap()) processing, but the only time this flag
  3307. |    * is looked at is after yywrap() is called, so it's safe
  3308. |    * to go ahead and always set it.
  3309. |    */
  3310. |   (yy_did_buffer_switch_on_eof) = 1;
  3311. | }
  3312. |
  3313. | static void yy_load_buffer_state  (void)
  3314. | {
  3315. |       (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  3316. |   (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
  3317. |   yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
  3318. |   (yy_hold_char) = *(yy_c_buf_p);
  3319. | }
  3320. |
  3321. | /** Allocate and initialize an input buffer state.
  3322. |  * @param file A readable stream.
  3323. |  * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
  3324. |  *
  3325. |  * @return the allocated buffer state.
  3326. |  */
  3327. |     YY_BUFFER_STATE yy_create_buffer  (FILE * file, int  size )
  3328. | {
  3329. |   YY_BUFFER_STATE b;
  3330. |
  3331. |   b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state )  );
  3332. |   if ( ! b )
  3333. |       YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  3334. |
  3335. |   b->yy_buf_size = size;
  3336. |
  3337. |   /* yy_ch_buf has to be 2 characters longer than the size given because
  3338. |    * we need to put in 2 end-of-buffer characters.
  3339. |    */
  3340. |   b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2)  );
  3341. |   if ( ! b->yy_ch_buf )
  3342. |       YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
  3343. |
  3344. |   b->yy_is_our_buffer = 1;
  3345. |
  3346. |   yy_init_buffer( b, file );
  3347. |
  3348. |   return b;
  3349. | }
  3350. |
  3351. | /** Destroy the buffer.
  3352. |  * @param b a buffer created with yy_create_buffer()
  3353. |  *
  3354. |  */
  3355. |     void yy_delete_buffer (YY_BUFFER_STATE  b )
  3356. | {
  3357. |
  3358. |   if ( ! b )
  3359. |       return;
  3360. |
  3361. |   if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
  3362. |       YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
  3363. |
  3364. |   if ( b->yy_is_our_buffer )
  3365. |       yyfree( (void *) b->yy_ch_buf  );
  3366. |
  3367. |   yyfree( (void *) b  );
  3368. | }
  3369. |
  3370. | /* Initializes or reinitializes a buffer.
  3371. |  * This function is sometimes called more than once on the same buffer,
  3372. |  * such as during a yyrestart() or at EOF.
  3373. |  */
  3374. |     static void yy_init_buffer  (YY_BUFFER_STATE  b, FILE * file )
  3375. |
  3376. | {
  3377. |   int oerrno = errno;
  3378. |
  3379. |   yy_flush_buffer( b );
  3380. |
  3381. |   b->yy_input_file = file;
  3382. |   b->yy_fill_buffer = 1;
  3383. |
  3384. |     /* If b is the current buffer, then yy_init_buffer was _probably_
  3385. |      * called from yyrestart() or through yy_get_next_buffer.
  3386. |      * In that case, we don't want to reset the lineno or column.
  3387. |      */
  3388. |     if (b != YY_CURRENT_BUFFER){
  3389. |         b->yy_bs_lineno = 1;
  3390. |         b->yy_bs_column = 0;
  3391. |     }
  3392. |
  3393. |         b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
  3394. |
  3395. |   errno = oerrno;
  3396. | }
  3397. |
  3398. | /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
  3399. |  * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
  3400. |  *
  3401. |  */
  3402. |     void yy_flush_buffer (YY_BUFFER_STATE  b )
  3403. | {
  3404. |       if ( ! b )
  3405. |       return;
  3406. |
  3407. |   b->yy_n_chars = 0;
  3408. |
  3409. |   /* We always need two end-of-buffer characters.  The first causes
  3410. |    * a transition to the end-of-buffer state.  The second causes
  3411. |    * a jam in that state.
  3412. |    */
  3413. |   b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
  3414. |   b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
  3415. |
  3416. |   b->yy_buf_pos = &b->yy_ch_buf[0];
  3417. |
  3418. |   b->yy_at_bol = 1;
  3419. |   b->yy_buffer_status = YY_BUFFER_NEW;
  3420. |
  3421. |   if ( b == YY_CURRENT_BUFFER )
  3422. |       yy_load_buffer_state(  );
  3423. | }
  3424. |
  3425. | /** Pushes the new state onto the stack. The new state becomes
  3426. |  *  the current state. This function will allocate the stack
  3427. |  *  if necessary.
  3428. |  *  @param new_buffer The new state.
  3429. |  *
  3430. |  */
  3431. | void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
  3432. | {
  3433. |       if (new_buffer == NULL)
  3434. |       return;
  3435. |
  3436. |   yyensure_buffer_stack();
  3437. |
  3438. |   /* This block is copied from yy_switch_to_buffer. */
  3439. |   if ( YY_CURRENT_BUFFER )
  3440. |       {
  3441. |       /* Flush out information for old buffer. */
  3442. |       *(yy_c_buf_p) = (yy_hold_char);
  3443. |       YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
  3444. |       YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
  3445. |       }
  3446. |
  3447. |   /* Only push if top exists. Otherwise, replace top. */
  3448. |   if (YY_CURRENT_BUFFER)
  3449. |       (yy_buffer_stack_top)++;
  3450. |   YY_CURRENT_BUFFER_LVALUE = new_buffer;
  3451. |
  3452. |   /* copied from yy_switch_to_buffer. */
  3453. |   yy_load_buffer_state(  );
  3454. |   (yy_did_buffer_switch_on_eof) = 1;
  3455. | }
  3456. |
  3457. | /** Removes and deletes the top of the stack, if present.
  3458. |  *  The next element becomes the new top.
  3459. |  *
  3460. |  */
  3461. | void yypop_buffer_state (void)
  3462. | {
  3463. |       if (!YY_CURRENT_BUFFER)
  3464. |       return;
  3465. |
  3466. |   yy_delete_buffer(YY_CURRENT_BUFFER );
  3467. |   YY_CURRENT_BUFFER_LVALUE = NULL;
  3468. |   if ((yy_buffer_stack_top) > 0)
  3469. |       --(yy_buffer_stack_top);
  3470. |
  3471. |   if (YY_CURRENT_BUFFER) {
  3472. |       yy_load_buffer_state(  );
  3473. |       (yy_did_buffer_switch_on_eof) = 1;
  3474. |   }
  3475. | }
  3476. |
  3477. | /* Allocates the stack if it does not exist.
  3478. |  *  Guarantees space for at least one push.
  3479. |  */
  3480. | static void yyensure_buffer_stack (void)
  3481. | {
  3482. |   yy_size_t num_to_alloc;
  3483. |
  3484. |   if (!(yy_buffer_stack)) {
  3485. |
  3486. |       /* First allocation is just for 2 elements, since we don't know if this
  3487. |        * scanner will even need a stack. We use 2 instead of 1 to avoid an
  3488. |        * immediate realloc on the next call.
  3489. |          */
  3490. |       num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */
  3491. |       (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
  3492. |                               (num_to_alloc * sizeof(struct yy_buffer_state*)
  3493. |                               );
  3494. |       if ( ! (yy_buffer_stack) )
  3495. |           YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  3496. |
  3497. |       memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
  3498. |
  3499. |       (yy_buffer_stack_max) = num_to_alloc;
  3500. |       (yy_buffer_stack_top) = 0;
  3501. |       return;
  3502. |   }
  3503. |
  3504. |   if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
  3505. |
  3506. |       /* Increase the buffer to prepare for a possible push. */
  3507. |       yy_size_t grow_size = 8 /* arbitrary grow size */;
  3508. |
  3509. |       num_to_alloc = (yy_buffer_stack_max) + grow_size;
  3510. |       (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
  3511. |                               ((yy_buffer_stack),
  3512. |                               num_to_alloc * sizeof(struct yy_buffer_state*)
  3513. |                               );
  3514. |       if ( ! (yy_buffer_stack) )
  3515. |           YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
  3516. |
  3517. |       /* zero only the new slots.*/
  3518. |       memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
  3519. |       (yy_buffer_stack_max) = num_to_alloc;
  3520. |   }
  3521. | }
  3522. |
  3523. | /** Setup the input buffer state to scan directly from a user-specified character buffer.
  3524. |  * @param base the character buffer
  3525. |  * @param size the size in bytes of the character buffer
  3526. |  *
  3527. |  * @return the newly allocated buffer state object.
  3528. |  */
  3529. | YY_BUFFER_STATE yy_scan_buffer  (char * base, yy_size_t  size )
  3530. | {
  3531. |   YY_BUFFER_STATE b;
  3532. |
  3533. |   if ( size < 2 ||
  3534. |        base[size-2] != YY_END_OF_BUFFER_CHAR ||
  3535. |        base[size-1] != YY_END_OF_BUFFER_CHAR )
  3536. |       /* They forgot to leave room for the EOB's. */
  3537. |       return NULL;
  3538. |
  3539. |   b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state )  );
  3540. |   if ( ! b )
  3541. |       YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
  3542. |
  3543. |   b->yy_buf_size = (int) (size - 2);  /* "- 2" to take care of EOB's */
  3544. |   b->yy_buf_pos = b->yy_ch_buf = base;
  3545. |   b->yy_is_our_buffer = 0;
  3546. |   b->yy_input_file = NULL;
  3547. |   b->yy_n_chars = b->yy_buf_size;
  3548. |   b->yy_is_interactive = 0;
  3549. |   b->yy_at_bol = 1;
  3550. |   b->yy_fill_buffer = 0;
  3551. |   b->yy_buffer_status = YY_BUFFER_NEW;
  3552. |
  3553. |   yy_switch_to_buffer( b  );
  3554. |
  3555. |   return b;
  3556. | }
  3557. |
  3558. | /** Setup the input buffer state to scan a string. The next call to yylex() will
  3559. |  * scan from a @e copy of @a str.
  3560. |  * @param yystr a NUL-terminated string to scan
  3561. |  *
  3562. |  * @return the newly allocated buffer state object.
  3563. |  * @note If you want to scan bytes that may contain NUL values, then use
  3564. |  *       yy_scan_bytes() instead.
  3565. |  */
  3566. | YY_BUFFER_STATE yy_scan_string (const char * yystr )
  3567. | {
  3568. |
  3569. |   return yy_scan_bytes( yystr, (int) strlen(yystr) );
  3570. | }
  3571. |
  3572. | /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
  3573. |  * scan from a @e copy of @a bytes.
  3574. |  * @param yybytes the byte buffer to scan
  3575. |  * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
  3576. |  *
  3577. |  * @return the newly allocated buffer state object.
  3578. |  */
  3579. | YY_BUFFER_STATE yy_scan_bytes  (const char * yybytes, int  _yybytes_len )
  3580. | {
  3581. |   YY_BUFFER_STATE b;
  3582. |   char *buf;
  3583. |   yy_size_t n;
  3584. |   int i;
  3585. |
  3586. |   /* Get memory for full buffer, including space for trailing EOB's. */
  3587. |   n = (yy_size_t) (_yybytes_len + 2);
  3588. |   buf = (char *) yyalloc( n  );
  3589. |   if ( ! buf )
  3590. |       YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
  3591. |
  3592. |   for ( i = 0; i < _yybytes_len; ++i )
  3593. |       buf[i] = yybytes[i];
  3594. |
  3595. |   buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
  3596. |
  3597. |   b = yy_scan_buffer( buf, n );
  3598. |   if ( ! b )
  3599. |       YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
  3600. |
  3601. |   /* It's okay to grow etc. this buffer, and we should throw it
  3602. |    * away when we're done.
  3603. |    */
  3604. |   b->yy_is_our_buffer = 1;
  3605. |
  3606. |   return b;
  3607. | }
  3608. |
  3609. | #ifndef YY_EXIT_FAILURE
  3610. | #define YY_EXIT_FAILURE 2
  3611. | #endif
  3612. |
  3613. | static void yynoreturn yy_fatal_error (const char* msg )
  3614. | {
  3615. |           fprintf( stderr, "%s\n", msg );
  3616. |   exit( YY_EXIT_FAILURE );
  3617. | }
  3618. |
  3619. | /* Redefine yyless() so it works in section 3 code. */
  3620. |
  3621. | #undef yyless
  3622. | #define yyless(n) \
  3623. |   do \
  3624. |       { \
  3625. |       /* Undo effects of setting up yytext. */ \
  3626. |         int yyless_macro_arg = (n); \
  3627. |         YY_LESS_LINENO(yyless_macro_arg);\
  3628. |       yytext[yyleng] = (yy_hold_char); \
  3629. |       (yy_c_buf_p) = yytext + yyless_macro_arg; \
  3630. |       (yy_hold_char) = *(yy_c_buf_p); \
  3631. |       *(yy_c_buf_p) = '\0'; \
  3632. |       yyleng = yyless_macro_arg; \
  3633. |       } \
  3634. |   while ( 0 )
  3635. |
  3636. | /* Accessor  methods (get/set functions) to struct members. */
  3637. |
  3638. | /** Get the current line number.
  3639. |  *
  3640. |  */
  3641. | int yyget_lineno  (void)
  3642. | {
  3643. |
  3644. |     return yylineno;
  3645. | }
  3646. |
  3647. | /** Get the input stream.
  3648. |  *
  3649. |  */
  3650. | FILE *yyget_in  (void)
  3651. | {
  3652. |         return yyin;
  3653. | }
  3654. |
  3655. | /** Get the output stream.
  3656. |  *
  3657. |  */
  3658. | FILE *yyget_out  (void)
  3659. | {
  3660. |         return yyout;
  3661. | }
  3662. |
  3663. | /** Get the length of the current token.
  3664. |  *
  3665. |  */
  3666. | int yyget_leng  (void)
  3667. | {
  3668. |         return yyleng;
  3669. | }
  3670. |
  3671. | /** Get the current token.
  3672. |  *
  3673. |  */
  3674. |
  3675. | char *yyget_text  (void)
  3676. | {
  3677. |         return yytext;
  3678. | }
  3679. |
  3680. | /** Set the current line number.
  3681. |  * @param _line_number line number
  3682. |  *
  3683. |  */
  3684. | void yyset_lineno (int  _line_number )
  3685. | {
  3686. |
  3687. |     yylineno = _line_number;
  3688. | }
  3689. |
  3690. | /** Set the input stream. This does not discard the current
  3691. |  * input buffer.
  3692. |  * @param _in_str A readable stream.
  3693. |  *
  3694. |  * @see yy_switch_to_buffer
  3695. |  */
  3696. | void yyset_in (FILE *  _in_str )
  3697. | {
  3698. |         yyin = _in_str ;
  3699. | }
  3700. |
  3701. | void yyset_out (FILE *  _out_str )
  3702. | {
  3703. |         yyout = _out_str ;
  3704. | }
  3705. |
  3706. | int yyget_debug  (void)
  3707. | {
  3708. |         return yy_flex_debug;
  3709. | }
  3710. |
  3711. | void yyset_debug (int  _bdebug )
  3712. | {
  3713. |         yy_flex_debug = _bdebug ;
  3714. | }
  3715. |
  3716. | static int yy_init_globals (void)
  3717. | {
  3718. |         /* Initialization is the same as for the non-reentrant scanner.
  3719. |      * This function is called from yylex_destroy(), so don't allocate here.
  3720. |      */
  3721. |
  3722. |     (yy_buffer_stack) = NULL;
  3723. |     (yy_buffer_stack_top) = 0;
  3724. |     (yy_buffer_stack_max) = 0;
  3725. |     (yy_c_buf_p) = NULL;
  3726. |     (yy_init) = 0;
  3727. |     (yy_start) = 0;
  3728. |
  3729. |     (yy_state_buf) = 0;
  3730. |     (yy_state_ptr) = 0;
  3731. |     (yy_full_match) = 0;
  3732. |     (yy_lp) = 0;
  3733. |
  3734. | /* Defined in main.c */
  3735. | #ifdef YY_STDINIT
  3736. |     yyin = stdin;
  3737. |     yyout = stdout;
  3738. | #else
  3739. |     yyin = NULL;
  3740. |     yyout = NULL;
  3741. | #endif
  3742. |
  3743. |     /* For future reference: Set errno on error, since we are called by
  3744. |      * yylex_init()
  3745. |      */
  3746. |     return 0;
  3747. | }
  3748. |
  3749. | /* yylex_destroy is for both reentrant and non-reentrant scanners. */
  3750. | int yylex_destroy  (void)
  3751. | {
  3752. |
  3753. |     /* Pop the buffer stack, destroying each element. */
  3754. |   while(YY_CURRENT_BUFFER){
  3755. |       yy_delete_buffer( YY_CURRENT_BUFFER  );
  3756. |       YY_CURRENT_BUFFER_LVALUE = NULL;
  3757. |       yypop_buffer_state();
  3758. |   }
  3759. |
  3760. |   /* Destroy the stack itself. */
  3761. |   yyfree((yy_buffer_stack) );
  3762. |   (yy_buffer_stack) = NULL;
  3763. |
  3764. |     yyfree ( (yy_state_buf) );
  3765. |     (yy_state_buf)  = NULL;
  3766. |
  3767. |     /* Reset the globals. This is important in a non-reentrant scanner so the next time
  3768. |      * yylex() is called, initialization will occur. */
  3769. |     yy_init_globals( );
  3770. |
  3771. |     return 0;
  3772. | }
  3773. |
  3774. | /*
  3775. |  * Internal utility routines.
  3776. |  */
  3777. |
  3778. | #ifndef yytext_ptr
  3779. | static void yy_flex_strncpy (char* s1, const char * s2, int n )
  3780. | {
  3781. |
  3782. |   int i;
  3783. |   for ( i = 0; i < n; ++i )
  3784. |       s1[i] = s2[i];
  3785. | }
  3786. | #endif
  3787. |
  3788. | #ifdef YY_NEED_STRLEN
  3789. | static int yy_flex_strlen (const char * s )
  3790. | {
  3791. |   int n;
  3792. |   for ( n = 0; s[n]; ++n )
  3793. |       ;
  3794. |
  3795. |   return n;
  3796. | }
  3797. | #endif
  3798. |
  3799. | void *yyalloc (yy_size_t  size )
  3800. | {
  3801. |           return malloc(size);
  3802. | }
  3803. |
  3804. | void *yyrealloc  (void * ptr, yy_size_t  size )
  3805. | {
  3806. |
  3807. |   /* The cast to (char *) in the following accommodates both
  3808. |    * implementations that use char* generic pointers, and those
  3809. |    * that use void* generic pointers.  It works with the latter
  3810. |    * because both ANSI C and C++ allow castless assignment from
  3811. |    * any pointer type to void*, and deal with argument conversions
  3812. |    * as though doing an assignment.
  3813. |    */
  3814. |   return realloc(ptr, size);
  3815. | }
  3816. |
  3817. | void yyfree (void * ptr )
  3818. | {
  3819. |           free( (char *) ptr );   /* see yyrealloc() for (char *) cast */
  3820. | }
  3821. |
  3822. | #define YYTABLES_NAME "yytables"
  3823. |
  3824. | #line 10 "conftest.l"
  3825. |
  3826. | #ifdef YYTEXT_POINTER
  3827. | extern char *yytext;
  3828. | #endif
  3829. | int
  3830. | main (void)
  3831. | {
  3832. |   return ! yylex () + ! yywrap ();
  3833. | }
  3834. configure:4932: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -o conftest  -I/usr/local/opt/llvm/include -L/usr/local/opt/llvm/lib conftest.c -ll  >&5
  3835. configure:4932: $? = 0
  3836. configure:4942: result: -ll
  3837. configure:4948: checking whether yytext is a pointer
  3838. configure:4965: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -o conftest  -I/usr/local/opt/llvm/include -L/usr/local/opt/llvm/lib conftest.c -ll  >&5
  3839. configure:4965: $? = 0
  3840. configure:4973: result: yes
  3841. configure:4990: checking for bison
  3842. configure:5006: found /usr/local/opt/bison/bin/bison
  3843. configure:5017: result: bison -y
  3844. configure:5059: checking build system type
  3845. configure:5073: result: x86_64-apple-darwin18.2.0
  3846. configure:5093: checking host system type
  3847. configure:5106: result: x86_64-apple-darwin18.2.0
  3848. configure:5147: checking how to print strings
  3849. configure:5174: result: printf
  3850. configure:5195: checking for a sed that does not truncate output
  3851. configure:5259: result: /usr/local/bin/sed
  3852. configure:5277: checking for grep that handles long lines and -e
  3853. configure:5335: result: /usr/local/bin/grep
  3854. configure:5340: checking for egrep
  3855. configure:5402: result: /usr/local/bin/grep -E
  3856. configure:5407: checking for fgrep
  3857. configure:5469: result: /usr/local/bin/grep -F
  3858. configure:5504: checking for ld used by /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
  3859. configure:5571: result: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
  3860. configure:5578: checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld
  3861. configure:5593: result: no
  3862. configure:5605: checking for BSD- or MS-compatible name lister (nm)
  3863. configure:5659: result: /usr/local/bin/nm -B
  3864. configure:5789: checking the name lister (/usr/local/bin/nm -B) interface
  3865. configure:5796: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -c  -I/usr/local/opt/llvm/include conftest.c >&5
  3866. configure:5799: /usr/local/bin/nm -B "conftest.o"
  3867. configure:5802: output
  3868. 0000000000000000 B _some_variable
  3869. configure:5809: result: BSD nm
  3870. configure:5812: checking whether ln -s works
  3871. configure:5816: result: yes
  3872. configure:5824: checking the maximum length of command line arguments
  3873. configure:5955: result: 196608
  3874. configure:6003: checking how to convert x86_64-apple-darwin18.2.0 file names to x86_64-apple-darwin18.2.0 format
  3875. configure:6043: result: func_convert_file_noop
  3876. configure:6050: checking how to convert x86_64-apple-darwin18.2.0 file names to toolchain format
  3877. configure:6070: result: func_convert_file_noop
  3878. configure:6077: checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files
  3879. configure:6084: result: -r
  3880. configure:6158: checking for objdump
  3881. configure:6174: found /usr/local/bin/objdump
  3882. configure:6185: result: objdump
  3883. configure:6217: checking how to recognize dependent libraries
  3884. configure:6417: result: pass_all
  3885. configure:6502: checking for dlltool
  3886. configure:6518: found /usr/local/bin/dlltool
  3887. configure:6529: result: dlltool
  3888. configure:6562: checking how to associate runtime and link libraries
  3889. configure:6589: result: printf %s\n
  3890. configure:6713: checking for archiver @FILE support
  3891. configure:6730: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -c  -I/usr/local/opt/llvm/include conftest.c >&5
  3892. configure:6730: $? = 0
  3893. configure:6733: ar cru libconftest.a @conftest.lst >&5
  3894. ar: `u' modifier ignored since `D' is the default (see `U')
  3895. configure:6736: $? = 0
  3896. configure:6741: ar cru libconftest.a @conftest.lst >&5
  3897. ar: `u' modifier ignored since `D' is the default (see `U')
  3898. ar: conftest.o: No such file or directory
  3899. configure:6744: $? = 1
  3900. configure:6756: result: @
  3901. configure:6814: checking for strip
  3902. configure:6830: found /usr/local/bin/strip
  3903. configure:6841: result: strip
  3904. configure:6913: checking for ranlib
  3905. configure:6929: found /usr/local/bin/ranlib
  3906. configure:6940: result: ranlib
  3907. configure:7042: checking command to parse /usr/local/bin/nm -B output from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc object
  3908. configure:7195: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -c  -I/usr/local/opt/llvm/include conftest.c >&5
  3909. configure:7198: $? = 0
  3910. configure:7202: /usr/local/bin/nm -B 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
  3911. configure:7205: $? = 0
  3912. cannot find nm_test_var in conftest.nm
  3913. configure:7195: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -c  -I/usr/local/opt/llvm/include conftest.c >&5
  3914. configure:7198: $? = 0
  3915. configure:7202: /usr/local/bin/nm -B 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
  3916. configure:7205: $? = 0
  3917. configure:7271: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -o conftest  -I/usr/local/opt/llvm/include -L/usr/local/opt/llvm/lib conftest.c conftstm.o >&5
  3918. configure:7274: $? = 0
  3919. configure:7312: result: ok
  3920. configure:7359: checking for sysroot
  3921. configure:7389: result: no
  3922. configure:7396: checking for a working dd
  3923. configure:7434: result: /bin/dd
  3924. configure:7438: checking how to truncate binary pipes
  3925. configure:7453: result: /bin/dd bs=4096 count=1
  3926. configure:7782: checking for mt
  3927. configure:7812: result: no
  3928. configure:7832: checking if : is a manifest tool
  3929. configure:7838: : '-?'
  3930. configure:7846: result: no
  3931. configure:7902: checking for dsymutil
  3932. configure:7918: found /usr/local/opt/llvm/bin/dsymutil
  3933. configure:7929: result: dsymutil
  3934. configure:7994: checking for nmedit
  3935. configure:8010: found /usr/bin/nmedit
  3936. configure:8021: result: nmedit
  3937. configure:8086: checking for lipo
  3938. configure:8102: found /usr/bin/lipo
  3939. configure:8113: result: lipo
  3940. configure:8178: checking for otool
  3941. configure:8194: found /usr/bin/otool
  3942. configure:8205: result: otool
  3943. configure:8270: checking for otool64
  3944. configure:8300: result: no
  3945. configure:8345: checking for -single_module linker flag
  3946. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc  -L/usr/local/opt/llvm/lib -o libconftest.dylib -dynamiclib -Wl,-single_module conftest.c
  3947. configure:8378: result: yes
  3948. configure:8381: checking for -exported_symbols_list linker flag
  3949. configure:8401: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -o conftest  -I/usr/local/opt/llvm/include -L/usr/local/opt/llvm/lib -Wl,-exported_symbols_list,conftest.sym conftest.c  >&5
  3950. configure:8401: $? = 0
  3951. configure:8411: result: yes
  3952. configure:8414: checking for -force_load linker flag
  3953. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc  -c -o conftest.o conftest.c
  3954. ar cru libconftest.a conftest.o
  3955. ar: `u' modifier ignored since `D' is the default (see `U')
  3956. ranlib libconftest.a
  3957. /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc  -L/usr/local/opt/llvm/lib -o conftest conftest.c -Wl,-force_load,./libconftest.a
  3958. ld: warning: ignoring file ./libconftest.a, file was built for archive which is not the architecture being linked (x86_64): ./libconftest.a
  3959. configure:8446: result: no
  3960. configure:8523: checking how to run the C preprocessor
  3961. configure:8554: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -E -I/usr/local/opt/llvm/include conftest.c
  3962. configure:8554: $? = 0
  3963. configure:8568: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -E -I/usr/local/opt/llvm/include conftest.c
  3964. conftest.c:12:10: fatal error: 'ac_nonexistent.h' file not found
  3965. #include <ac_nonexistent.h>
  3966.         ^~~~~~~~~~~~~~~~~~
  3967. 1 error generated.
  3968. configure:8568: $? = 1
  3969. configure: failed program was:
  3970. | /* confdefs.h */
  3971. | #define PACKAGE_NAME "yara"
  3972. | #define PACKAGE_TARNAME "yara"
  3973. | #define PACKAGE_VERSION "3.6.3"
  3974. | #define PACKAGE_STRING "yara 3.6.3"
  3975. | #define PACKAGE_BUGREPORT "vmalvarez@virustotal.com"
  3976. | #define PACKAGE_URL ""
  3977. | #define PACKAGE "yara"
  3978. | #define VERSION "3.6.3"
  3979. | #define YYTEXT_POINTER 1
  3980. | /* end confdefs.h.  */
  3981. | #include <ac_nonexistent.h>
  3982. configure:8593: result: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -E
  3983. configure:8613: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -E -I/usr/local/opt/llvm/include conftest.c
  3984. configure:8613: $? = 0
  3985. configure:8627: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -E -I/usr/local/opt/llvm/include conftest.c
  3986. conftest.c:12:10: fatal error: 'ac_nonexistent.h' file not found
  3987. #include <ac_nonexistent.h>
  3988.         ^~~~~~~~~~~~~~~~~~
  3989. 1 error generated.
  3990. configure:8627: $? = 1
  3991. configure: failed program was:
  3992. | /* confdefs.h */
  3993. | #define PACKAGE_NAME "yara"
  3994. | #define PACKAGE_TARNAME "yara"
  3995. | #define PACKAGE_VERSION "3.6.3"
  3996. | #define PACKAGE_STRING "yara 3.6.3"
  3997. | #define PACKAGE_BUGREPORT "vmalvarez@virustotal.com"
  3998. | #define PACKAGE_URL ""
  3999. | #define PACKAGE "yara"
  4000. | #define VERSION "3.6.3"
  4001. | #define YYTEXT_POINTER 1
  4002. | /* end confdefs.h.  */
  4003. | #include <ac_nonexistent.h>
  4004. configure:8656: checking for ANSI C header files
  4005. configure:8676: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -c  -I/usr/local/opt/llvm/include conftest.c >&5
  4006. configure:8676: $? = 0
  4007. configure:8749: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -o conftest  -I/usr/local/opt/llvm/include -L/usr/local/opt/llvm/lib conftest.c  >&5
  4008. configure:8749: $? = 0
  4009. configure:8749: ./conftest
  4010. configure:8749: $? = 0
  4011. configure:8760: result: yes
  4012. configure:8773: checking for sys/types.h
  4013. configure:8773: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -c  -I/usr/local/opt/llvm/include conftest.c >&5
  4014. configure:8773: $? = 0
  4015. configure:8773: result: yes
  4016. configure:8773: checking for sys/stat.h
  4017. configure:8773: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -c  -I/usr/local/opt/llvm/include conftest.c >&5
  4018. configure:8773: $? = 0
  4019. configure:8773: result: yes
  4020. configure:8773: checking for stdlib.h
  4021. configure:8773: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -c  -I/usr/local/opt/llvm/include conftest.c >&5
  4022. configure:8773: $? = 0
  4023. configure:8773: result: yes
  4024. configure:8773: checking for string.h
  4025. configure:8773: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -c  -I/usr/local/opt/llvm/include conftest.c >&5
  4026. configure:8773: $? = 0
  4027. configure:8773: result: yes
  4028. configure:8773: checking for memory.h
  4029. configure:8773: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -c  -I/usr/local/opt/llvm/include conftest.c >&5
  4030. configure:8773: $? = 0
  4031. configure:8773: result: yes
  4032. configure:8773: checking for strings.h
  4033. configure:8773: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -c  -I/usr/local/opt/llvm/include conftest.c >&5
  4034. configure:8773: $? = 0
  4035. configure:8773: result: yes
  4036. configure:8773: checking for inttypes.h
  4037. configure:8773: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -c  -I/usr/local/opt/llvm/include conftest.c >&5
  4038. configure:8773: $? = 0
  4039. configure:8773: result: yes
  4040. configure:8773: checking for stdint.h
  4041. configure:8773: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -c  -I/usr/local/opt/llvm/include conftest.c >&5
  4042. configure:8773: $? = 0
  4043. configure:8773: result: yes
  4044. configure:8773: checking for unistd.h
  4045. configure:8773: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -c  -I/usr/local/opt/llvm/include conftest.c >&5
  4046. configure:8773: $? = 0
  4047. configure:8773: result: yes
  4048. configure:8787: checking for dlfcn.h
  4049. configure:8787: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -c  -I/usr/local/opt/llvm/include conftest.c >&5
  4050. configure:8787: $? = 0
  4051. configure:8787: result: yes
  4052. configure:9043: checking for objdir
  4053. configure:9058: result: .libs
  4054. configure:9322: checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc supports -fno-rtti -fno-exceptions
  4055. configure:9340: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -c  -I/usr/local/opt/llvm/include -fno-rtti -fno-exceptions conftest.c >&5
  4056. configure:9344: $? = 0
  4057. configure:9357: result: yes
  4058. configure:9715: checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc option to produce PIC
  4059. configure:9722: result: -fno-common -DPIC
  4060. configure:9730: checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc PIC flag -fno-common -DPIC works
  4061. configure:9748: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -c  -I/usr/local/opt/llvm/include -fno-common -DPIC -DPIC conftest.c >&5
  4062. configure:9752: $? = 0
  4063. configure:9765: result: yes
  4064. configure:9794: checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc static flag -static works
  4065. configure:9822: result: no
  4066. configure:9837: checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc supports -c -o file.o
  4067. configure:9858: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -c  -I/usr/local/opt/llvm/include -o out/conftest2.o conftest.c >&5
  4068. configure:9862: $? = 0
  4069. configure:9884: result: yes
  4070. configure:9892: checking if /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc supports -c -o file.o
  4071. configure:9939: result: yes
  4072. configure:9972: checking whether the /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries
  4073. configure:11231: result: yes
  4074. configure:11471: checking dynamic linker characteristics
  4075. configure:12289: result: darwin18.2.0 dyld
  4076. configure:12411: checking how to hardcode library paths into programs
  4077. configure:12436: result: immediate
  4078. configure:12984: checking whether stripping libraries is possible
  4079. configure:12989: result: yes
  4080. configure:13024: checking if libtool supports shared libraries
  4081. configure:13026: result: yes
  4082. configure:13029: checking whether to build shared libraries
  4083. configure:13054: result: no
  4084. configure:13057: checking whether to build static libraries
  4085. configure:13061: result: yes
  4086. configure:13113: checking whether byte ordering is bigendian
  4087. configure:13128: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -c  -I/opt/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/llvm/include conftest.c >&5
  4088. configure:13128: $? = 0
  4089. configure:13173: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -c  -I/opt/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/llvm/include conftest.c >&5
  4090. configure:13173: $? = 0
  4091. configure:13191: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -c  -I/opt/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/llvm/include conftest.c >&5
  4092. conftest.c:31:4: error: use of undeclared identifier 'not'
  4093.                 not big endian
  4094.                 ^
  4095. 1 error generated.
  4096. configure:13191: $? = 1
  4097. configure: failed program was:
  4098. | /* confdefs.h */
  4099. | #define PACKAGE_NAME "yara"
  4100. | #define PACKAGE_TARNAME "yara"
  4101. | #define PACKAGE_VERSION "3.6.3"
  4102. | #define PACKAGE_STRING "yara 3.6.3"
  4103. | #define PACKAGE_BUGREPORT "vmalvarez@virustotal.com"
  4104. | #define PACKAGE_URL ""
  4105. | #define PACKAGE "yara"
  4106. | #define VERSION "3.6.3"
  4107. | #define YYTEXT_POINTER 1
  4108. | #define STDC_HEADERS 1
  4109. | #define HAVE_SYS_TYPES_H 1
  4110. | #define HAVE_SYS_STAT_H 1
  4111. | #define HAVE_STDLIB_H 1
  4112. | #define HAVE_STRING_H 1
  4113. | #define HAVE_MEMORY_H 1
  4114. | #define HAVE_STRINGS_H 1
  4115. | #define HAVE_INTTYPES_H 1
  4116. | #define HAVE_STDINT_H 1
  4117. | #define HAVE_UNISTD_H 1
  4118. | #define HAVE_DLFCN_H 1
  4119. | #define LT_OBJDIR ".libs/"
  4120. | /* end confdefs.h.  */
  4121. | #include <sys/types.h>
  4122. |       #include <sys/param.h>
  4123. |
  4124. | int
  4125. | main ()
  4126. | {
  4127. | #if BYTE_ORDER != BIG_ENDIAN
  4128. |        not big endian
  4129. |       #endif
  4130. |
  4131. |   ;
  4132. |   return 0;
  4133. | }
  4134. configure:13319: result: no
  4135. configure:13503: checking for the pthreads library -lpthreads
  4136. configure:13536: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -o conftest  -I/opt/local/include -I/usr/local/opt/openssl/include  -I/usr/local/opt/llvm/include -L/usr/local/opt/llvm/lib conftest.c -lpthreads  >&5
  4137. conftest.c:29:41: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
  4138.                     pthread_attr_init(0); pthread_cleanup_push(0, 0);
  4139.                                       ~^
  4140. conftest.c:30:44: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
  4141.                     pthread_create(0,0,0,0); pthread_cleanup_pop(0);
  4142.                                    ~      ^
  4143. conftest.c:30:44: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
  4144.                     pthread_create(0,0,0,0); pthread_cleanup_pop(0);
  4145.                                        ~  ^
  4146. 3 warnings generated.
  4147. ld: library not found for -lpthreads
  4148. clang: error: linker command failed with exit code 1 (use -v to see invocation)
  4149. configure:13536: $? = 1
  4150. configure: failed program was:
  4151. | /* confdefs.h */
  4152. | #define PACKAGE_NAME "yara"
  4153. | #define PACKAGE_TARNAME "yara"
  4154. | #define PACKAGE_VERSION "3.6.3"
  4155. | #define PACKAGE_STRING "yara 3.6.3"
  4156. | #define PACKAGE_BUGREPORT "vmalvarez@virustotal.com"
  4157. | #define PACKAGE_URL ""
  4158. | #define PACKAGE "yara"
  4159. | #define VERSION "3.6.3"
  4160. | #define YYTEXT_POINTER 1
  4161. | #define STDC_HEADERS 1
  4162. | #define HAVE_SYS_TYPES_H 1
  4163. | #define HAVE_SYS_STAT_H 1
  4164. | #define HAVE_STDLIB_H 1
  4165. | #define HAVE_STRING_H 1
  4166. | #define HAVE_MEMORY_H 1
  4167. | #define HAVE_STRINGS_H 1
  4168. | #define HAVE_INTTYPES_H 1
  4169. | #define HAVE_STDINT_H 1
  4170. | #define HAVE_UNISTD_H 1
  4171. | #define HAVE_DLFCN_H 1
  4172. | #define LT_OBJDIR ".libs/"
  4173. | /* end confdefs.h.  */
  4174. | #include <pthread.h>
  4175. | int
  4176. | main ()
  4177. | {
  4178. | pthread_t th; pthread_join(th, 0);
  4179. |                      pthread_attr_init(0); pthread_cleanup_push(0, 0);
  4180. |                      pthread_create(0,0,0,0); pthread_cleanup_pop(0);
  4181. |   ;
  4182. |   return 0;
  4183. | }
  4184. configure:13545: result: no
  4185. configure:13448: checking whether pthreads work without any flags
  4186. configure:13536: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -o conftest  -I/opt/local/include -I/usr/local/opt/openssl/include  -I/usr/local/opt/llvm/include -L/usr/local/opt/llvm/lib conftest.c   >&5
  4187. conftest.c:29:41: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
  4188.                     pthread_attr_init(0); pthread_cleanup_push(0, 0);
  4189.                                       ~^
  4190. conftest.c:30:44: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
  4191.                     pthread_create(0,0,0,0); pthread_cleanup_pop(0);
  4192.                                    ~      ^
  4193. conftest.c:30:44: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
  4194.                     pthread_create(0,0,0,0); pthread_cleanup_pop(0);
  4195.                                        ~  ^
  4196. 3 warnings generated.
  4197. configure:13536: $? = 0
  4198. configure:13545: result: yes
  4199. configure:13564: checking for joinable pthread attribute
  4200. configure:13579: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -o conftest  -I/opt/local/include -I/usr/local/opt/openssl/include  -I/usr/local/opt/llvm/include -L/usr/local/opt/llvm/lib conftest.c   >&5
  4201. configure:13579: $? = 0
  4202. configure:13585: result: PTHREAD_CREATE_JOINABLE
  4203. configure:13595: checking if more special flags are required for pthreads
  4204. configure:13602: result: -D_THREAD_SAFE
  4205. configure:13691: checking whether to check for GCC pthread/shared inconsistencies
  4206. configure:13704: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -o conftest -shared -fPIC -Wl,-z,defs  -I/opt/local/include -I/usr/local/opt/openssl/include -D_THREAD_SAFE  -I/usr/local/opt/llvm/include -L/usr/local/opt/llvm/lib conftest.c   >&5
  4207. ld: unknown option: -z
  4208. clang: error: linker command failed with exit code 1 (use -v to see invocation)
  4209. configure:13704: $? = 1
  4210. configure: failed program was:
  4211. | /* confdefs.h */
  4212. | #define PACKAGE_NAME "yara"
  4213. | #define PACKAGE_TARNAME "yara"
  4214. | #define PACKAGE_VERSION "3.6.3"
  4215. | #define PACKAGE_STRING "yara 3.6.3"
  4216. | #define PACKAGE_BUGREPORT "vmalvarez@virustotal.com"
  4217. | #define PACKAGE_URL ""
  4218. | #define PACKAGE "yara"
  4219. | #define VERSION "3.6.3"
  4220. | #define YYTEXT_POINTER 1
  4221. | #define STDC_HEADERS 1
  4222. | #define HAVE_SYS_TYPES_H 1
  4223. | #define HAVE_SYS_STAT_H 1
  4224. | #define HAVE_STDLIB_H 1
  4225. | #define HAVE_STRING_H 1
  4226. | #define HAVE_MEMORY_H 1
  4227. | #define HAVE_STRINGS_H 1
  4228. | #define HAVE_INTTYPES_H 1
  4229. | #define HAVE_STDINT_H 1
  4230. | #define HAVE_UNISTD_H 1
  4231. | #define HAVE_DLFCN_H 1
  4232. | #define LT_OBJDIR ".libs/"
  4233. | /* end confdefs.h.  */
  4234. |
  4235. | int
  4236. | main ()
  4237. | {
  4238. |
  4239. |   ;
  4240. |   return 0;
  4241. | }
  4242. configure:13713: result: no
  4243. configure:13861: checking for isnan in -lm
  4244. configure:13886: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -o conftest  -I/opt/local/include -I/usr/local/opt/openssl/include -D_THREAD_SAFE  -I/usr/local/opt/llvm/include -L/usr/local/opt/llvm/lib conftest.c -lm    >&5
  4245. configure:13886: $? = 0
  4246. configure:13895: result: yes
  4247. configure:13906: checking for log2 in -lm
  4248. configure:13931: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -o conftest  -I/opt/local/include -I/usr/local/opt/openssl/include -D_THREAD_SAFE  -I/usr/local/opt/llvm/include -L/usr/local/opt/llvm/lib conftest.c -lm  -lm   >&5
  4249. conftest.c:32:6: warning: incompatible redeclaration of library function 'log2' [-Wincompatible-library-redeclaration]
  4250. char log2 ();
  4251.     ^
  4252. conftest.c:32:6: note: 'log2' is a builtin with type 'double (double)'
  4253. 1 warning generated.
  4254. configure:13931: $? = 0
  4255. configure:13940: result: yes
  4256. configure:13954: checking for strlcpy
  4257. configure:13954: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -o conftest  -I/opt/local/include -I/usr/local/opt/openssl/include -D_THREAD_SAFE  -I/usr/local/opt/llvm/include -L/usr/local/opt/llvm/lib conftest.c -lm -lm   >&5
  4258. conftest.c:49:6: warning: incompatible redeclaration of library function 'strlcpy' [-Wincompatible-library-redeclaration]
  4259. char strlcpy ();
  4260.     ^
  4261. conftest.c:49:6: note: 'strlcpy' is a builtin with type 'unsigned long (char *, const char *, unsigned long)'
  4262. 1 warning generated.
  4263. configure:13954: $? = 0
  4264. configure:13954: result: yes
  4265. configure:13954: checking for strlcat
  4266. configure:13954: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -o conftest  -I/opt/local/include -I/usr/local/opt/openssl/include -D_THREAD_SAFE  -I/usr/local/opt/llvm/include -L/usr/local/opt/llvm/lib conftest.c -lm -lm   >&5
  4267. conftest.c:50:6: warning: incompatible redeclaration of library function 'strlcat' [-Wincompatible-library-redeclaration]
  4268. char strlcat ();
  4269.     ^
  4270. conftest.c:50:6: note: 'strlcat' is a builtin with type 'unsigned long (char *, const char *, unsigned long)'
  4271. 1 warning generated.
  4272. configure:13954: $? = 0
  4273. configure:13954: result: yes
  4274. configure:13954: checking for memmem
  4275. configure:13954: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -o conftest  -I/opt/local/include -I/usr/local/opt/openssl/include -D_THREAD_SAFE  -I/usr/local/opt/llvm/include -L/usr/local/opt/llvm/lib conftest.c -lm -lm   >&5
  4276. configure:13954: $? = 0
  4277. configure:13954: result: yes
  4278. configure:13954: checking for timegm
  4279. configure:13954: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -o conftest  -I/opt/local/include -I/usr/local/opt/openssl/include -D_THREAD_SAFE  -I/usr/local/opt/llvm/include -L/usr/local/opt/llvm/lib conftest.c -lm -lm   >&5
  4280. configure:13954: $? = 0
  4281. configure:13954: result: yes
  4282. configure:14626: WARNING:
  4283. *******************************************************************************
  4284.  Could not find OpenSSL library. The "hash" module and some features in "pe"
  4285.  module have been disabled. If you want to enable all features please install
  4286.  it and run this script again.
  4287. *******************************************************************************
  4288.  
  4289. configure:14859: checking that generated files are newer than configure
  4290. configure:14865: result: done
  4291. configure:14925: creating ./config.status
  4292.  
  4293. ## ---------------------- ##
  4294. ## Running config.status. ##
  4295. ## ---------------------- ##
  4296.  
  4297. This file was extended by yara config.status 3.6.3, which was
  4298. generated by GNU Autoconf 2.69.  Invocation command line was
  4299.  
  4300.  CONFIG_FILES    =
  4301.  CONFIG_HEADERS  =
  4302.  CONFIG_LINKS    =
  4303.  CONFIG_COMMANDS =
  4304.  $ ./config.status
  4305.  
  4306. on Dendis-MacBook-Pro.local
  4307.  
  4308. config.status:1029: creating Makefile
  4309. config.status:1029: creating libyara/Makefile
  4310. config.status:1201: executing depfiles commands
  4311. config.status:1278: cd .       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
  4312. config.status:1283: $? = 0
  4313. config.status:1278: cd libyara       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
  4314. config.status:1283: $? = 0
  4315. config.status:1201: executing libtool commands
  4316.  
  4317. ## ---------------- ##
  4318. ## Cache variables. ##
  4319. ## ---------------- ##
  4320.  
  4321. ac_cv_build=x86_64-apple-darwin18.2.0
  4322. ac_cv_c_bigendian=no
  4323. ac_cv_c_compiler_gnu=yes
  4324. ac_cv_env_CC_set=set
  4325. ac_cv_env_CC_value=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
  4326. ac_cv_env_CFLAGS_set=
  4327. ac_cv_env_CFLAGS_value=
  4328. ac_cv_env_CPPFLAGS_set=set
  4329. ac_cv_env_CPPFLAGS_value=-I/usr/local/opt/llvm/include
  4330. ac_cv_env_CPP_set=
  4331. ac_cv_env_CPP_value=
  4332. ac_cv_env_LDFLAGS_set=set
  4333. ac_cv_env_LDFLAGS_value=-L/usr/local/opt/llvm/lib
  4334. ac_cv_env_LIBS_set=
  4335. ac_cv_env_LIBS_value=
  4336. ac_cv_env_LT_SYS_LIBRARY_PATH_set=
  4337. ac_cv_env_LT_SYS_LIBRARY_PATH_value=
  4338. ac_cv_env_YACC_set=
  4339. ac_cv_env_YACC_value=
  4340. ac_cv_env_YFLAGS_set=
  4341. ac_cv_env_YFLAGS_value=
  4342. ac_cv_env_build_alias_set=
  4343. ac_cv_env_build_alias_value=
  4344. ac_cv_env_host_alias_set=
  4345. ac_cv_env_host_alias_value=
  4346. ac_cv_env_target_alias_set=
  4347. ac_cv_env_target_alias_value=
  4348. ac_cv_func_memmem=yes
  4349. ac_cv_func_strlcat=yes
  4350. ac_cv_func_strlcpy=yes
  4351. ac_cv_func_timegm=yes
  4352. ac_cv_header_dlfcn_h=yes
  4353. ac_cv_header_inttypes_h=yes
  4354. ac_cv_header_memory_h=yes
  4355. ac_cv_header_stdc=yes
  4356. ac_cv_header_stdint_h=yes
  4357. ac_cv_header_stdlib_h=yes
  4358. ac_cv_header_string_h=yes
  4359. ac_cv_header_strings_h=yes
  4360. ac_cv_header_sys_stat_h=yes
  4361. ac_cv_header_sys_types_h=yes
  4362. ac_cv_header_unistd_h=yes
  4363. ac_cv_host=x86_64-apple-darwin18.2.0
  4364. ac_cv_lib_lex=-ll
  4365. ac_cv_lib_m_isnan=yes
  4366. ac_cv_lib_m_log2=yes
  4367. ac_cv_objext=o
  4368. ac_cv_path_EGREP='/usr/local/bin/grep -E'
  4369. ac_cv_path_FGREP='/usr/local/bin/grep -F'
  4370. ac_cv_path_GREP=/usr/local/bin/grep
  4371. ac_cv_path_SED=/usr/local/bin/sed
  4372. ac_cv_path_install='/usr/local/bin/ginstall -c'
  4373. ac_cv_path_lt_DD=/bin/dd
  4374. ac_cv_path_mkdir=/usr/local/bin/gmkdir
  4375. ac_cv_prog_AWK=gawk
  4376. ac_cv_prog_CPP='/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -E'
  4377. ac_cv_prog_LEX=flex
  4378. ac_cv_prog_YACC='bison -y'
  4379. ac_cv_prog_ac_ct_AR=ar
  4380. ac_cv_prog_ac_ct_CC=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
  4381. ac_cv_prog_ac_ct_DLLTOOL=dlltool
  4382. ac_cv_prog_ac_ct_DSYMUTIL=dsymutil
  4383. ac_cv_prog_ac_ct_LIPO=lipo
  4384. ac_cv_prog_ac_ct_NMEDIT=nmedit
  4385. ac_cv_prog_ac_ct_OBJDUMP=objdump
  4386. ac_cv_prog_ac_ct_OTOOL=otool
  4387. ac_cv_prog_ac_ct_RANLIB=ranlib
  4388. ac_cv_prog_ac_ct_STRIP=strip
  4389. ac_cv_prog_cc_c89=
  4390. ac_cv_prog_cc_g=yes
  4391. ac_cv_prog_lex_root=lex.yy
  4392. ac_cv_prog_lex_yytext_pointer=yes
  4393. ac_cv_prog_make_make_set=yes
  4394. am_cv_CC_dependencies_compiler_type=gcc3
  4395. am_cv_ar_interface=ar
  4396. am_cv_make_support_nested_variables=yes
  4397. am_cv_prog_cc_c_o=yes
  4398. lt_cv_apple_cc_single_mod=yes
  4399. lt_cv_ar_at_file=@
  4400. lt_cv_deplibs_check_method=pass_all
  4401. lt_cv_file_magic_cmd='$MAGIC_CMD'
  4402. lt_cv_file_magic_test_file=
  4403. lt_cv_ld_exported_symbols_list=yes
  4404. lt_cv_ld_force_load=no
  4405. lt_cv_ld_reload_flag=-r
  4406. lt_cv_nm_interface='BSD nm'
  4407. lt_cv_objdir=.libs
  4408. lt_cv_path_LD=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
  4409. lt_cv_path_NM='/usr/local/bin/nm -B'
  4410. lt_cv_path_mainfest_tool=no
  4411. lt_cv_prog_compiler_c_o=yes
  4412. lt_cv_prog_compiler_pic='-fno-common -DPIC'
  4413. lt_cv_prog_compiler_pic_works=yes
  4414. lt_cv_prog_compiler_rtti_exceptions=yes
  4415. lt_cv_prog_compiler_static_works=no
  4416. lt_cv_prog_gnu_ld=no
  4417. lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
  4418. 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'\'''
  4419. 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'\'''
  4420. 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'\'''
  4421. lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
  4422. lt_cv_sys_global_symbol_to_import=
  4423. lt_cv_sys_max_cmd_len=196608
  4424. lt_cv_to_host_file_cmd=func_convert_file_noop
  4425. lt_cv_to_tool_file_cmd=func_convert_file_noop
  4426. lt_cv_truncate_bin='/bin/dd bs=4096 count=1'
  4427.  
  4428. ## ----------------- ##
  4429. ## Output variables. ##
  4430. ## ----------------- ##
  4431.  
  4432. ACLOCAL='${SHELL} /Users/grokmachine/dev/antivirus/yaracpp-retdec/build/deps/yara/src/yara/missing aclocal-1.16'
  4433. ADDRESS_SANITIZER_FALSE=''
  4434. ADDRESS_SANITIZER_TRUE='#'
  4435. AMDEPBACKSLASH='\'
  4436. AMDEP_FALSE='#'
  4437. AMDEP_TRUE=''
  4438. AMTAR='$${TAR-tar}'
  4439. AM_BACKSLASH='\'
  4440. AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  4441. AM_DEFAULT_VERBOSITY='1'
  4442. AM_V='$(V)'
  4443. AR='ar'
  4444. AUTOCONF='${SHELL} /Users/grokmachine/dev/antivirus/yaracpp-retdec/build/deps/yara/src/yara/missing autoconf'
  4445. AUTOHEADER='${SHELL} /Users/grokmachine/dev/antivirus/yaracpp-retdec/build/deps/yara/src/yara/missing autoheader'
  4446. AUTOMAKE='${SHELL} /Users/grokmachine/dev/antivirus/yaracpp-retdec/build/deps/yara/src/yara/missing automake-1.16'
  4447. AWK='gawk'
  4448. CC='/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc'
  4449. CCDEPMODE='depmode=gcc3'
  4450. CFLAGS=' -I/opt/local/include -I/usr/local/opt/openssl/include -D_THREAD_SAFE '
  4451. CPP='/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -E'
  4452. CPPFLAGS='-I/usr/local/opt/llvm/include'
  4453. CUCKOO_MODULE_FALSE=''
  4454. CUCKOO_MODULE_TRUE='#'
  4455. CYGPATH_W='echo'
  4456. DEBUG_FALSE=''
  4457. DEBUG_TRUE='#'
  4458. DEFS='-DPACKAGE_NAME=\"yara\" -DPACKAGE_TARNAME=\"yara\" -DPACKAGE_VERSION=\"3.6.3\" -DPACKAGE_STRING=\"yara\ 3.6.3\" -DPACKAGE_BUGREPORT=\"vmalvarez@virustotal.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yara\" -DVERSION=\"3.6.3\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBM=1 -DHAVE_LIBM=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DHAVE_MEMMEM=1 -DHAVE_TIMEGM=1'
  4459. DEPDIR='.deps'
  4460. DLLTOOL='dlltool'
  4461. DOTNET_MODULE_FALSE=''
  4462. DOTNET_MODULE_TRUE='#'
  4463. DSYMUTIL='dsymutil'
  4464. DUMPBIN=''
  4465. ECHO_C='\c'
  4466. ECHO_N=''
  4467. ECHO_T=''
  4468. EGREP='/usr/local/bin/grep -E'
  4469. EXEEXT=''
  4470. FGREP='/usr/local/bin/grep -F'
  4471. GCC_FALSE='#'
  4472. GCC_TRUE=''
  4473. GREP='/usr/local/bin/grep'
  4474. HASH_MODULE_FALSE=''
  4475. HASH_MODULE_TRUE='#'
  4476. INSTALL_DATA='${INSTALL} -m 644'
  4477. INSTALL_PROGRAM='${INSTALL}'
  4478. INSTALL_SCRIPT='${INSTALL}'
  4479. INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
  4480. LD='/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld'
  4481. LDFLAGS='-L/usr/local/opt/llvm/lib'
  4482. LEX='flex'
  4483. LEXLIB='-ll'
  4484. LEX_OUTPUT_ROOT='lex.yy'
  4485. LIBOBJS=''
  4486. LIBS='-lm -lm  '
  4487. LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  4488. LIPO='lipo'
  4489. LN_S='ln -s'
  4490. LTLIBOBJS=''
  4491. LT_SYS_LIBRARY_PATH=''
  4492. MAGIC_MODULE_FALSE=''
  4493. MAGIC_MODULE_TRUE='#'
  4494. MAKEINFO='${SHELL} /Users/grokmachine/dev/antivirus/yaracpp-retdec/build/deps/yara/src/yara/missing makeinfo'
  4495. MANIFEST_TOOL=':'
  4496. MKDIR_P='/usr/local/bin/gmkdir -p'
  4497. NM='/usr/local/bin/nm -B'
  4498. NMEDIT='nmedit'
  4499. OBJDUMP='objdump'
  4500. OBJEXT='o'
  4501. OPTIMIZATION_FALSE='#'
  4502. OPTIMIZATION_TRUE=''
  4503. OTOOL64=':'
  4504. OTOOL='otool'
  4505. PACKAGE='yara'
  4506. PACKAGE_BUGREPORT='vmalvarez@virustotal.com'
  4507. PACKAGE_NAME='yara'
  4508. PACKAGE_STRING='yara 3.6.3'
  4509. PACKAGE_TARNAME='yara'
  4510. PACKAGE_URL=''
  4511. PACKAGE_VERSION='3.6.3'
  4512. PATH_SEPARATOR=':'
  4513. PTHREAD_CC='/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc'
  4514. PTHREAD_CFLAGS='-D_THREAD_SAFE '
  4515. PTHREAD_LIBS=''
  4516. RANLIB='ranlib'
  4517. SED='/usr/local/bin/sed'
  4518. SET_MAKE=''
  4519. SHELL='/bin/sh'
  4520. STRIP='strip'
  4521. VERSION='3.6.3'
  4522. YACC='bison -y'
  4523. YFLAGS=''
  4524. ac_ct_AR='ar'
  4525. ac_ct_CC='/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc'
  4526. ac_ct_DUMPBIN=''
  4527. acx_pthread_config=''
  4528. am__EXEEXT_FALSE=''
  4529. am__EXEEXT_TRUE='#'
  4530. am__fastdepCC_FALSE='#'
  4531. am__fastdepCC_TRUE=''
  4532. am__include='include'
  4533. am__isrc=''
  4534. am__leading_dot='.'
  4535. am__nodep='_no'
  4536. am__quote=''
  4537. am__tar='$${TAR-tar} chof - "$$tardir"'
  4538. am__untar='$${TAR-tar} xf -'
  4539. bindir='${exec_prefix}/bin'
  4540. build='x86_64-apple-darwin18.2.0'
  4541. build_alias=''
  4542. build_cpu='x86_64'
  4543. build_os='darwin18.2.0'
  4544. build_vendor='apple'
  4545. datadir='${datarootdir}'
  4546. datarootdir='${prefix}/share'
  4547. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  4548. dvidir='${docdir}'
  4549. exec_prefix='${prefix}'
  4550. host='x86_64-apple-darwin18.2.0'
  4551. host_alias=''
  4552. host_cpu='x86_64'
  4553. host_os='darwin18.2.0'
  4554. host_vendor='apple'
  4555. htmldir='${docdir}'
  4556. includedir='${prefix}/include'
  4557. infodir='${datarootdir}/info'
  4558. install_sh='${SHELL} /Users/grokmachine/dev/antivirus/yaracpp-retdec/build/deps/yara/src/yara/install-sh'
  4559. libdir='${exec_prefix}/lib'
  4560. libexecdir='${exec_prefix}/libexec'
  4561. localedir='${datarootdir}/locale'
  4562. localstatedir='${prefix}/var'
  4563. mandir='${datarootdir}/man'
  4564. mkdir_p='$(MKDIR_P)'
  4565. oldincludedir='/usr/include'
  4566. pdfdir='${docdir}'
  4567. prefix=''
  4568. program_transform_name='s,x,x,'
  4569. psdir='${docdir}'
  4570. sbindir='${exec_prefix}/sbin'
  4571. sharedstatedir='${prefix}/com'
  4572. sysconfdir='${prefix}/etc'
  4573. target_alias=''
  4574.  
  4575. ## ----------- ##
  4576. ## confdefs.h. ##
  4577. ## ----------- ##
  4578.  
  4579. /* confdefs.h */
  4580. #define PACKAGE_NAME "yara"
  4581. #define PACKAGE_TARNAME "yara"
  4582. #define PACKAGE_VERSION "3.6.3"
  4583. #define PACKAGE_STRING "yara 3.6.3"
  4584. #define PACKAGE_BUGREPORT "vmalvarez@virustotal.com"
  4585. #define PACKAGE_URL ""
  4586. #define PACKAGE "yara"
  4587. #define VERSION "3.6.3"
  4588. #define YYTEXT_POINTER 1
  4589. #define STDC_HEADERS 1
  4590. #define HAVE_SYS_TYPES_H 1
  4591. #define HAVE_SYS_STAT_H 1
  4592. #define HAVE_STDLIB_H 1
  4593. #define HAVE_STRING_H 1
  4594. #define HAVE_MEMORY_H 1
  4595. #define HAVE_STRINGS_H 1
  4596. #define HAVE_INTTYPES_H 1
  4597. #define HAVE_STDINT_H 1
  4598. #define HAVE_UNISTD_H 1
  4599. #define HAVE_DLFCN_H 1
  4600. #define LT_OBJDIR ".libs/"
  4601. #define HAVE_LIBM 1
  4602. #define HAVE_LIBM 1
  4603. #define HAVE_STRLCPY 1
  4604. #define HAVE_STRLCAT 1
  4605. #define HAVE_MEMMEM 1
  4606. #define HAVE_TIMEGM 1
  4607.  
  4608. configure: exit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement