ast_expr2f.c 97 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989
  1. #line 2 "ast_expr2f.c"
  2. #line 4 "ast_expr2f.c"
  3. #define YY_INT_ALIGNED short int
  4. /* A lexical scanner generated by flex */
  5. #define FLEX_SCANNER
  6. #define YY_FLEX_MAJOR_VERSION 2
  7. #define YY_FLEX_MINOR_VERSION 5
  8. #define YY_FLEX_SUBMINOR_VERSION 31
  9. #if YY_FLEX_SUBMINOR_VERSION > 0
  10. #define FLEX_BETA
  11. #endif
  12. /* First, we deal with platform-specific or compiler-specific issues. */
  13. /* begin standard C headers. */
  14. #include <stdio.h>
  15. #include <string.h>
  16. #include <errno.h>
  17. #include <stdlib.h>
  18. /* end standard C headers. */
  19. /* flex integer type definitions */
  20. #ifndef FLEXINT_H
  21. #define FLEXINT_H
  22. /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
  23. #if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L
  24. #include <inttypes.h>
  25. typedef int8_t flex_int8_t;
  26. typedef uint8_t flex_uint8_t;
  27. typedef int16_t flex_int16_t;
  28. typedef uint16_t flex_uint16_t;
  29. typedef int32_t flex_int32_t;
  30. typedef uint32_t flex_uint32_t;
  31. #else
  32. typedef signed char flex_int8_t;
  33. typedef short int flex_int16_t;
  34. typedef int flex_int32_t;
  35. typedef unsigned char flex_uint8_t;
  36. typedef unsigned short int flex_uint16_t;
  37. typedef unsigned int flex_uint32_t;
  38. #endif /* ! C99 */
  39. /* Limits of integral types. */
  40. #ifndef INT8_MIN
  41. #define INT8_MIN (-128)
  42. #endif
  43. #ifndef INT16_MIN
  44. #define INT16_MIN (-32767-1)
  45. #endif
  46. #ifndef INT32_MIN
  47. #define INT32_MIN (-2147483647-1)
  48. #endif
  49. #ifndef INT8_MAX
  50. #define INT8_MAX (127)
  51. #endif
  52. #ifndef INT16_MAX
  53. #define INT16_MAX (32767)
  54. #endif
  55. #ifndef INT32_MAX
  56. #define INT32_MAX (2147483647)
  57. #endif
  58. #ifndef UINT8_MAX
  59. #define UINT8_MAX (255U)
  60. #endif
  61. #ifndef UINT16_MAX
  62. #define UINT16_MAX (65535U)
  63. #endif
  64. #ifndef UINT32_MAX
  65. #define UINT32_MAX (4294967295U)
  66. #endif
  67. #endif /* ! FLEXINT_H */
  68. #ifdef __cplusplus
  69. /* The "const" storage-class-modifier is valid. */
  70. #define YY_USE_CONST
  71. #else /* ! __cplusplus */
  72. #if __STDC__
  73. #define YY_USE_CONST
  74. #endif /* __STDC__ */
  75. #endif /* ! __cplusplus */
  76. #ifdef YY_USE_CONST
  77. #define yyconst const
  78. #else
  79. #define yyconst
  80. #endif
  81. /* Returned upon end-of-file. */
  82. #define YY_NULL 0
  83. /* Promotes a possibly negative, possibly signed char to an unsigned
  84. * integer for use as an array index. If the signed char is negative,
  85. * we want to instead treat it as an 8-bit unsigned char, hence the
  86. * double cast.
  87. */
  88. #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
  89. /* An opaque pointer. */
  90. #ifndef YY_TYPEDEF_YY_SCANNER_T
  91. #define YY_TYPEDEF_YY_SCANNER_T
  92. typedef void* yyscan_t;
  93. #endif
  94. /* For convenience, these vars (plus the bison vars far below)
  95. are macros in the reentrant scanner. */
  96. #define yyin yyg->yyin_r
  97. #define yyout yyg->yyout_r
  98. #define yyextra yyg->yyextra_r
  99. #define yyleng yyg->yyleng_r
  100. #define yytext yyg->yytext_r
  101. #define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
  102. #define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)
  103. #define yy_flex_debug yyg->yy_flex_debug_r
  104. int ast_yylex_init (yyscan_t* scanner);
  105. /* Enter a start condition. This macro really ought to take a parameter,
  106. * but we do it the disgusting crufty way forced on us by the ()-less
  107. * definition of BEGIN.
  108. */
  109. #define BEGIN yyg->yy_start = 1 + 2 *
  110. /* Translate the current start state into a value that can be later handed
  111. * to BEGIN to return to the state. The YYSTATE alias is for lex
  112. * compatibility.
  113. */
  114. #define YY_START ((yyg->yy_start - 1) / 2)
  115. #define YYSTATE YY_START
  116. /* Action number for EOF rule of a given start state. */
  117. #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
  118. /* Special action meaning "start processing a new file". */
  119. #define YY_NEW_FILE ast_yyrestart(yyin ,yyscanner )
  120. #define YY_END_OF_BUFFER_CHAR 0
  121. /* Size of default input buffer. */
  122. #ifndef YY_BUF_SIZE
  123. #define YY_BUF_SIZE 16384
  124. #endif
  125. #ifndef YY_TYPEDEF_YY_BUFFER_STATE
  126. #define YY_TYPEDEF_YY_BUFFER_STATE
  127. typedef struct yy_buffer_state *YY_BUFFER_STATE;
  128. #endif
  129. #define EOB_ACT_CONTINUE_SCAN 0
  130. #define EOB_ACT_END_OF_FILE 1
  131. #define EOB_ACT_LAST_MATCH 2
  132. #define YY_LESS_LINENO(n)
  133. /* Return all but the first "n" matched characters back to the input stream. */
  134. #define yyless(n) \
  135. do \
  136. { \
  137. /* Undo effects of setting up yytext. */ \
  138. int yyless_macro_arg = (n); \
  139. YY_LESS_LINENO(yyless_macro_arg);\
  140. *yy_cp = yyg->yy_hold_char; \
  141. YY_RESTORE_YY_MORE_OFFSET \
  142. yyg->yy_c_buf_p = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
  143. YY_DO_BEFORE_ACTION; /* set up yytext again */ \
  144. } \
  145. while ( 0 )
  146. #define unput(c) yyunput( c, yyg->yytext_ptr , yyscanner )
  147. /* The following is because we cannot portably get our hands on size_t
  148. * (without autoconf's help, which isn't available because we want
  149. * flex-generated scanners to compile on their own).
  150. */
  151. #ifndef YY_TYPEDEF_YY_SIZE_T
  152. #define YY_TYPEDEF_YY_SIZE_T
  153. typedef unsigned int yy_size_t;
  154. #endif
  155. #ifndef YY_STRUCT_YY_BUFFER_STATE
  156. #define YY_STRUCT_YY_BUFFER_STATE
  157. struct yy_buffer_state
  158. {
  159. FILE *yy_input_file;
  160. char *yy_ch_buf; /* input buffer */
  161. char *yy_buf_pos; /* current position in input buffer */
  162. /* Size of input buffer in bytes, not including room for EOB
  163. * characters.
  164. */
  165. yy_size_t yy_buf_size;
  166. /* Number of characters read into yy_ch_buf, not including EOB
  167. * characters.
  168. */
  169. int yy_n_chars;
  170. /* Whether we "own" the buffer - i.e., we know we created it,
  171. * and can realloc() it to grow it, and should free() it to
  172. * delete it.
  173. */
  174. int yy_is_our_buffer;
  175. /* Whether this is an "interactive" input source; if so, and
  176. * if we're using stdio for input, then we want to use getc()
  177. * instead of fread(), to make sure we stop fetching input after
  178. * each newline.
  179. */
  180. int yy_is_interactive;
  181. /* Whether we're considered to be at the beginning of a line.
  182. * If so, '^' rules will be active on the next match, otherwise
  183. * not.
  184. */
  185. int yy_at_bol;
  186. int yy_bs_lineno; /**< The line count. */
  187. int yy_bs_column; /**< The column count. */
  188. /* Whether to try to fill the input buffer when we reach the
  189. * end of it.
  190. */
  191. int yy_fill_buffer;
  192. int yy_buffer_status;
  193. #define YY_BUFFER_NEW 0
  194. #define YY_BUFFER_NORMAL 1
  195. /* When an EOF's been seen but there's still some text to process
  196. * then we mark the buffer as YY_EOF_PENDING, to indicate that we
  197. * shouldn't try reading from the input source any more. We might
  198. * still have a bunch of tokens to match, though, because of
  199. * possible backing-up.
  200. *
  201. * When we actually see the EOF, we change the status to "new"
  202. * (via ast_yyrestart()), so that the user can continue scanning by
  203. * just pointing yyin at a new input file.
  204. */
  205. #define YY_BUFFER_EOF_PENDING 2
  206. };
  207. #endif /* !YY_STRUCT_YY_BUFFER_STATE */
  208. /* We provide macros for accessing buffer states in case in the
  209. * future we want to put the buffer states in a more general
  210. * "scanner state".
  211. *
  212. * Returns the top of the stack, or NULL.
  213. */
  214. #define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
  215. ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
  216. : NULL)
  217. /* Same as previous macro, but useful when we know that the buffer stack is not
  218. * NULL or when we need an lvalue. For internal use only.
  219. */
  220. #define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  221. void ast_yyrestart (FILE *input_file ,yyscan_t yyscanner );
  222. void ast_yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
  223. YY_BUFFER_STATE ast_yy_create_buffer (FILE *file,int size ,yyscan_t yyscanner );
  224. void ast_yy_delete_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
  225. void ast_yy_flush_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
  226. void ast_yypush_buffer_state (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
  227. void ast_yypop_buffer_state (yyscan_t yyscanner );
  228. static void ast_yyensure_buffer_stack (yyscan_t yyscanner );
  229. static void ast_yy_load_buffer_state (yyscan_t yyscanner );
  230. static void ast_yy_init_buffer (YY_BUFFER_STATE b,FILE *file ,yyscan_t yyscanner );
  231. #define YY_FLUSH_BUFFER ast_yy_flush_buffer(YY_CURRENT_BUFFER ,yyscanner)
  232. YY_BUFFER_STATE ast_yy_scan_buffer (char *base,yy_size_t size ,yyscan_t yyscanner );
  233. YY_BUFFER_STATE ast_yy_scan_string (yyconst char *yy_str ,yyscan_t yyscanner );
  234. YY_BUFFER_STATE ast_yy_scan_bytes (yyconst char *bytes,int len ,yyscan_t yyscanner );
  235. void *ast_yyalloc (yy_size_t ,yyscan_t yyscanner );
  236. void *ast_yyrealloc (void *,yy_size_t ,yyscan_t yyscanner );
  237. void ast_yyfree (void * ,yyscan_t yyscanner );
  238. #define yy_new_buffer ast_yy_create_buffer
  239. #define yy_set_interactive(is_interactive) \
  240. { \
  241. if ( ! YY_CURRENT_BUFFER ){ \
  242. ast_yyensure_buffer_stack (yyscanner); \
  243. YY_CURRENT_BUFFER_LVALUE = \
  244. ast_yy_create_buffer(yyin,YY_BUF_SIZE ,yyscanner); \
  245. } \
  246. YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
  247. }
  248. #define yy_set_bol(at_bol) \
  249. { \
  250. if ( ! YY_CURRENT_BUFFER ){\
  251. ast_yyensure_buffer_stack (yyscanner); \
  252. YY_CURRENT_BUFFER_LVALUE = \
  253. ast_yy_create_buffer(yyin,YY_BUF_SIZE ,yyscanner); \
  254. } \
  255. YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
  256. }
  257. #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
  258. /* Begin user sect3 */
  259. #define ast_yywrap(n) 1
  260. #define YY_SKIP_YYWRAP
  261. typedef char YY_CHAR;
  262. typedef int yy_state_type;
  263. #define yytext_ptr yytext_r
  264. static yyconst flex_int16_t yy_nxt[][128] =
  265. {
  266. {
  267. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  268. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  269. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  270. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  271. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  272. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  273. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  274. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  275. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  276. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  277. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  278. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  279. 0, 0, 0, 0, 0, 0, 0, 0
  280. },
  281. {
  282. 7, 8, 8, 8, 8, 8, 8, 8, 8, 9,
  283. 10, 8, 8, 9, 8, 8, 8, 8, 8, 8,
  284. 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
  285. 8, 8, 9, 11, 12, 13, 14, 15, 16, 13,
  286. 17, 18, 19, 20, 13, 21, 13, 22, 23, 23,
  287. 23, 23, 23, 23, 23, 23, 23, 23, 24, 13,
  288. 25, 26, 27, 28, 13, 13, 13, 13, 13, 13,
  289. 13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
  290. 13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
  291. 13, 8, 13, 8, 13, 13, 8, 13, 13, 13,
  292. 13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
  293. 13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
  294. 13, 13, 13, 8, 29, 8, 8, 8
  295. },
  296. {
  297. 7, 8, 8, 8, 8, 8, 8, 8, 8, 9,
  298. 10, 8, 8, 9, 8, 8, 8, 8, 8, 8,
  299. 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
  300. 8, 8, 9, 11, 12, 13, 14, 15, 16, 13,
  301. 17, 18, 19, 20, 13, 21, 13, 22, 23, 23,
  302. 23, 23, 23, 23, 23, 23, 23, 23, 24, 13,
  303. 25, 26, 27, 28, 13, 13, 13, 13, 13, 13,
  304. 13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
  305. 13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
  306. 13, 8, 13, 8, 13, 13, 8, 13, 13, 13,
  307. 13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
  308. 13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
  309. 13, 13, 13, 8, 29, 8, 8, 8
  310. },
  311. {
  312. 7, 30, 30, 30, 30, 30, 30, 30, 30, 30,
  313. 30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
  314. 30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
  315. 30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
  316. 30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
  317. 30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
  318. 30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
  319. 30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
  320. 30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
  321. 30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
  322. 30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
  323. 30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
  324. 30, 30, 30, 31, 30, 32, 30, 30
  325. },
  326. {
  327. 7, 30, 30, 30, 30, 30, 30, 30, 30, 30,
  328. 30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
  329. 30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
  330. 30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
  331. 30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
  332. 30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
  333. 30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
  334. 30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
  335. 30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
  336. 30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
  337. 30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
  338. 30, 30, 30, 30, 30, 30, 30, 30, 30, 30,
  339. 30, 30, 30, 31, 30, 32, 30, 30
  340. },
  341. {
  342. 7, 33, 33, 33, 33, 33, 33, 33, 33, 34,
  343. 34, 33, 33, 34, 33, 33, 33, 33, 33, 33,
  344. 33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
  345. 33, 33, 34, 34, 33, 33, 35, 34, 34, 33,
  346. 34, 34, 34, 34, 33, 34, 33, 34, 33, 33,
  347. 33, 33, 33, 33, 33, 33, 33, 33, 34, 33,
  348. 34, 34, 34, 34, 33, 33, 33, 33, 33, 33,
  349. 33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
  350. 33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
  351. 33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
  352. 33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
  353. 33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
  354. 33, 33, 33, 33, 34, 33, 33, 33
  355. },
  356. {
  357. 7, 33, 33, 33, 33, 33, 33, 33, 33, 34,
  358. 34, 33, 33, 34, 33, 33, 33, 33, 33, 33,
  359. 33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
  360. 33, 33, 34, 34, 33, 33, 35, 34, 34, 33,
  361. 34, 34, 34, 34, 33, 34, 33, 34, 33, 33,
  362. 33, 33, 33, 33, 33, 33, 33, 33, 34, 33,
  363. 34, 34, 34, 34, 33, 33, 33, 33, 33, 33,
  364. 33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
  365. 33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
  366. 33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
  367. 33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
  368. 33, 33, 33, 33, 33, 33, 33, 33, 33, 33,
  369. 33, 33, 33, 33, 34, 33, 33, 33
  370. },
  371. {
  372. -7, -7, -7, -7, -7, -7, -7, -7, -7, -7,
  373. -7, -7, -7, -7, -7, -7, -7, -7, -7, -7,
  374. -7, -7, -7, -7, -7, -7, -7, -7, -7, -7,
  375. -7, -7, -7, -7, -7, -7, -7, -7, -7, -7,
  376. -7, -7, -7, -7, -7, -7, -7, -7, -7, -7,
  377. -7, -7, -7, -7, -7, -7, -7, -7, -7, -7,
  378. -7, -7, -7, -7, -7, -7, -7, -7, -7, -7,
  379. -7, -7, -7, -7, -7, -7, -7, -7, -7, -7,
  380. -7, -7, -7, -7, -7, -7, -7, -7, -7, -7,
  381. -7, -7, -7, -7, -7, -7, -7, -7, -7, -7,
  382. -7, -7, -7, -7, -7, -7, -7, -7, -7, -7,
  383. -7, -7, -7, -7, -7, -7, -7, -7, -7, -7,
  384. -7, -7, -7, -7, -7, -7, -7, -7
  385. },
  386. {
  387. 7, -8, -8, -8, -8, -8, -8, -8, -8, -8,
  388. -8, -8, -8, -8, -8, -8, -8, -8, -8, -8,
  389. -8, -8, -8, -8, -8, -8, -8, -8, -8, -8,
  390. -8, -8, -8, -8, -8, -8, -8, -8, -8, -8,
  391. -8, -8, -8, -8, -8, -8, -8, -8, -8, -8,
  392. -8, -8, -8, -8, -8, -8, -8, -8, -8, -8,
  393. -8, -8, -8, -8, -8, -8, -8, -8, -8, -8,
  394. -8, -8, -8, -8, -8, -8, -8, -8, -8, -8,
  395. -8, -8, -8, -8, -8, -8, -8, -8, -8, -8,
  396. -8, -8, -8, -8, -8, -8, -8, -8, -8, -8,
  397. -8, -8, -8, -8, -8, -8, -8, -8, -8, -8,
  398. -8, -8, -8, -8, -8, -8, -8, -8, -8, -8,
  399. -8, -8, -8, -8, -8, -8, -8, -8
  400. },
  401. {
  402. 7, -9, -9, -9, -9, -9, -9, -9, -9, -9,
  403. -9, -9, -9, -9, -9, -9, -9, -9, -9, -9,
  404. -9, -9, -9, -9, -9, -9, -9, -9, -9, -9,
  405. -9, -9, -9, -9, -9, -9, -9, -9, -9, -9,
  406. -9, -9, -9, -9, -9, -9, -9, -9, -9, -9,
  407. -9, -9, -9, -9, -9, -9, -9, -9, -9, -9,
  408. -9, -9, -9, -9, -9, -9, -9, -9, -9, -9,
  409. -9, -9, -9, -9, -9, -9, -9, -9, -9, -9,
  410. -9, -9, -9, -9, -9, -9, -9, -9, -9, -9,
  411. -9, -9, -9, -9, -9, -9, -9, -9, -9, -9,
  412. -9, -9, -9, -9, -9, -9, -9, -9, -9, -9,
  413. -9, -9, -9, -9, -9, -9, -9, -9, -9, -9,
  414. -9, -9, -9, -9, -9, -9, -9, -9
  415. },
  416. {
  417. 7, -10, -10, -10, -10, -10, -10, -10, -10, -10,
  418. -10, -10, -10, -10, -10, -10, -10, -10, -10, -10,
  419. -10, -10, -10, -10, -10, -10, -10, -10, -10, -10,
  420. -10, -10, -10, -10, -10, -10, -10, -10, -10, -10,
  421. -10, -10, -10, -10, -10, -10, -10, -10, -10, -10,
  422. -10, -10, -10, -10, -10, -10, -10, -10, -10, -10,
  423. -10, -10, -10, -10, -10, -10, -10, -10, -10, -10,
  424. -10, -10, -10, -10, -10, -10, -10, -10, -10, -10,
  425. -10, -10, -10, -10, -10, -10, -10, -10, -10, -10,
  426. -10, -10, -10, -10, -10, -10, -10, -10, -10, -10,
  427. -10, -10, -10, -10, -10, -10, -10, -10, -10, -10,
  428. -10, -10, -10, -10, -10, -10, -10, -10, -10, -10,
  429. -10, -10, -10, -10, -10, -10, -10, -10
  430. },
  431. {
  432. 7, -11, -11, -11, -11, -11, -11, -11, -11, -11,
  433. -11, -11, -11, -11, -11, -11, -11, -11, -11, -11,
  434. -11, -11, -11, -11, -11, -11, -11, -11, -11, -11,
  435. -11, -11, -11, 36, -11, 36, 36, 36, -11, 36,
  436. -11, -11, -11, -11, 36, -11, 36, -11, 36, 36,
  437. 36, 36, 36, 36, 36, 36, 36, 36, -11, 36,
  438. -11, 37, -11, -11, 36, 36, 36, 36, 36, 36,
  439. 36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
  440. 36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
  441. 36, -11, 36, -11, 36, 36, -11, 36, 36, 36,
  442. 36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
  443. 36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
  444. 36, 36, 36, -11, -11, -11, -11, -11
  445. },
  446. {
  447. 7, 38, 38, 38, 38, 38, 38, 38, 38, 38,
  448. 38, 38, 38, 38, 38, 38, 38, 38, 38, 38,
  449. 38, 38, 38, 38, 38, 38, 38, 38, 38, 38,
  450. 38, 38, 38, 38, 39, 38, 38, 38, 38, 38,
  451. 38, 38, 38, 38, 38, 38, 38, 38, 38, 38,
  452. 38, 38, 38, 38, 38, 38, 38, 38, 38, 38,
  453. 38, 38, 38, 38, 38, 38, 38, 38, 38, 38,
  454. 38, 38, 38, 38, 38, 38, 38, 38, 38, 38,
  455. 38, 38, 38, 38, 38, 38, 38, 38, 38, 38,
  456. 38, 38, 38, 38, 38, 38, 38, 38, 38, 38,
  457. 38, 38, 38, 38, 38, 38, 38, 38, 38, 38,
  458. 38, 38, 38, 38, 38, 38, 38, 38, 38, 38,
  459. 38, 38, 38, 38, 38, 38, 38, 38
  460. },
  461. {
  462. 7, -13, -13, -13, -13, -13, -13, -13, -13, -13,
  463. -13, -13, -13, -13, -13, -13, -13, -13, -13, -13,
  464. -13, -13, -13, -13, -13, -13, -13, -13, -13, -13,
  465. -13, -13, -13, 36, -13, 36, 36, 36, -13, 36,
  466. -13, -13, -13, -13, 36, -13, 36, -13, 36, 36,
  467. 36, 36, 36, 36, 36, 36, 36, 36, -13, 36,
  468. -13, -13, -13, -13, 36, 36, 36, 36, 36, 36,
  469. 36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
  470. 36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
  471. 36, -13, 36, -13, 36, 36, -13, 36, 36, 36,
  472. 36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
  473. 36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
  474. 36, 36, 36, -13, -13, -13, -13, -13
  475. },
  476. {
  477. 7, -14, -14, -14, -14, -14, -14, -14, -14, -14,
  478. -14, -14, -14, -14, -14, -14, -14, -14, -14, -14,
  479. -14, -14, -14, -14, -14, -14, -14, -14, -14, -14,
  480. -14, -14, -14, 36, -14, 36, 36, 36, -14, 36,
  481. -14, -14, -14, -14, 36, -14, 36, -14, 36, 36,
  482. 36, 36, 36, 36, 36, 36, 36, 36, -14, 36,
  483. -14, -14, -14, -14, 36, 36, 36, 36, 36, 36,
  484. 36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
  485. 36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
  486. 36, -14, 36, -14, 36, 36, -14, 36, 36, 36,
  487. 36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
  488. 36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
  489. 36, 36, 36, 40, -14, -14, -14, -14
  490. },
  491. {
  492. 7, -15, -15, -15, -15, -15, -15, -15, -15, -15,
  493. -15, -15, -15, -15, -15, -15, -15, -15, -15, -15,
  494. -15, -15, -15, -15, -15, -15, -15, -15, -15, -15,
  495. -15, -15, -15, 36, -15, 36, 36, 36, -15, 36,
  496. -15, -15, -15, -15, 36, -15, 36, -15, 36, 36,
  497. 36, 36, 36, 36, 36, 36, 36, 36, -15, 36,
  498. -15, -15, -15, -15, 36, 36, 36, 36, 36, 36,
  499. 36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
  500. 36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
  501. 36, -15, 36, -15, 36, 36, -15, 36, 36, 36,
  502. 36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
  503. 36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
  504. 36, 36, 36, -15, -15, -15, -15, -15
  505. },
  506. {
  507. 7, -16, -16, -16, -16, -16, -16, -16, -16, -16,
  508. -16, -16, -16, -16, -16, -16, -16, -16, -16, -16,
  509. -16, -16, -16, -16, -16, -16, -16, -16, -16, -16,
  510. -16, -16, -16, -16, -16, -16, -16, -16, -16, -16,
  511. -16, -16, -16, -16, -16, -16, -16, -16, -16, -16,
  512. -16, -16, -16, -16, -16, -16, -16, -16, -16, -16,
  513. -16, -16, -16, -16, -16, -16, -16, -16, -16, -16,
  514. -16, -16, -16, -16, -16, -16, -16, -16, -16, -16,
  515. -16, -16, -16, -16, -16, -16, -16, -16, -16, -16,
  516. -16, -16, -16, -16, -16, -16, -16, -16, -16, -16,
  517. -16, -16, -16, -16, -16, -16, -16, -16, -16, -16,
  518. -16, -16, -16, -16, -16, -16, -16, -16, -16, -16,
  519. -16, -16, -16, -16, -16, -16, -16, -16
  520. },
  521. {
  522. 7, -17, -17, -17, -17, -17, -17, -17, -17, -17,
  523. -17, -17, -17, -17, -17, -17, -17, -17, -17, -17,
  524. -17, -17, -17, -17, -17, -17, -17, -17, -17, -17,
  525. -17, -17, -17, -17, -17, -17, -17, -17, -17, -17,
  526. -17, -17, -17, -17, -17, -17, -17, -17, -17, -17,
  527. -17, -17, -17, -17, -17, -17, -17, -17, -17, -17,
  528. -17, -17, -17, -17, -17, -17, -17, -17, -17, -17,
  529. -17, -17, -17, -17, -17, -17, -17, -17, -17, -17,
  530. -17, -17, -17, -17, -17, -17, -17, -17, -17, -17,
  531. -17, -17, -17, -17, -17, -17, -17, -17, -17, -17,
  532. -17, -17, -17, -17, -17, -17, -17, -17, -17, -17,
  533. -17, -17, -17, -17, -17, -17, -17, -17, -17, -17,
  534. -17, -17, -17, -17, -17, -17, -17, -17
  535. },
  536. {
  537. 7, -18, -18, -18, -18, -18, -18, -18, -18, -18,
  538. -18, -18, -18, -18, -18, -18, -18, -18, -18, -18,
  539. -18, -18, -18, -18, -18, -18, -18, -18, -18, -18,
  540. -18, -18, -18, -18, -18, -18, -18, -18, -18, -18,
  541. -18, -18, -18, -18, -18, -18, -18, -18, -18, -18,
  542. -18, -18, -18, -18, -18, -18, -18, -18, -18, -18,
  543. -18, -18, -18, -18, -18, -18, -18, -18, -18, -18,
  544. -18, -18, -18, -18, -18, -18, -18, -18, -18, -18,
  545. -18, -18, -18, -18, -18, -18, -18, -18, -18, -18,
  546. -18, -18, -18, -18, -18, -18, -18, -18, -18, -18,
  547. -18, -18, -18, -18, -18, -18, -18, -18, -18, -18,
  548. -18, -18, -18, -18, -18, -18, -18, -18, -18, -18,
  549. -18, -18, -18, -18, -18, -18, -18, -18
  550. },
  551. {
  552. 7, -19, -19, -19, -19, -19, -19, -19, -19, -19,
  553. -19, -19, -19, -19, -19, -19, -19, -19, -19, -19,
  554. -19, -19, -19, -19, -19, -19, -19, -19, -19, -19,
  555. -19, -19, -19, -19, -19, -19, -19, -19, -19, -19,
  556. -19, -19, -19, -19, -19, -19, -19, -19, -19, -19,
  557. -19, -19, -19, -19, -19, -19, -19, -19, -19, -19,
  558. -19, -19, -19, -19, -19, -19, -19, -19, -19, -19,
  559. -19, -19, -19, -19, -19, -19, -19, -19, -19, -19,
  560. -19, -19, -19, -19, -19, -19, -19, -19, -19, -19,
  561. -19, -19, -19, -19, -19, -19, -19, -19, -19, -19,
  562. -19, -19, -19, -19, -19, -19, -19, -19, -19, -19,
  563. -19, -19, -19, -19, -19, -19, -19, -19, -19, -19,
  564. -19, -19, -19, -19, -19, -19, -19, -19
  565. },
  566. {
  567. 7, -20, -20, -20, -20, -20, -20, -20, -20, -20,
  568. -20, -20, -20, -20, -20, -20, -20, -20, -20, -20,
  569. -20, -20, -20, -20, -20, -20, -20, -20, -20, -20,
  570. -20, -20, -20, -20, -20, -20, -20, -20, -20, -20,
  571. -20, -20, -20, -20, -20, -20, -20, -20, -20, -20,
  572. -20, -20, -20, -20, -20, -20, -20, -20, -20, -20,
  573. -20, -20, -20, -20, -20, -20, -20, -20, -20, -20,
  574. -20, -20, -20, -20, -20, -20, -20, -20, -20, -20,
  575. -20, -20, -20, -20, -20, -20, -20, -20, -20, -20,
  576. -20, -20, -20, -20, -20, -20, -20, -20, -20, -20,
  577. -20, -20, -20, -20, -20, -20, -20, -20, -20, -20,
  578. -20, -20, -20, -20, -20, -20, -20, -20, -20, -20,
  579. -20, -20, -20, -20, -20, -20, -20, -20
  580. },
  581. {
  582. 7, -21, -21, -21, -21, -21, -21, -21, -21, -21,
  583. -21, -21, -21, -21, -21, -21, -21, -21, -21, -21,
  584. -21, -21, -21, -21, -21, -21, -21, -21, -21, -21,
  585. -21, -21, -21, -21, -21, -21, -21, -21, -21, -21,
  586. -21, -21, -21, -21, -21, -21, -21, -21, -21, -21,
  587. -21, -21, -21, -21, -21, -21, -21, -21, -21, -21,
  588. -21, -21, -21, -21, -21, -21, -21, -21, -21, -21,
  589. -21, -21, -21, -21, -21, -21, -21, -21, -21, -21,
  590. -21, -21, -21, -21, -21, -21, -21, -21, -21, -21,
  591. -21, -21, -21, -21, -21, -21, -21, -21, -21, -21,
  592. -21, -21, -21, -21, -21, -21, -21, -21, -21, -21,
  593. -21, -21, -21, -21, -21, -21, -21, -21, -21, -21,
  594. -21, -21, -21, -21, -21, -21, -21, -21
  595. },
  596. {
  597. 7, -22, -22, -22, -22, -22, -22, -22, -22, -22,
  598. -22, -22, -22, -22, -22, -22, -22, -22, -22, -22,
  599. -22, -22, -22, -22, -22, -22, -22, -22, -22, -22,
  600. -22, -22, -22, -22, -22, -22, -22, -22, -22, -22,
  601. -22, -22, -22, -22, -22, -22, -22, -22, -22, -22,
  602. -22, -22, -22, -22, -22, -22, -22, -22, -22, -22,
  603. -22, -22, -22, -22, -22, -22, -22, -22, -22, -22,
  604. -22, -22, -22, -22, -22, -22, -22, -22, -22, -22,
  605. -22, -22, -22, -22, -22, -22, -22, -22, -22, -22,
  606. -22, -22, -22, -22, -22, -22, -22, -22, -22, -22,
  607. -22, -22, -22, -22, -22, -22, -22, -22, -22, -22,
  608. -22, -22, -22, -22, -22, -22, -22, -22, -22, -22,
  609. -22, -22, -22, -22, -22, -22, -22, -22
  610. },
  611. {
  612. 7, -23, -23, -23, -23, -23, -23, -23, -23, -23,
  613. -23, -23, -23, -23, -23, -23, -23, -23, -23, -23,
  614. -23, -23, -23, -23, -23, -23, -23, -23, -23, -23,
  615. -23, -23, -23, 36, -23, 36, 36, 36, -23, 36,
  616. -23, -23, -23, -23, 36, -23, 36, -23, 41, 41,
  617. 41, 41, 41, 41, 41, 41, 41, 41, -23, 36,
  618. -23, -23, -23, -23, 36, 36, 36, 36, 36, 36,
  619. 36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
  620. 36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
  621. 36, -23, 36, -23, 36, 36, -23, 36, 36, 36,
  622. 36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
  623. 36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
  624. 36, 36, 36, -23, -23, -23, -23, -23
  625. },
  626. {
  627. 7, -24, -24, -24, -24, -24, -24, -24, -24, -24,
  628. -24, -24, -24, -24, -24, -24, -24, -24, -24, -24,
  629. -24, -24, -24, -24, -24, -24, -24, -24, -24, -24,
  630. -24, -24, -24, -24, -24, -24, -24, -24, -24, -24,
  631. -24, -24, -24, -24, -24, -24, -24, -24, -24, -24,
  632. -24, -24, -24, -24, -24, -24, -24, -24, 42, -24,
  633. -24, -24, -24, -24, -24, -24, -24, -24, -24, -24,
  634. -24, -24, -24, -24, -24, -24, -24, -24, -24, -24,
  635. -24, -24, -24, -24, -24, -24, -24, -24, -24, -24,
  636. -24, -24, -24, -24, -24, -24, -24, -24, -24, -24,
  637. -24, -24, -24, -24, -24, -24, -24, -24, -24, -24,
  638. -24, -24, -24, -24, -24, -24, -24, -24, -24, -24,
  639. -24, -24, -24, -24, -24, -24, -24, -24
  640. },
  641. {
  642. 7, -25, -25, -25, -25, -25, -25, -25, -25, -25,
  643. -25, -25, -25, -25, -25, -25, -25, -25, -25, -25,
  644. -25, -25, -25, -25, -25, -25, -25, -25, -25, -25,
  645. -25, -25, -25, -25, -25, -25, -25, -25, -25, -25,
  646. -25, -25, -25, -25, -25, -25, -25, -25, -25, -25,
  647. -25, -25, -25, -25, -25, -25, -25, -25, -25, -25,
  648. -25, 43, -25, -25, -25, -25, -25, -25, -25, -25,
  649. -25, -25, -25, -25, -25, -25, -25, -25, -25, -25,
  650. -25, -25, -25, -25, -25, -25, -25, -25, -25, -25,
  651. -25, -25, -25, -25, -25, -25, -25, -25, -25, -25,
  652. -25, -25, -25, -25, -25, -25, -25, -25, -25, -25,
  653. -25, -25, -25, -25, -25, -25, -25, -25, -25, -25,
  654. -25, -25, -25, -25, -25, -25, -25, -25
  655. },
  656. {
  657. 7, -26, -26, -26, -26, -26, -26, -26, -26, -26,
  658. -26, -26, -26, -26, -26, -26, -26, -26, -26, -26,
  659. -26, -26, -26, -26, -26, -26, -26, -26, -26, -26,
  660. -26, -26, -26, -26, -26, -26, -26, -26, -26, -26,
  661. -26, -26, -26, -26, -26, -26, -26, -26, -26, -26,
  662. -26, -26, -26, -26, -26, -26, -26, -26, -26, -26,
  663. -26, -26, -26, -26, -26, -26, -26, -26, -26, -26,
  664. -26, -26, -26, -26, -26, -26, -26, -26, -26, -26,
  665. -26, -26, -26, -26, -26, -26, -26, -26, -26, -26,
  666. -26, -26, -26, -26, -26, -26, -26, -26, -26, -26,
  667. -26, -26, -26, -26, -26, -26, -26, -26, -26, -26,
  668. -26, -26, -26, -26, -26, -26, -26, -26, -26, -26,
  669. -26, -26, -26, -26, -26, -26, -26, -26
  670. },
  671. {
  672. 7, -27, -27, -27, -27, -27, -27, -27, -27, -27,
  673. -27, -27, -27, -27, -27, -27, -27, -27, -27, -27,
  674. -27, -27, -27, -27, -27, -27, -27, -27, -27, -27,
  675. -27, -27, -27, -27, -27, -27, -27, -27, -27, -27,
  676. -27, -27, -27, -27, -27, -27, -27, -27, -27, -27,
  677. -27, -27, -27, -27, -27, -27, -27, -27, -27, -27,
  678. -27, 44, -27, -27, -27, -27, -27, -27, -27, -27,
  679. -27, -27, -27, -27, -27, -27, -27, -27, -27, -27,
  680. -27, -27, -27, -27, -27, -27, -27, -27, -27, -27,
  681. -27, -27, -27, -27, -27, -27, -27, -27, -27, -27,
  682. -27, -27, -27, -27, -27, -27, -27, -27, -27, -27,
  683. -27, -27, -27, -27, -27, -27, -27, -27, -27, -27,
  684. -27, -27, -27, -27, -27, -27, -27, -27
  685. },
  686. {
  687. 7, -28, -28, -28, -28, -28, -28, -28, -28, -28,
  688. -28, -28, -28, -28, -28, -28, -28, -28, -28, -28,
  689. -28, -28, -28, -28, -28, -28, -28, -28, -28, -28,
  690. -28, -28, -28, -28, -28, -28, -28, -28, -28, -28,
  691. -28, -28, -28, -28, -28, -28, -28, -28, -28, -28,
  692. -28, -28, -28, -28, -28, -28, -28, -28, -28, -28,
  693. -28, -28, -28, -28, -28, -28, -28, -28, -28, -28,
  694. -28, -28, -28, -28, -28, -28, -28, -28, -28, -28,
  695. -28, -28, -28, -28, -28, -28, -28, -28, -28, -28,
  696. -28, -28, -28, -28, -28, -28, -28, -28, -28, -28,
  697. -28, -28, -28, -28, -28, -28, -28, -28, -28, -28,
  698. -28, -28, -28, -28, -28, -28, -28, -28, -28, -28,
  699. -28, -28, -28, -28, -28, -28, -28, -28
  700. },
  701. {
  702. 7, -29, -29, -29, -29, -29, -29, -29, -29, -29,
  703. -29, -29, -29, -29, -29, -29, -29, -29, -29, -29,
  704. -29, -29, -29, -29, -29, -29, -29, -29, -29, -29,
  705. -29, -29, -29, -29, -29, -29, -29, -29, -29, -29,
  706. -29, -29, -29, -29, -29, -29, -29, -29, -29, -29,
  707. -29, -29, -29, -29, -29, -29, -29, -29, -29, -29,
  708. -29, -29, -29, -29, -29, -29, -29, -29, -29, -29,
  709. -29, -29, -29, -29, -29, -29, -29, -29, -29, -29,
  710. -29, -29, -29, -29, -29, -29, -29, -29, -29, -29,
  711. -29, -29, -29, -29, -29, -29, -29, -29, -29, -29,
  712. -29, -29, -29, -29, -29, -29, -29, -29, -29, -29,
  713. -29, -29, -29, -29, -29, -29, -29, -29, -29, -29,
  714. -29, -29, -29, -29, -29, -29, -29, -29
  715. },
  716. {
  717. 7, 45, 45, 45, 45, 45, 45, 45, 45, 45,
  718. 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
  719. 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
  720. 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
  721. 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
  722. 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
  723. 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
  724. 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
  725. 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
  726. 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
  727. 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
  728. 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
  729. 45, 45, 45, 46, 45, 47, 45, 45
  730. },
  731. {
  732. 7, -31, -31, -31, -31, -31, -31, -31, -31, -31,
  733. -31, -31, -31, -31, -31, -31, -31, -31, -31, -31,
  734. -31, -31, -31, -31, -31, -31, -31, -31, -31, -31,
  735. -31, -31, -31, -31, -31, -31, -31, -31, -31, -31,
  736. -31, -31, -31, -31, -31, -31, -31, -31, -31, -31,
  737. -31, -31, -31, -31, -31, -31, -31, -31, -31, -31,
  738. -31, -31, -31, -31, -31, -31, -31, -31, -31, -31,
  739. -31, -31, -31, -31, -31, -31, -31, -31, -31, -31,
  740. -31, -31, -31, -31, -31, -31, -31, -31, -31, -31,
  741. -31, -31, -31, -31, -31, -31, -31, -31, -31, -31,
  742. -31, -31, -31, -31, -31, -31, -31, -31, -31, -31,
  743. -31, -31, -31, -31, -31, -31, -31, -31, -31, -31,
  744. -31, -31, -31, -31, -31, -31, -31, -31
  745. },
  746. {
  747. 7, -32, -32, -32, -32, -32, -32, -32, -32, -32,
  748. -32, -32, -32, -32, -32, -32, -32, -32, -32, -32,
  749. -32, -32, -32, -32, -32, -32, -32, -32, -32, -32,
  750. -32, -32, -32, -32, -32, -32, -32, -32, -32, -32,
  751. -32, -32, -32, -32, -32, -32, -32, -32, -32, -32,
  752. -32, -32, -32, -32, -32, -32, -32, -32, -32, -32,
  753. -32, -32, -32, -32, -32, -32, -32, -32, -32, -32,
  754. -32, -32, -32, -32, -32, -32, -32, -32, -32, -32,
  755. -32, -32, -32, -32, -32, -32, -32, -32, -32, -32,
  756. -32, -32, -32, -32, -32, -32, -32, -32, -32, -32,
  757. -32, -32, -32, -32, -32, -32, -32, -32, -32, -32,
  758. -32, -32, -32, -32, -32, -32, -32, -32, -32, -32,
  759. -32, -32, -32, -32, -32, -32, -32, -32
  760. },
  761. {
  762. 7, 48, 48, 48, 48, 48, 48, 48, 48, -33,
  763. -33, 48, 48, -33, 48, 48, 48, 48, 48, 48,
  764. 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
  765. 48, 48, -33, -33, 48, 48, -33, -33, -33, 48,
  766. -33, -33, -33, -33, 48, -33, 48, -33, 48, 48,
  767. 48, 48, 48, 48, 48, 48, 48, 48, -33, 48,
  768. -33, -33, -33, -33, 48, 48, 48, 48, 48, 48,
  769. 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
  770. 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
  771. 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
  772. 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
  773. 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
  774. 48, 48, 48, 48, -33, 48, 48, 48
  775. },
  776. {
  777. 7, -34, -34, -34, -34, -34, -34, -34, -34, -34,
  778. -34, -34, -34, -34, -34, -34, -34, -34, -34, -34,
  779. -34, -34, -34, -34, -34, -34, -34, -34, -34, -34,
  780. -34, -34, -34, -34, -34, -34, -34, -34, -34, -34,
  781. -34, -34, -34, -34, -34, -34, -34, -34, -34, -34,
  782. -34, -34, -34, -34, -34, -34, -34, -34, -34, -34,
  783. -34, -34, -34, -34, -34, -34, -34, -34, -34, -34,
  784. -34, -34, -34, -34, -34, -34, -34, -34, -34, -34,
  785. -34, -34, -34, -34, -34, -34, -34, -34, -34, -34,
  786. -34, -34, -34, -34, -34, -34, -34, -34, -34, -34,
  787. -34, -34, -34, -34, -34, -34, -34, -34, -34, -34,
  788. -34, -34, -34, -34, -34, -34, -34, -34, -34, -34,
  789. -34, -34, -34, -34, -34, -34, -34, -34
  790. },
  791. {
  792. 7, -35, -35, -35, -35, -35, -35, -35, -35, -35,
  793. -35, -35, -35, -35, -35, -35, -35, -35, -35, -35,
  794. -35, -35, -35, -35, -35, -35, -35, -35, -35, -35,
  795. -35, -35, -35, -35, -35, -35, -35, -35, -35, -35,
  796. -35, -35, -35, -35, -35, -35, -35, -35, -35, -35,
  797. -35, -35, -35, -35, -35, -35, -35, -35, -35, -35,
  798. -35, -35, -35, -35, -35, -35, -35, -35, -35, -35,
  799. -35, -35, -35, -35, -35, -35, -35, -35, -35, -35,
  800. -35, -35, -35, -35, -35, -35, -35, -35, -35, -35,
  801. -35, -35, -35, -35, -35, -35, -35, -35, -35, -35,
  802. -35, -35, -35, -35, -35, -35, -35, -35, -35, -35,
  803. -35, -35, -35, -35, -35, -35, -35, -35, -35, -35,
  804. -35, -35, -35, 49, -35, -35, -35, -35
  805. },
  806. {
  807. 7, -36, -36, -36, -36, -36, -36, -36, -36, -36,
  808. -36, -36, -36, -36, -36, -36, -36, -36, -36, -36,
  809. -36, -36, -36, -36, -36, -36, -36, -36, -36, -36,
  810. -36, -36, -36, 36, -36, 36, 36, 36, -36, 36,
  811. -36, -36, -36, -36, 36, -36, 36, -36, 36, 36,
  812. 36, 36, 36, 36, 36, 36, 36, 36, -36, 36,
  813. -36, -36, -36, -36, 36, 36, 36, 36, 36, 36,
  814. 36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
  815. 36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
  816. 36, -36, 36, -36, 36, 36, -36, 36, 36, 36,
  817. 36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
  818. 36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
  819. 36, 36, 36, -36, -36, -36, -36, -36
  820. },
  821. {
  822. 7, -37, -37, -37, -37, -37, -37, -37, -37, -37,
  823. -37, -37, -37, -37, -37, -37, -37, -37, -37, -37,
  824. -37, -37, -37, -37, -37, -37, -37, -37, -37, -37,
  825. -37, -37, -37, -37, -37, -37, -37, -37, -37, -37,
  826. -37, -37, -37, -37, -37, -37, -37, -37, -37, -37,
  827. -37, -37, -37, -37, -37, -37, -37, -37, -37, -37,
  828. -37, -37, -37, -37, -37, -37, -37, -37, -37, -37,
  829. -37, -37, -37, -37, -37, -37, -37, -37, -37, -37,
  830. -37, -37, -37, -37, -37, -37, -37, -37, -37, -37,
  831. -37, -37, -37, -37, -37, -37, -37, -37, -37, -37,
  832. -37, -37, -37, -37, -37, -37, -37, -37, -37, -37,
  833. -37, -37, -37, -37, -37, -37, -37, -37, -37, -37,
  834. -37, -37, -37, -37, -37, -37, -37, -37
  835. },
  836. {
  837. 7, 38, 38, 38, 38, 38, 38, 38, 38, 38,
  838. 38, 38, 38, 38, 38, 38, 38, 38, 38, 38,
  839. 38, 38, 38, 38, 38, 38, 38, 38, 38, 38,
  840. 38, 38, 38, 38, 39, 38, 38, 38, 38, 38,
  841. 38, 38, 38, 38, 38, 38, 38, 38, 38, 38,
  842. 38, 38, 38, 38, 38, 38, 38, 38, 38, 38,
  843. 38, 38, 38, 38, 38, 38, 38, 38, 38, 38,
  844. 38, 38, 38, 38, 38, 38, 38, 38, 38, 38,
  845. 38, 38, 38, 38, 38, 38, 38, 38, 38, 38,
  846. 38, 38, 38, 38, 38, 38, 38, 38, 38, 38,
  847. 38, 38, 38, 38, 38, 38, 38, 38, 38, 38,
  848. 38, 38, 38, 38, 38, 38, 38, 38, 38, 38,
  849. 38, 38, 38, 38, 38, 38, 38, 38
  850. },
  851. {
  852. 7, -39, -39, -39, -39, -39, -39, -39, -39, -39,
  853. -39, -39, -39, -39, -39, -39, -39, -39, -39, -39,
  854. -39, -39, -39, -39, -39, -39, -39, -39, -39, -39,
  855. -39, -39, -39, -39, -39, -39, -39, -39, -39, -39,
  856. -39, -39, -39, -39, -39, -39, -39, -39, -39, -39,
  857. -39, -39, -39, -39, -39, -39, -39, -39, -39, -39,
  858. -39, -39, -39, -39, -39, -39, -39, -39, -39, -39,
  859. -39, -39, -39, -39, -39, -39, -39, -39, -39, -39,
  860. -39, -39, -39, -39, -39, -39, -39, -39, -39, -39,
  861. -39, -39, -39, -39, -39, -39, -39, -39, -39, -39,
  862. -39, -39, -39, -39, -39, -39, -39, -39, -39, -39,
  863. -39, -39, -39, -39, -39, -39, -39, -39, -39, -39,
  864. -39, -39, -39, -39, -39, -39, -39, -39
  865. },
  866. {
  867. 7, -40, -40, -40, -40, -40, -40, -40, -40, -40,
  868. -40, -40, -40, -40, -40, -40, -40, -40, -40, -40,
  869. -40, -40, -40, -40, -40, -40, -40, -40, -40, -40,
  870. -40, -40, -40, -40, -40, -40, -40, -40, -40, -40,
  871. -40, -40, -40, -40, -40, -40, -40, -40, -40, -40,
  872. -40, -40, -40, -40, -40, -40, -40, -40, -40, -40,
  873. -40, -40, -40, -40, -40, -40, -40, -40, -40, -40,
  874. -40, -40, -40, -40, -40, -40, -40, -40, -40, -40,
  875. -40, -40, -40, -40, -40, -40, -40, -40, -40, -40,
  876. -40, -40, -40, -40, -40, -40, -40, -40, -40, -40,
  877. -40, -40, -40, -40, -40, -40, -40, -40, -40, -40,
  878. -40, -40, -40, -40, -40, -40, -40, -40, -40, -40,
  879. -40, -40, -40, -40, -40, -40, -40, -40
  880. },
  881. {
  882. 7, -41, -41, -41, -41, -41, -41, -41, -41, -41,
  883. -41, -41, -41, -41, -41, -41, -41, -41, -41, -41,
  884. -41, -41, -41, -41, -41, -41, -41, -41, -41, -41,
  885. -41, -41, -41, 36, -41, 36, 36, 36, -41, 36,
  886. -41, -41, -41, -41, 36, -41, 36, -41, 41, 41,
  887. 41, 41, 41, 41, 41, 41, 41, 41, -41, 36,
  888. -41, -41, -41, -41, 36, 36, 36, 36, 36, 36,
  889. 36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
  890. 36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
  891. 36, -41, 36, -41, 36, 36, -41, 36, 36, 36,
  892. 36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
  893. 36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
  894. 36, 36, 36, -41, -41, -41, -41, -41
  895. },
  896. {
  897. 7, -42, -42, -42, -42, -42, -42, -42, -42, -42,
  898. -42, -42, -42, -42, -42, -42, -42, -42, -42, -42,
  899. -42, -42, -42, -42, -42, -42, -42, -42, -42, -42,
  900. -42, -42, -42, -42, -42, -42, -42, -42, -42, -42,
  901. -42, -42, -42, -42, -42, -42, -42, -42, -42, -42,
  902. -42, -42, -42, -42, -42, -42, -42, -42, -42, -42,
  903. -42, -42, -42, -42, -42, -42, -42, -42, -42, -42,
  904. -42, -42, -42, -42, -42, -42, -42, -42, -42, -42,
  905. -42, -42, -42, -42, -42, -42, -42, -42, -42, -42,
  906. -42, -42, -42, -42, -42, -42, -42, -42, -42, -42,
  907. -42, -42, -42, -42, -42, -42, -42, -42, -42, -42,
  908. -42, -42, -42, -42, -42, -42, -42, -42, -42, -42,
  909. -42, -42, -42, -42, -42, -42, -42, -42
  910. },
  911. {
  912. 7, -43, -43, -43, -43, -43, -43, -43, -43, -43,
  913. -43, -43, -43, -43, -43, -43, -43, -43, -43, -43,
  914. -43, -43, -43, -43, -43, -43, -43, -43, -43, -43,
  915. -43, -43, -43, -43, -43, -43, -43, -43, -43, -43,
  916. -43, -43, -43, -43, -43, -43, -43, -43, -43, -43,
  917. -43, -43, -43, -43, -43, -43, -43, -43, -43, -43,
  918. -43, -43, -43, -43, -43, -43, -43, -43, -43, -43,
  919. -43, -43, -43, -43, -43, -43, -43, -43, -43, -43,
  920. -43, -43, -43, -43, -43, -43, -43, -43, -43, -43,
  921. -43, -43, -43, -43, -43, -43, -43, -43, -43, -43,
  922. -43, -43, -43, -43, -43, -43, -43, -43, -43, -43,
  923. -43, -43, -43, -43, -43, -43, -43, -43, -43, -43,
  924. -43, -43, -43, -43, -43, -43, -43, -43
  925. },
  926. {
  927. 7, -44, -44, -44, -44, -44, -44, -44, -44, -44,
  928. -44, -44, -44, -44, -44, -44, -44, -44, -44, -44,
  929. -44, -44, -44, -44, -44, -44, -44, -44, -44, -44,
  930. -44, -44, -44, -44, -44, -44, -44, -44, -44, -44,
  931. -44, -44, -44, -44, -44, -44, -44, -44, -44, -44,
  932. -44, -44, -44, -44, -44, -44, -44, -44, -44, -44,
  933. -44, -44, -44, -44, -44, -44, -44, -44, -44, -44,
  934. -44, -44, -44, -44, -44, -44, -44, -44, -44, -44,
  935. -44, -44, -44, -44, -44, -44, -44, -44, -44, -44,
  936. -44, -44, -44, -44, -44, -44, -44, -44, -44, -44,
  937. -44, -44, -44, -44, -44, -44, -44, -44, -44, -44,
  938. -44, -44, -44, -44, -44, -44, -44, -44, -44, -44,
  939. -44, -44, -44, -44, -44, -44, -44, -44
  940. },
  941. {
  942. 7, 45, 45, 45, 45, 45, 45, 45, 45, 45,
  943. 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
  944. 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
  945. 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
  946. 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
  947. 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
  948. 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
  949. 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
  950. 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
  951. 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
  952. 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
  953. 45, 45, 45, 45, 45, 45, 45, 45, 45, 45,
  954. 45, 45, 45, 46, 45, 47, 45, 45
  955. },
  956. {
  957. 7, -46, -46, -46, -46, -46, -46, -46, -46, -46,
  958. -46, -46, -46, -46, -46, -46, -46, -46, -46, -46,
  959. -46, -46, -46, -46, -46, -46, -46, -46, -46, -46,
  960. -46, -46, -46, -46, -46, -46, -46, -46, -46, -46,
  961. -46, -46, -46, -46, -46, -46, -46, -46, -46, -46,
  962. -46, -46, -46, -46, -46, -46, -46, -46, -46, -46,
  963. -46, -46, -46, -46, -46, -46, -46, -46, -46, -46,
  964. -46, -46, -46, -46, -46, -46, -46, -46, -46, -46,
  965. -46, -46, -46, -46, -46, -46, -46, -46, -46, -46,
  966. -46, -46, -46, -46, -46, -46, -46, -46, -46, -46,
  967. -46, -46, -46, -46, -46, -46, -46, -46, -46, -46,
  968. -46, -46, -46, -46, -46, -46, -46, -46, -46, -46,
  969. -46, -46, -46, -46, -46, -46, -46, -46
  970. },
  971. {
  972. 7, -47, -47, -47, -47, -47, -47, -47, -47, -47,
  973. -47, -47, -47, -47, -47, -47, -47, -47, -47, -47,
  974. -47, -47, -47, -47, -47, -47, -47, -47, -47, -47,
  975. -47, -47, -47, -47, -47, -47, -47, -47, -47, -47,
  976. -47, -47, -47, -47, -47, -47, -47, -47, -47, -47,
  977. -47, -47, -47, -47, -47, -47, -47, -47, -47, -47,
  978. -47, -47, -47, -47, -47, -47, -47, -47, -47, -47,
  979. -47, -47, -47, -47, -47, -47, -47, -47, -47, -47,
  980. -47, -47, -47, -47, -47, -47, -47, -47, -47, -47,
  981. -47, -47, -47, -47, -47, -47, -47, -47, -47, -47,
  982. -47, -47, -47, -47, -47, -47, -47, -47, -47, -47,
  983. -47, -47, -47, -47, -47, -47, -47, -47, -47, -47,
  984. -47, -47, -47, -47, -47, -47, -47, -47
  985. },
  986. {
  987. 7, 48, 48, 48, 48, 48, 48, 48, 48, -48,
  988. -48, 48, 48, -48, 48, 48, 48, 48, 48, 48,
  989. 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
  990. 48, 48, -48, -48, 48, 48, -48, -48, -48, 48,
  991. -48, -48, -48, -48, 48, -48, 48, -48, 48, 48,
  992. 48, 48, 48, 48, 48, 48, 48, 48, -48, 48,
  993. -48, -48, -48, -48, 48, 48, 48, 48, 48, 48,
  994. 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
  995. 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
  996. 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
  997. 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
  998. 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
  999. 48, 48, 48, 48, -48, 48, 48, 48
  1000. },
  1001. {
  1002. 7, -49, -49, -49, -49, -49, -49, -49, -49, -49,
  1003. -49, -49, -49, -49, -49, -49, -49, -49, -49, -49,
  1004. -49, -49, -49, -49, -49, -49, -49, -49, -49, -49,
  1005. -49, -49, -49, -49, -49, -49, -49, -49, -49, -49,
  1006. -49, -49, -49, -49, -49, -49, -49, -49, -49, -49,
  1007. -49, -49, -49, -49, -49, -49, -49, -49, -49, -49,
  1008. -49, -49, -49, -49, -49, -49, -49, -49, -49, -49,
  1009. -49, -49, -49, -49, -49, -49, -49, -49, -49, -49,
  1010. -49, -49, -49, -49, -49, -49, -49, -49, -49, -49,
  1011. -49, -49, -49, -49, -49, -49, -49, -49, -49, -49,
  1012. -49, -49, -49, -49, -49, -49, -49, -49, -49, -49,
  1013. -49, -49, -49, -49, -49, -49, -49, -49, -49, -49,
  1014. -49, -49, -49, -49, -49, -49, -49, -49
  1015. },
  1016. } ;
  1017. static yy_state_type yy_get_previous_state (yyscan_t yyscanner );
  1018. static yy_state_type yy_try_NUL_trans (yy_state_type current_state ,yyscan_t yyscanner);
  1019. static int yy_get_next_buffer (yyscan_t yyscanner );
  1020. static void yy_fatal_error (yyconst char msg[] ,yyscan_t yyscanner );
  1021. /* Done after the current pattern has been matched and before the
  1022. * corresponding action - sets up yytext.
  1023. */
  1024. #define YY_DO_BEFORE_ACTION \
  1025. yyg->yytext_ptr = yy_bp; \
  1026. yyg->yytext_ptr -= yyg->yy_more_len; \
  1027. yyleng = (size_t) (yy_cp - yyg->yytext_ptr); \
  1028. yyg->yy_hold_char = *yy_cp; \
  1029. *yy_cp = '\0'; \
  1030. yyg->yy_c_buf_p = yy_cp;
  1031. #define YY_NUM_RULES 30
  1032. #define YY_END_OF_BUFFER 31
  1033. /* This struct is not used in this scanner,
  1034. but its presence is necessary. */
  1035. struct yy_trans_info
  1036. {
  1037. flex_int32_t yy_verify;
  1038. flex_int32_t yy_nxt;
  1039. };
  1040. static yyconst flex_int16_t yy_accept[50] =
  1041. { 0,
  1042. 0, 0, 0, 0, 27, 27, 31, 30, 20, 22,
  1043. 24, 30, 24, 24, 13, 2, 17, 18, 11, 9,
  1044. 10, 12, 23, 15, 5, 3, 4, 14, 1, 30,
  1045. 26, 25, 27, 28, 28, 24, 8, 0, 21, 19,
  1046. 23, 16, 7, 6, 0, 26, 25, 27, 29
  1047. } ;
  1048. static yyconst yy_state_type yy_NUL_trans[50] =
  1049. { 0,
  1050. 8, 8, 30, 30, 33, 33, 0, 0, 0, 0,
  1051. 0, 38, 0, 0, 0, 0, 0, 0, 0, 0,
  1052. 0, 0, 0, 0, 0, 0, 0, 0, 0, 45,
  1053. 0, 0, 48, 0, 0, 0, 0, 38, 0, 0,
  1054. 0, 0, 0, 0, 45, 0, 0, 48, 0
  1055. } ;
  1056. /* The intent behind this definition is that it'll catch
  1057. * any uses of REJECT which flex missed.
  1058. */
  1059. #define REJECT reject_used_but_not_detected
  1060. #define yymore() (yyg->yy_more_flag = 1)
  1061. #define YY_MORE_ADJ yyg->yy_more_len
  1062. #define YY_RESTORE_YY_MORE_OFFSET
  1063. #line 1 "ast_expr2.fl"
  1064. #line 2 "ast_expr2.fl"
  1065. /*! \file
  1066. *
  1067. * \brief Dialplan Expression Parser
  1068. */
  1069. #include <sys/types.h>
  1070. #include <stdio.h>
  1071. #include <stdlib.h>
  1072. #include <string.h>
  1073. #include <locale.h>
  1074. #include <ctype.h>
  1075. #if !defined(SOLARIS) && !defined(__CYGWIN__)
  1076. #include <err.h>
  1077. #else
  1078. #define quad_t int64_t
  1079. #endif
  1080. #include <errno.h>
  1081. #include <regex.h>
  1082. #include <limits.h>
  1083. #include <asterisk/ast_expr.h>
  1084. #include <asterisk/logger.h>
  1085. #include <asterisk/strings.h>
  1086. enum valtype {
  1087. AST_EXPR_integer, AST_EXPR_numeric_string, AST_EXPR_string
  1088. } ;
  1089. struct val {
  1090. enum valtype type;
  1091. union {
  1092. char *s;
  1093. quad_t i;
  1094. } u;
  1095. } ;
  1096. #include "ast_expr2.h" /* the o/p of the bison on ast_expr2.y */
  1097. #define SET_COLUMNS yylloc_param->first_column = (int)(yyg->yytext_r - YY_CURRENT_BUFFER_LVALUE->yy_ch_buf);yylloc_param->last_column = yylloc_param->last_column + yyleng - 1; yylloc_param->first_line = yylloc_param->last_line = 1
  1098. #define SET_STRING yylval_param->val = (struct val *)calloc(sizeof(struct val),1); yylval_param->val->type = AST_EXPR_string; yylval_param->val->u.s = strdup(yytext);
  1099. #define SET_NUMERIC_STRING yylval_param->val = (struct val *)calloc(sizeof(struct val),1); yylval_param->val->type = AST_EXPR_numeric_string; yylval_param->val->u.s = strdup(yytext);
  1100. struct parse_io
  1101. {
  1102. char *string;
  1103. struct val *val;
  1104. yyscan_t scanner;
  1105. };
  1106. void ast_yyset_column(int column_no, yyscan_t yyscanner);
  1107. int ast_yyget_column(yyscan_t yyscanner);
  1108. static int curlycount = 0;
  1109. #line 1304 "ast_expr2f.c"
  1110. #define INITIAL 0
  1111. #define var 1
  1112. #define trail 2
  1113. /* Special case for "unistd.h", since it is non-ANSI. We include it way
  1114. * down here because we want the user's section 1 to have been scanned first.
  1115. * The user has a chance to override it with an option.
  1116. */
  1117. #include <unistd.h>
  1118. #ifndef YY_EXTRA_TYPE
  1119. #define YY_EXTRA_TYPE void *
  1120. #endif
  1121. /* Holds the entire state of the reentrant scanner. */
  1122. struct yyguts_t
  1123. {
  1124. /* User-defined. Not touched by flex. */
  1125. YY_EXTRA_TYPE yyextra_r;
  1126. /* The rest are the same as the globals declared in the non-reentrant scanner. */
  1127. FILE *yyin_r, *yyout_r;
  1128. size_t yy_buffer_stack_top; /**< index of top of stack. */
  1129. size_t yy_buffer_stack_max; /**< capacity of stack. */
  1130. YY_BUFFER_STATE * yy_buffer_stack; /**< Stack as an array. */
  1131. char yy_hold_char;
  1132. int yy_n_chars;
  1133. int yyleng_r;
  1134. char *yy_c_buf_p;
  1135. int yy_init;
  1136. int yy_start;
  1137. int yy_did_buffer_switch_on_eof;
  1138. int yy_start_stack_ptr;
  1139. int yy_start_stack_depth;
  1140. int *yy_start_stack;
  1141. yy_state_type yy_last_accepting_state;
  1142. char* yy_last_accepting_cpos;
  1143. int yylineno_r;
  1144. int yy_flex_debug_r;
  1145. char *yytext_r;
  1146. int yy_more_flag;
  1147. int yy_more_len;
  1148. YYSTYPE * yylval_r;
  1149. YYLTYPE * yylloc_r;
  1150. }; /* end struct yyguts_t */
  1151. /* This must go here because YYSTYPE and YYLTYPE are included
  1152. * from bison output in section 1.*/
  1153. # define yylval yyg->yylval_r
  1154. # define yylloc yyg->yylloc_r
  1155. /* Accessor methods to globals.
  1156. These are made visible to non-reentrant scanners for convenience. */
  1157. int ast_yylex_destroy (yyscan_t yyscanner );
  1158. int ast_yyget_debug (yyscan_t yyscanner );
  1159. void ast_yyset_debug (int debug_flag ,yyscan_t yyscanner );
  1160. YY_EXTRA_TYPE ast_yyget_extra (yyscan_t yyscanner );
  1161. void ast_yyset_extra (YY_EXTRA_TYPE user_defined ,yyscan_t yyscanner );
  1162. FILE *ast_yyget_in (yyscan_t yyscanner );
  1163. void ast_yyset_in (FILE * in_str ,yyscan_t yyscanner );
  1164. FILE *ast_yyget_out (yyscan_t yyscanner );
  1165. void ast_yyset_out (FILE * out_str ,yyscan_t yyscanner );
  1166. int ast_yyget_leng (yyscan_t yyscanner );
  1167. char *ast_yyget_text (yyscan_t yyscanner );
  1168. int ast_yyget_lineno (yyscan_t yyscanner );
  1169. void ast_yyset_lineno (int line_number ,yyscan_t yyscanner );
  1170. YYSTYPE * ast_yyget_lval (yyscan_t yyscanner );
  1171. void ast_yyset_lval (YYSTYPE * yylval_param ,yyscan_t yyscanner );
  1172. YYLTYPE *ast_yyget_lloc (yyscan_t yyscanner );
  1173. void ast_yyset_lloc (YYLTYPE * yylloc_param ,yyscan_t yyscanner );
  1174. /* Macros after this point can all be overridden by user definitions in
  1175. * section 1.
  1176. */
  1177. #ifndef YY_SKIP_YYWRAP
  1178. #ifdef __cplusplus
  1179. extern "C" int ast_yywrap (yyscan_t yyscanner );
  1180. #else
  1181. extern int ast_yywrap (yyscan_t yyscanner );
  1182. #endif
  1183. #endif
  1184. static void yyunput (int c,char *buf_ptr ,yyscan_t yyscanner);
  1185. #ifndef yytext_ptr
  1186. static void yy_flex_strncpy (char *,yyconst char *,int ,yyscan_t yyscanner);
  1187. #endif
  1188. #ifdef YY_NEED_STRLEN
  1189. static int yy_flex_strlen (yyconst char * ,yyscan_t yyscanner);
  1190. #endif
  1191. #ifndef YY_NO_INPUT
  1192. #ifdef __cplusplus
  1193. static int yyinput (yyscan_t yyscanner );
  1194. #else
  1195. static int input (yyscan_t yyscanner );
  1196. #endif
  1197. #endif
  1198. /* Amount of stuff to slurp up with each read. */
  1199. #ifndef YY_READ_BUF_SIZE
  1200. #define YY_READ_BUF_SIZE 8192
  1201. #endif
  1202. /* Copy whatever the last rule matched to the standard output. */
  1203. #ifndef ECHO
  1204. /* This used to be an fputs(), but since the string might contain NUL's,
  1205. * we now use fwrite().
  1206. */
  1207. #define ECHO (void) fwrite( yytext, yyleng, 1, yyout )
  1208. #endif
  1209. /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
  1210. * is returned in "result".
  1211. */
  1212. #ifndef YY_INPUT
  1213. #define YY_INPUT(buf,result,max_size) \
  1214. errno=0; \
  1215. while ( (result = read( fileno(yyin), (char *) buf, max_size )) < 0 ) \
  1216. { \
  1217. if( errno != EINTR) \
  1218. { \
  1219. YY_FATAL_ERROR( "input in flex scanner failed" ); \
  1220. break; \
  1221. } \
  1222. errno=0; \
  1223. clearerr(yyin); \
  1224. }\
  1225. \
  1226. #endif
  1227. /* No semi-colon after return; correct usage is to write "yyterminate();" -
  1228. * we don't want an extra ';' after the "return" because that will cause
  1229. * some compilers to complain about unreachable statements.
  1230. */
  1231. #ifndef yyterminate
  1232. #define yyterminate() return YY_NULL
  1233. #endif
  1234. /* Number of entries by which start-condition stack grows. */
  1235. #ifndef YY_START_STACK_INCR
  1236. #define YY_START_STACK_INCR 25
  1237. #endif
  1238. /* Report a fatal error. */
  1239. #ifndef YY_FATAL_ERROR
  1240. #define YY_FATAL_ERROR(msg) yy_fatal_error( msg , yyscanner)
  1241. #endif
  1242. /* end tables serialization structures and prototypes */
  1243. /* Default declaration of generated scanner - a define so the user can
  1244. * easily add parameters.
  1245. */
  1246. #ifndef YY_DECL
  1247. #define YY_DECL_IS_OURS 1
  1248. extern int ast_yylex (YYSTYPE * yylval_param,YYLTYPE * yylloc_param ,yyscan_t yyscanner);
  1249. #define YY_DECL int ast_yylex (YYSTYPE * yylval_param, YYLTYPE * yylloc_param , yyscan_t yyscanner)
  1250. #endif /* !YY_DECL */
  1251. /* Code executed at the beginning of each rule, after yytext and yyleng
  1252. * have been set up.
  1253. */
  1254. #ifndef YY_USER_ACTION
  1255. #define YY_USER_ACTION
  1256. #endif
  1257. /* Code executed at the end of each rule. */
  1258. #ifndef YY_BREAK
  1259. #define YY_BREAK break;
  1260. #endif
  1261. #define YY_RULE_SETUP \
  1262. YY_USER_ACTION
  1263. /** The main scanner function which does all the work.
  1264. */
  1265. YY_DECL
  1266. {
  1267. register yy_state_type yy_current_state;
  1268. register char *yy_cp, *yy_bp;
  1269. register int yy_act;
  1270. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  1271. #line 64 "ast_expr2.fl"
  1272. #line 1524 "ast_expr2f.c"
  1273. yylval = yylval_param;
  1274. yylloc = yylloc_param;
  1275. if ( yyg->yy_init )
  1276. {
  1277. yyg->yy_init = 0;
  1278. #ifdef YY_USER_INIT
  1279. YY_USER_INIT;
  1280. #endif
  1281. if ( ! yyg->yy_start )
  1282. yyg->yy_start = 1; /* first start state */
  1283. if ( ! yyin )
  1284. yyin = stdin;
  1285. if ( ! yyout )
  1286. yyout = stdout;
  1287. if ( ! YY_CURRENT_BUFFER ) {
  1288. ast_yyensure_buffer_stack (yyscanner);
  1289. YY_CURRENT_BUFFER_LVALUE =
  1290. ast_yy_create_buffer(yyin,YY_BUF_SIZE ,yyscanner);
  1291. }
  1292. ast_yy_load_buffer_state(yyscanner );
  1293. }
  1294. while ( 1 ) /* loops until end-of-file is reached */
  1295. {
  1296. yyg->yy_more_len = 0;
  1297. if ( yyg->yy_more_flag )
  1298. {
  1299. yyg->yy_more_len = yyg->yy_c_buf_p - yyg->yytext_ptr;
  1300. yyg->yy_more_flag = 0;
  1301. }
  1302. yy_cp = yyg->yy_c_buf_p;
  1303. /* Support of yytext. */
  1304. *yy_cp = yyg->yy_hold_char;
  1305. /* yy_bp points to the position in yy_ch_buf of the start of
  1306. * the current run.
  1307. */
  1308. yy_bp = yy_cp;
  1309. yy_current_state = yyg->yy_start;
  1310. yy_match:
  1311. while ( (yy_current_state = yy_nxt[yy_current_state][ YY_SC_TO_UI(*yy_cp) ]) > 0 )
  1312. {
  1313. if ( yy_accept[yy_current_state] )
  1314. {
  1315. yyg->yy_last_accepting_state = yy_current_state;
  1316. yyg->yy_last_accepting_cpos = yy_cp;
  1317. }
  1318. ++yy_cp;
  1319. }
  1320. yy_current_state = -yy_current_state;
  1321. yy_find_action:
  1322. yy_act = yy_accept[yy_current_state];
  1323. YY_DO_BEFORE_ACTION;
  1324. do_action: /* This label is used only to access EOF actions. */
  1325. switch ( yy_act )
  1326. { /* beginning of action switch */
  1327. case 0: /* must back up */
  1328. /* undo the effects of YY_DO_BEFORE_ACTION */
  1329. *yy_cp = yyg->yy_hold_char;
  1330. yy_cp = yyg->yy_last_accepting_cpos + 1;
  1331. yy_current_state = yyg->yy_last_accepting_state;
  1332. goto yy_find_action;
  1333. case 1:
  1334. YY_RULE_SETUP
  1335. #line 66 "ast_expr2.fl"
  1336. { SET_COLUMNS; SET_STRING; return TOK_OR;}
  1337. YY_BREAK
  1338. case 2:
  1339. YY_RULE_SETUP
  1340. #line 67 "ast_expr2.fl"
  1341. { SET_COLUMNS; SET_STRING; return TOK_AND;}
  1342. YY_BREAK
  1343. case 3:
  1344. YY_RULE_SETUP
  1345. #line 68 "ast_expr2.fl"
  1346. { SET_COLUMNS; SET_STRING; return TOK_EQ;}
  1347. YY_BREAK
  1348. case 4:
  1349. YY_RULE_SETUP
  1350. #line 69 "ast_expr2.fl"
  1351. { SET_COLUMNS; SET_STRING; return TOK_GT;}
  1352. YY_BREAK
  1353. case 5:
  1354. YY_RULE_SETUP
  1355. #line 70 "ast_expr2.fl"
  1356. { SET_COLUMNS; SET_STRING; return TOK_LT;}
  1357. YY_BREAK
  1358. case 6:
  1359. YY_RULE_SETUP
  1360. #line 71 "ast_expr2.fl"
  1361. { SET_COLUMNS; SET_STRING; return TOK_GE;}
  1362. YY_BREAK
  1363. case 7:
  1364. YY_RULE_SETUP
  1365. #line 72 "ast_expr2.fl"
  1366. { SET_COLUMNS; SET_STRING; return TOK_LE;}
  1367. YY_BREAK
  1368. case 8:
  1369. YY_RULE_SETUP
  1370. #line 73 "ast_expr2.fl"
  1371. { SET_COLUMNS; SET_STRING; return TOK_NE;}
  1372. YY_BREAK
  1373. case 9:
  1374. YY_RULE_SETUP
  1375. #line 74 "ast_expr2.fl"
  1376. { SET_COLUMNS; SET_STRING; return TOK_PLUS;}
  1377. YY_BREAK
  1378. case 10:
  1379. YY_RULE_SETUP
  1380. #line 75 "ast_expr2.fl"
  1381. { SET_COLUMNS; SET_STRING; return TOK_MINUS;}
  1382. YY_BREAK
  1383. case 11:
  1384. YY_RULE_SETUP
  1385. #line 76 "ast_expr2.fl"
  1386. { SET_COLUMNS; SET_STRING; return TOK_MULT;}
  1387. YY_BREAK
  1388. case 12:
  1389. YY_RULE_SETUP
  1390. #line 77 "ast_expr2.fl"
  1391. { SET_COLUMNS; SET_STRING; return TOK_DIV;}
  1392. YY_BREAK
  1393. case 13:
  1394. YY_RULE_SETUP
  1395. #line 78 "ast_expr2.fl"
  1396. { SET_COLUMNS; SET_STRING; return TOK_MOD;}
  1397. YY_BREAK
  1398. case 14:
  1399. YY_RULE_SETUP
  1400. #line 79 "ast_expr2.fl"
  1401. { SET_COLUMNS; SET_STRING; return TOK_COND;}
  1402. YY_BREAK
  1403. case 15:
  1404. YY_RULE_SETUP
  1405. #line 80 "ast_expr2.fl"
  1406. { SET_COLUMNS; SET_STRING; return TOK_COLON;}
  1407. YY_BREAK
  1408. case 16:
  1409. YY_RULE_SETUP
  1410. #line 81 "ast_expr2.fl"
  1411. { SET_COLUMNS; SET_STRING; return TOK_COLONCOLON;}
  1412. YY_BREAK
  1413. case 17:
  1414. YY_RULE_SETUP
  1415. #line 82 "ast_expr2.fl"
  1416. { SET_COLUMNS; SET_STRING; return TOK_LP;}
  1417. YY_BREAK
  1418. case 18:
  1419. YY_RULE_SETUP
  1420. #line 83 "ast_expr2.fl"
  1421. { SET_COLUMNS; SET_STRING; return TOK_RP;}
  1422. YY_BREAK
  1423. case 19:
  1424. YY_RULE_SETUP
  1425. #line 84 "ast_expr2.fl"
  1426. {/* gather the contents of ${} expressions, with trailing stuff, into a single TOKEN. They are much more complex now than they used to be */
  1427. curlycount = 0; BEGIN(var); yymore();}
  1428. YY_BREAK
  1429. case 20:
  1430. YY_RULE_SETUP
  1431. #line 87 "ast_expr2.fl"
  1432. {}
  1433. YY_BREAK
  1434. case 21:
  1435. /* rule 21 can match eol */
  1436. YY_RULE_SETUP
  1437. #line 88 "ast_expr2.fl"
  1438. {SET_COLUMNS; SET_STRING; return TOKEN;}
  1439. YY_BREAK
  1440. case 22:
  1441. /* rule 22 can match eol */
  1442. YY_RULE_SETUP
  1443. #line 90 "ast_expr2.fl"
  1444. {/* what to do with eol */}
  1445. YY_BREAK
  1446. case 23:
  1447. YY_RULE_SETUP
  1448. #line 91 "ast_expr2.fl"
  1449. { SET_COLUMNS; /* the original behavior of the expression parser was to bring in numbers as a numeric string */
  1450. SET_NUMERIC_STRING;
  1451. return TOKEN;}
  1452. YY_BREAK
  1453. case 24:
  1454. YY_RULE_SETUP
  1455. #line 94 "ast_expr2.fl"
  1456. {SET_COLUMNS; SET_STRING; return TOKEN;}
  1457. YY_BREAK
  1458. case 25:
  1459. /* rule 25 can match eol */
  1460. YY_RULE_SETUP
  1461. #line 96 "ast_expr2.fl"
  1462. {curlycount--; if(curlycount < 0){ BEGIN(trail); yymore();} else { yymore();}}
  1463. YY_BREAK
  1464. case 26:
  1465. /* rule 26 can match eol */
  1466. YY_RULE_SETUP
  1467. #line 97 "ast_expr2.fl"
  1468. {curlycount++; yymore(); }
  1469. YY_BREAK
  1470. case 27:
  1471. YY_RULE_SETUP
  1472. #line 98 "ast_expr2.fl"
  1473. {BEGIN(0); SET_COLUMNS; SET_STRING; return TOKEN;}
  1474. YY_BREAK
  1475. case 28:
  1476. /* rule 28 can match eol */
  1477. YY_RULE_SETUP
  1478. #line 99 "ast_expr2.fl"
  1479. {char c = yytext[yyleng-1]; BEGIN(0); unput(c); SET_COLUMNS; SET_STRING; return TOKEN;}
  1480. YY_BREAK
  1481. case 29:
  1482. YY_RULE_SETUP
  1483. #line 100 "ast_expr2.fl"
  1484. {curlycount = 0; BEGIN(var); yymore(); }
  1485. YY_BREAK
  1486. case YY_STATE_EOF(trail):
  1487. #line 101 "ast_expr2.fl"
  1488. {BEGIN(0); SET_COLUMNS; SET_STRING; return TOKEN; /* actually, if an expr is only a variable ref, this could happen a LOT */}
  1489. YY_BREAK
  1490. case 30:
  1491. YY_RULE_SETUP
  1492. #line 103 "ast_expr2.fl"
  1493. ECHO;
  1494. YY_BREAK
  1495. #line 1767 "ast_expr2f.c"
  1496. case YY_STATE_EOF(INITIAL):
  1497. case YY_STATE_EOF(var):
  1498. yyterminate();
  1499. case YY_END_OF_BUFFER:
  1500. {
  1501. /* Amount of text matched not including the EOB char. */
  1502. int yy_amount_of_matched_text = (int) (yy_cp - yyg->yytext_ptr) - 1;
  1503. /* Undo the effects of YY_DO_BEFORE_ACTION. */
  1504. *yy_cp = yyg->yy_hold_char;
  1505. YY_RESTORE_YY_MORE_OFFSET
  1506. if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
  1507. {
  1508. /* We're scanning a new file or input source. It's
  1509. * possible that this happened because the user
  1510. * just pointed yyin at a new source and called
  1511. * ast_yylex(). If so, then we have to assure
  1512. * consistency between YY_CURRENT_BUFFER and our
  1513. * globals. Here is the right place to do so, because
  1514. * this is the first action (other than possibly a
  1515. * back-up) that will match for the new input source.
  1516. */
  1517. yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  1518. YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
  1519. YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
  1520. }
  1521. /* Note that here we test for yy_c_buf_p "<=" to the position
  1522. * of the first EOB in the buffer, since yy_c_buf_p will
  1523. * already have been incremented past the NUL character
  1524. * (since all states make transitions on EOB to the
  1525. * end-of-buffer state). Contrast this with the test
  1526. * in input().
  1527. */
  1528. if ( yyg->yy_c_buf_p <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] )
  1529. { /* This was really a NUL. */
  1530. yy_state_type yy_next_state;
  1531. yyg->yy_c_buf_p = yyg->yytext_ptr + yy_amount_of_matched_text;
  1532. yy_current_state = yy_get_previous_state( yyscanner );
  1533. /* Okay, we're now positioned to make the NUL
  1534. * transition. We couldn't have
  1535. * yy_get_previous_state() go ahead and do it
  1536. * for us because it doesn't know how to deal
  1537. * with the possibility of jamming (and we don't
  1538. * want to build jamming into it because then it
  1539. * will run more slowly).
  1540. */
  1541. yy_next_state = yy_try_NUL_trans( yy_current_state , yyscanner);
  1542. yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
  1543. if ( yy_next_state )
  1544. {
  1545. /* Consume the NUL. */
  1546. yy_cp = ++yyg->yy_c_buf_p;
  1547. yy_current_state = yy_next_state;
  1548. goto yy_match;
  1549. }
  1550. else
  1551. {
  1552. yy_cp = yyg->yy_c_buf_p;
  1553. goto yy_find_action;
  1554. }
  1555. }
  1556. else switch ( yy_get_next_buffer( yyscanner ) )
  1557. {
  1558. case EOB_ACT_END_OF_FILE:
  1559. {
  1560. yyg->yy_did_buffer_switch_on_eof = 0;
  1561. if ( ast_yywrap(yyscanner ) )
  1562. {
  1563. /* Note: because we've taken care in
  1564. * yy_get_next_buffer() to have set up
  1565. * yytext, we can now set up
  1566. * yy_c_buf_p so that if some total
  1567. * hoser (like flex itself) wants to
  1568. * call the scanner after we return the
  1569. * YY_NULL, it'll still work - another
  1570. * YY_NULL will get returned.
  1571. */
  1572. yyg->yy_c_buf_p = yyg->yytext_ptr + YY_MORE_ADJ;
  1573. yy_act = YY_STATE_EOF(YY_START);
  1574. goto do_action;
  1575. }
  1576. else
  1577. {
  1578. if ( ! yyg->yy_did_buffer_switch_on_eof )
  1579. YY_NEW_FILE;
  1580. }
  1581. break;
  1582. }
  1583. case EOB_ACT_CONTINUE_SCAN:
  1584. yyg->yy_c_buf_p =
  1585. yyg->yytext_ptr + yy_amount_of_matched_text;
  1586. yy_current_state = yy_get_previous_state( yyscanner );
  1587. yy_cp = yyg->yy_c_buf_p;
  1588. yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
  1589. goto yy_match;
  1590. case EOB_ACT_LAST_MATCH:
  1591. yyg->yy_c_buf_p =
  1592. &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars];
  1593. yy_current_state = yy_get_previous_state( yyscanner );
  1594. yy_cp = yyg->yy_c_buf_p;
  1595. yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
  1596. goto yy_find_action;
  1597. }
  1598. break;
  1599. }
  1600. default:
  1601. YY_FATAL_ERROR(
  1602. "fatal flex scanner internal error--no action found" );
  1603. } /* end of action switch */
  1604. } /* end of scanning one token */
  1605. } /* end of ast_yylex */
  1606. /* yy_get_next_buffer - try to read in a new buffer
  1607. *
  1608. * Returns a code representing an action:
  1609. * EOB_ACT_LAST_MATCH -
  1610. * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
  1611. * EOB_ACT_END_OF_FILE - end of file
  1612. */
  1613. static int yy_get_next_buffer (yyscan_t yyscanner)
  1614. {
  1615. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  1616. register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
  1617. register char *source = yyg->yytext_ptr;
  1618. register int number_to_move, i;
  1619. int ret_val;
  1620. if ( yyg->yy_c_buf_p > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars + 1] )
  1621. YY_FATAL_ERROR(
  1622. "fatal flex scanner internal error--end of buffer missed" );
  1623. if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
  1624. { /* Don't try to fill the buffer, so this is an EOF. */
  1625. if ( yyg->yy_c_buf_p - yyg->yytext_ptr - YY_MORE_ADJ == 1 )
  1626. {
  1627. /* We matched a single character, the EOB, so
  1628. * treat this as a final EOF.
  1629. */
  1630. return EOB_ACT_END_OF_FILE;
  1631. }
  1632. else
  1633. {
  1634. /* We matched some text prior to the EOB, first
  1635. * process it.
  1636. */
  1637. return EOB_ACT_LAST_MATCH;
  1638. }
  1639. }
  1640. /* Try to read more data. */
  1641. /* First move last chars to start of buffer. */
  1642. number_to_move = (int) (yyg->yy_c_buf_p - yyg->yytext_ptr) - 1;
  1643. for ( i = 0; i < number_to_move; ++i )
  1644. *(dest++) = *(source++);
  1645. if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
  1646. /* don't do the read, it's not guaranteed to return an EOF,
  1647. * just force an EOF
  1648. */
  1649. YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars = 0;
  1650. else
  1651. {
  1652. size_t num_to_read =
  1653. YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
  1654. while ( num_to_read <= 0 )
  1655. { /* Not enough room in the buffer - grow it. */
  1656. /* just a shorter name for the current buffer */
  1657. YY_BUFFER_STATE b = YY_CURRENT_BUFFER;
  1658. int yy_c_buf_p_offset =
  1659. (int) (yyg->yy_c_buf_p - b->yy_ch_buf);
  1660. if ( b->yy_is_our_buffer )
  1661. {
  1662. int new_size = b->yy_buf_size * 2;
  1663. if ( new_size <= 0 )
  1664. b->yy_buf_size += b->yy_buf_size / 8;
  1665. else
  1666. b->yy_buf_size *= 2;
  1667. b->yy_ch_buf = (char *)
  1668. /* Include room in for 2 EOB chars. */
  1669. ast_yyrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ,yyscanner );
  1670. }
  1671. else
  1672. /* Can't grow it, we don't own it. */
  1673. b->yy_ch_buf = 0;
  1674. if ( ! b->yy_ch_buf )
  1675. YY_FATAL_ERROR(
  1676. "fatal error - scanner input buffer overflow" );
  1677. yyg->yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset];
  1678. num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size -
  1679. number_to_move - 1;
  1680. }
  1681. if ( num_to_read > YY_READ_BUF_SIZE )
  1682. num_to_read = YY_READ_BUF_SIZE;
  1683. /* Read in more data. */
  1684. YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
  1685. yyg->yy_n_chars, num_to_read );
  1686. YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars;
  1687. }
  1688. if ( yyg->yy_n_chars == 0 )
  1689. {
  1690. if ( number_to_move == YY_MORE_ADJ )
  1691. {
  1692. ret_val = EOB_ACT_END_OF_FILE;
  1693. ast_yyrestart(yyin ,yyscanner);
  1694. }
  1695. else
  1696. {
  1697. ret_val = EOB_ACT_LAST_MATCH;
  1698. YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
  1699. YY_BUFFER_EOF_PENDING;
  1700. }
  1701. }
  1702. else
  1703. ret_val = EOB_ACT_CONTINUE_SCAN;
  1704. yyg->yy_n_chars += number_to_move;
  1705. YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] = YY_END_OF_BUFFER_CHAR;
  1706. YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR;
  1707. yyg->yytext_ptr = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
  1708. return ret_val;
  1709. }
  1710. /* yy_get_previous_state - get the state just before the EOB char was reached */
  1711. static yy_state_type yy_get_previous_state (yyscan_t yyscanner)
  1712. {
  1713. register yy_state_type yy_current_state;
  1714. register char *yy_cp;
  1715. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  1716. yy_current_state = yyg->yy_start;
  1717. for ( yy_cp = yyg->yytext_ptr + YY_MORE_ADJ; yy_cp < yyg->yy_c_buf_p; ++yy_cp )
  1718. {
  1719. if ( *yy_cp )
  1720. {
  1721. yy_current_state = yy_nxt[yy_current_state][YY_SC_TO_UI(*yy_cp)];
  1722. }
  1723. else
  1724. yy_current_state = yy_NUL_trans[yy_current_state];
  1725. if ( yy_accept[yy_current_state] )
  1726. {
  1727. yyg->yy_last_accepting_state = yy_current_state;
  1728. yyg->yy_last_accepting_cpos = yy_cp;
  1729. }
  1730. }
  1731. return yy_current_state;
  1732. }
  1733. /* yy_try_NUL_trans - try to make a transition on the NUL character
  1734. *
  1735. * synopsis
  1736. * next_state = yy_try_NUL_trans( current_state );
  1737. */
  1738. static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state , yyscan_t yyscanner)
  1739. {
  1740. register int yy_is_jam;
  1741. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  1742. register char *yy_cp = yyg->yy_c_buf_p;
  1743. yy_current_state = yy_NUL_trans[yy_current_state];
  1744. yy_is_jam = (yy_current_state == 0);
  1745. if ( ! yy_is_jam )
  1746. {
  1747. if ( yy_accept[yy_current_state] )
  1748. {
  1749. yyg->yy_last_accepting_state = yy_current_state;
  1750. yyg->yy_last_accepting_cpos = yy_cp;
  1751. }
  1752. }
  1753. return yy_is_jam ? 0 : yy_current_state;
  1754. }
  1755. static void yyunput (int c, register char * yy_bp , yyscan_t yyscanner)
  1756. {
  1757. register char *yy_cp;
  1758. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  1759. yy_cp = yyg->yy_c_buf_p;
  1760. /* undo effects of setting up yytext */
  1761. *yy_cp = yyg->yy_hold_char;
  1762. if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  1763. { /* need to shift things up to make room */
  1764. /* +2 for EOB chars. */
  1765. register int number_to_move = yyg->yy_n_chars + 2;
  1766. register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
  1767. YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
  1768. register char *source =
  1769. &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
  1770. while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
  1771. *--dest = *--source;
  1772. yy_cp += (int) (dest - source);
  1773. yy_bp += (int) (dest - source);
  1774. YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
  1775. yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
  1776. if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
  1777. YY_FATAL_ERROR( "flex scanner push-back overflow" );
  1778. }
  1779. *--yy_cp = (char) c;
  1780. yyg->yytext_ptr = yy_bp;
  1781. yyg->yy_hold_char = *yy_cp;
  1782. yyg->yy_c_buf_p = yy_cp;
  1783. }
  1784. #ifndef YY_NO_INPUT
  1785. #ifdef __cplusplus
  1786. static int yyinput (yyscan_t yyscanner)
  1787. #else
  1788. static int input (yyscan_t yyscanner)
  1789. #endif
  1790. {
  1791. int c;
  1792. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  1793. *yyg->yy_c_buf_p = yyg->yy_hold_char;
  1794. if ( *yyg->yy_c_buf_p == YY_END_OF_BUFFER_CHAR )
  1795. {
  1796. /* yy_c_buf_p now points to the character we want to return.
  1797. * If this occurs *before* the EOB characters, then it's a
  1798. * valid NUL; if not, then we've hit the end of the buffer.
  1799. */
  1800. if ( yyg->yy_c_buf_p < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] )
  1801. /* This was really a NUL. */
  1802. *yyg->yy_c_buf_p = '\0';
  1803. else
  1804. { /* need more input */
  1805. int offset = yyg->yy_c_buf_p - yyg->yytext_ptr;
  1806. ++yyg->yy_c_buf_p;
  1807. switch ( yy_get_next_buffer( yyscanner ) )
  1808. {
  1809. case EOB_ACT_LAST_MATCH:
  1810. /* This happens because yy_g_n_b()
  1811. * sees that we've accumulated a
  1812. * token and flags that we need to
  1813. * try matching the token before
  1814. * proceeding. But for input(),
  1815. * there's no matching to consider.
  1816. * So convert the EOB_ACT_LAST_MATCH
  1817. * to EOB_ACT_END_OF_FILE.
  1818. */
  1819. /* Reset buffer status. */
  1820. ast_yyrestart(yyin ,yyscanner);
  1821. /*FALLTHROUGH*/
  1822. case EOB_ACT_END_OF_FILE:
  1823. {
  1824. if ( ast_yywrap(yyscanner ) )
  1825. return EOF;
  1826. if ( ! yyg->yy_did_buffer_switch_on_eof )
  1827. YY_NEW_FILE;
  1828. #ifdef __cplusplus
  1829. return yyinput(yyscanner);
  1830. #else
  1831. return input(yyscanner);
  1832. #endif
  1833. }
  1834. case EOB_ACT_CONTINUE_SCAN:
  1835. yyg->yy_c_buf_p = yyg->yytext_ptr + offset;
  1836. break;
  1837. }
  1838. }
  1839. }
  1840. c = *(unsigned char *) yyg->yy_c_buf_p; /* cast for 8-bit char's */
  1841. *yyg->yy_c_buf_p = '\0'; /* preserve yytext */
  1842. yyg->yy_hold_char = *++yyg->yy_c_buf_p;
  1843. return c;
  1844. }
  1845. #endif /* ifndef YY_NO_INPUT */
  1846. /** Immediately switch to a different input stream.
  1847. * @param input_file A readable stream.
  1848. * @param yyscanner The scanner object.
  1849. * @note This function does not reset the start condition to @c INITIAL .
  1850. */
  1851. void ast_yyrestart (FILE * input_file , yyscan_t yyscanner)
  1852. {
  1853. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  1854. if ( ! YY_CURRENT_BUFFER ){
  1855. ast_yyensure_buffer_stack (yyscanner);
  1856. YY_CURRENT_BUFFER_LVALUE =
  1857. ast_yy_create_buffer(yyin,YY_BUF_SIZE ,yyscanner);
  1858. }
  1859. ast_yy_init_buffer(YY_CURRENT_BUFFER,input_file ,yyscanner);
  1860. ast_yy_load_buffer_state(yyscanner );
  1861. }
  1862. /** Switch to a different input buffer.
  1863. * @param new_buffer The new input buffer.
  1864. * @param yyscanner The scanner object.
  1865. */
  1866. void ast_yy_switch_to_buffer (YY_BUFFER_STATE new_buffer , yyscan_t yyscanner)
  1867. {
  1868. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  1869. /* TODO. We should be able to replace this entire function body
  1870. * with
  1871. * ast_yypop_buffer_state();
  1872. * ast_yypush_buffer_state(new_buffer);
  1873. */
  1874. ast_yyensure_buffer_stack (yyscanner);
  1875. if ( YY_CURRENT_BUFFER == new_buffer )
  1876. return;
  1877. if ( YY_CURRENT_BUFFER )
  1878. {
  1879. /* Flush out information for old buffer. */
  1880. *yyg->yy_c_buf_p = yyg->yy_hold_char;
  1881. YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = yyg->yy_c_buf_p;
  1882. YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars;
  1883. }
  1884. YY_CURRENT_BUFFER_LVALUE = new_buffer;
  1885. ast_yy_load_buffer_state(yyscanner );
  1886. /* We don't actually know whether we did this switch during
  1887. * EOF (ast_yywrap()) processing, but the only time this flag
  1888. * is looked at is after ast_yywrap() is called, so it's safe
  1889. * to go ahead and always set it.
  1890. */
  1891. yyg->yy_did_buffer_switch_on_eof = 1;
  1892. }
  1893. static void ast_yy_load_buffer_state (yyscan_t yyscanner)
  1894. {
  1895. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  1896. yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  1897. yyg->yytext_ptr = yyg->yy_c_buf_p = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
  1898. yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
  1899. yyg->yy_hold_char = *yyg->yy_c_buf_p;
  1900. }
  1901. /** Allocate and initialize an input buffer state.
  1902. * @param file A readable stream.
  1903. * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
  1904. * @param yyscanner The scanner object.
  1905. * @return the allocated buffer state.
  1906. */
  1907. YY_BUFFER_STATE ast_yy_create_buffer (FILE * file, int size , yyscan_t yyscanner)
  1908. {
  1909. YY_BUFFER_STATE b;
  1910. b = (YY_BUFFER_STATE) ast_yyalloc(sizeof( struct yy_buffer_state ) ,yyscanner );
  1911. if ( ! b )
  1912. YY_FATAL_ERROR( "out of dynamic memory in ast_yy_create_buffer()" );
  1913. b->yy_buf_size = size;
  1914. /* yy_ch_buf has to be 2 characters longer than the size given because
  1915. * we need to put in 2 end-of-buffer characters.
  1916. */
  1917. b->yy_ch_buf = (char *) ast_yyalloc(b->yy_buf_size + 2 ,yyscanner );
  1918. if ( ! b->yy_ch_buf )
  1919. YY_FATAL_ERROR( "out of dynamic memory in ast_yy_create_buffer()" );
  1920. b->yy_is_our_buffer = 1;
  1921. ast_yy_init_buffer(b,file ,yyscanner);
  1922. return b;
  1923. }
  1924. /** Destroy the buffer.
  1925. * @param b a buffer created with ast_yy_create_buffer()
  1926. * @param yyscanner The scanner object.
  1927. */
  1928. void ast_yy_delete_buffer (YY_BUFFER_STATE b , yyscan_t yyscanner)
  1929. {
  1930. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  1931. if ( ! b )
  1932. return;
  1933. if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
  1934. YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
  1935. if ( b->yy_is_our_buffer )
  1936. ast_yyfree((void *) b->yy_ch_buf ,yyscanner );
  1937. ast_yyfree((void *) b ,yyscanner );
  1938. }
  1939. #ifndef __cplusplus
  1940. extern int isatty (int );
  1941. #endif /* __cplusplus */
  1942. /* Initializes or reinitializes a buffer.
  1943. * This function is sometimes called more than once on the same buffer,
  1944. * such as during a ast_yyrestart() or at EOF.
  1945. */
  1946. static void ast_yy_init_buffer (YY_BUFFER_STATE b, FILE * file , yyscan_t yyscanner)
  1947. {
  1948. int oerrno = errno;
  1949. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  1950. ast_yy_flush_buffer(b ,yyscanner);
  1951. b->yy_input_file = file;
  1952. b->yy_fill_buffer = 1;
  1953. /* If b is the current buffer, then ast_yy_init_buffer was _probably_
  1954. * called from ast_yyrestart() or through yy_get_next_buffer.
  1955. * In that case, we don't want to reset the lineno or column.
  1956. */
  1957. if (b != YY_CURRENT_BUFFER){
  1958. b->yy_bs_lineno = 1;
  1959. b->yy_bs_column = 0;
  1960. }
  1961. b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
  1962. errno = oerrno;
  1963. }
  1964. /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
  1965. * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
  1966. * @param yyscanner The scanner object.
  1967. */
  1968. void ast_yy_flush_buffer (YY_BUFFER_STATE b , yyscan_t yyscanner)
  1969. {
  1970. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  1971. if ( ! b )
  1972. return;
  1973. b->yy_n_chars = 0;
  1974. /* We always need two end-of-buffer characters. The first causes
  1975. * a transition to the end-of-buffer state. The second causes
  1976. * a jam in that state.
  1977. */
  1978. b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
  1979. b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
  1980. b->yy_buf_pos = &b->yy_ch_buf[0];
  1981. b->yy_at_bol = 1;
  1982. b->yy_buffer_status = YY_BUFFER_NEW;
  1983. if ( b == YY_CURRENT_BUFFER )
  1984. ast_yy_load_buffer_state(yyscanner );
  1985. }
  1986. /** Pushes the new state onto the stack. The new state becomes
  1987. * the current state. This function will allocate the stack
  1988. * if necessary.
  1989. * @param new_buffer The new state.
  1990. * @param yyscanner The scanner object.
  1991. */
  1992. void ast_yypush_buffer_state (YY_BUFFER_STATE new_buffer , yyscan_t yyscanner)
  1993. {
  1994. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  1995. if (new_buffer == NULL)
  1996. return;
  1997. ast_yyensure_buffer_stack(yyscanner);
  1998. /* This block is copied from ast_yy_switch_to_buffer. */
  1999. if ( YY_CURRENT_BUFFER )
  2000. {
  2001. /* Flush out information for old buffer. */
  2002. *yyg->yy_c_buf_p = yyg->yy_hold_char;
  2003. YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = yyg->yy_c_buf_p;
  2004. YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars;
  2005. }
  2006. /* Only push if top exists. Otherwise, replace top. */
  2007. if (YY_CURRENT_BUFFER)
  2008. yyg->yy_buffer_stack_top++;
  2009. YY_CURRENT_BUFFER_LVALUE = new_buffer;
  2010. /* copied from ast_yy_switch_to_buffer. */
  2011. ast_yy_load_buffer_state(yyscanner );
  2012. yyg->yy_did_buffer_switch_on_eof = 1;
  2013. }
  2014. /** Removes and deletes the top of the stack, if present.
  2015. * The next element becomes the new top.
  2016. * @param yyscanner The scanner object.
  2017. */
  2018. void ast_yypop_buffer_state (yyscan_t yyscanner)
  2019. {
  2020. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  2021. if (!YY_CURRENT_BUFFER)
  2022. return;
  2023. ast_yy_delete_buffer(YY_CURRENT_BUFFER ,yyscanner);
  2024. YY_CURRENT_BUFFER_LVALUE = NULL;
  2025. if (yyg->yy_buffer_stack_top > 0)
  2026. --yyg->yy_buffer_stack_top;
  2027. if (YY_CURRENT_BUFFER) {
  2028. ast_yy_load_buffer_state(yyscanner );
  2029. yyg->yy_did_buffer_switch_on_eof = 1;
  2030. }
  2031. }
  2032. /* Allocates the stack if it does not exist.
  2033. * Guarantees space for at least one push.
  2034. */
  2035. static void ast_yyensure_buffer_stack (yyscan_t yyscanner)
  2036. {
  2037. int num_to_alloc;
  2038. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  2039. if (!yyg->yy_buffer_stack) {
  2040. /* First allocation is just for 2 elements, since we don't know if this
  2041. * scanner will even need a stack. We use 2 instead of 1 to avoid an
  2042. * immediate realloc on the next call.
  2043. */
  2044. num_to_alloc = 1;
  2045. yyg->yy_buffer_stack = (struct yy_buffer_state**)ast_yyalloc
  2046. (num_to_alloc * sizeof(struct yy_buffer_state*)
  2047. , yyscanner);
  2048. memset(yyg->yy_buffer_stack, 0, num_to_alloc * sizeof(struct yy_buffer_state*));
  2049. yyg->yy_buffer_stack_max = num_to_alloc;
  2050. yyg->yy_buffer_stack_top = 0;
  2051. return;
  2052. }
  2053. if (yyg->yy_buffer_stack_top >= (yyg->yy_buffer_stack_max) - 1){
  2054. /* Increase the buffer to prepare for a possible push. */
  2055. int grow_size = 8 /* arbitrary grow size */;
  2056. num_to_alloc = yyg->yy_buffer_stack_max + grow_size;
  2057. yyg->yy_buffer_stack = (struct yy_buffer_state**)ast_yyrealloc
  2058. (yyg->yy_buffer_stack,
  2059. num_to_alloc * sizeof(struct yy_buffer_state*)
  2060. , yyscanner);
  2061. /* zero only the new slots.*/
  2062. memset(yyg->yy_buffer_stack + yyg->yy_buffer_stack_max, 0, grow_size * sizeof(struct yy_buffer_state*));
  2063. yyg->yy_buffer_stack_max = num_to_alloc;
  2064. }
  2065. }
  2066. /** Setup the input buffer state to scan directly from a user-specified character buffer.
  2067. * @param base the character buffer
  2068. * @param size the size in bytes of the character buffer
  2069. * @param yyscanner The scanner object.
  2070. * @return the newly allocated buffer state object.
  2071. */
  2072. YY_BUFFER_STATE ast_yy_scan_buffer (char * base, yy_size_t size , yyscan_t yyscanner)
  2073. {
  2074. YY_BUFFER_STATE b;
  2075. if ( size < 2 ||
  2076. base[size-2] != YY_END_OF_BUFFER_CHAR ||
  2077. base[size-1] != YY_END_OF_BUFFER_CHAR )
  2078. /* They forgot to leave room for the EOB's. */
  2079. return 0;
  2080. b = (YY_BUFFER_STATE) ast_yyalloc(sizeof( struct yy_buffer_state ) ,yyscanner );
  2081. if ( ! b )
  2082. YY_FATAL_ERROR( "out of dynamic memory in ast_yy_scan_buffer()" );
  2083. b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
  2084. b->yy_buf_pos = b->yy_ch_buf = base;
  2085. b->yy_is_our_buffer = 0;
  2086. b->yy_input_file = 0;
  2087. b->yy_n_chars = b->yy_buf_size;
  2088. b->yy_is_interactive = 0;
  2089. b->yy_at_bol = 1;
  2090. b->yy_fill_buffer = 0;
  2091. b->yy_buffer_status = YY_BUFFER_NEW;
  2092. ast_yy_switch_to_buffer(b ,yyscanner );
  2093. return b;
  2094. }
  2095. /** Setup the input buffer state to scan a string. The next call to ast_yylex() will
  2096. * scan from a @e copy of @a str.
  2097. * @param str a NUL-terminated string to scan
  2098. * @param yyscanner The scanner object.
  2099. * @return the newly allocated buffer state object.
  2100. * @note If you want to scan bytes that may contain NUL values, then use
  2101. * ast_yy_scan_bytes() instead.
  2102. */
  2103. YY_BUFFER_STATE ast_yy_scan_string (yyconst char * str , yyscan_t yyscanner)
  2104. {
  2105. return ast_yy_scan_bytes(str,strlen(str) ,yyscanner);
  2106. }
  2107. /** Setup the input buffer state to scan the given bytes. The next call to ast_yylex() will
  2108. * scan from a @e copy of @a bytes.
  2109. * @param bytes the byte buffer to scan
  2110. * @param len the number of bytes in the buffer pointed to by @a bytes.
  2111. * @param yyscanner The scanner object.
  2112. * @return the newly allocated buffer state object.
  2113. */
  2114. YY_BUFFER_STATE ast_yy_scan_bytes (yyconst char * bytes, int len , yyscan_t yyscanner)
  2115. {
  2116. YY_BUFFER_STATE b;
  2117. char *buf;
  2118. yy_size_t n;
  2119. int i;
  2120. /* Get memory for full buffer, including space for trailing EOB's. */
  2121. n = len + 2;
  2122. buf = (char *) ast_yyalloc(n ,yyscanner );
  2123. if ( ! buf )
  2124. YY_FATAL_ERROR( "out of dynamic memory in ast_yy_scan_bytes()" );
  2125. for ( i = 0; i < len; ++i )
  2126. buf[i] = bytes[i];
  2127. buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR;
  2128. b = ast_yy_scan_buffer(buf,n ,yyscanner);
  2129. if ( ! b )
  2130. YY_FATAL_ERROR( "bad buffer in ast_yy_scan_bytes()" );
  2131. /* It's okay to grow etc. this buffer, and we should throw it
  2132. * away when we're done.
  2133. */
  2134. b->yy_is_our_buffer = 1;
  2135. return b;
  2136. }
  2137. #ifndef YY_EXIT_FAILURE
  2138. #define YY_EXIT_FAILURE 2
  2139. #endif
  2140. static void yy_fatal_error (yyconst char* msg , yyscan_t yyscanner)
  2141. {
  2142. (void) fprintf( stderr, "%s\n", msg );
  2143. exit( YY_EXIT_FAILURE );
  2144. }
  2145. /* Redefine yyless() so it works in section 3 code. */
  2146. #undef yyless
  2147. #define yyless(n) \
  2148. do \
  2149. { \
  2150. /* Undo effects of setting up yytext. */ \
  2151. int yyless_macro_arg = (n); \
  2152. YY_LESS_LINENO(yyless_macro_arg);\
  2153. yytext[yyleng] = yyg->yy_hold_char; \
  2154. yyg->yy_c_buf_p = yytext + yyless_macro_arg; \
  2155. yyg->yy_hold_char = *yyg->yy_c_buf_p; \
  2156. *yyg->yy_c_buf_p = '\0'; \
  2157. yyleng = yyless_macro_arg; \
  2158. } \
  2159. while ( 0 )
  2160. /* Accessor methods (get/set functions) to struct members. */
  2161. /** Get the user-defined data for this scanner.
  2162. * @param yyscanner The scanner object.
  2163. */
  2164. YY_EXTRA_TYPE ast_yyget_extra (yyscan_t yyscanner)
  2165. {
  2166. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  2167. return yyextra;
  2168. }
  2169. /** Get the current line number.
  2170. * @param yyscanner The scanner object.
  2171. */
  2172. int ast_yyget_lineno (yyscan_t yyscanner)
  2173. {
  2174. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  2175. if (! YY_CURRENT_BUFFER)
  2176. return 0;
  2177. return yylineno;
  2178. }
  2179. /** Get the current column number.
  2180. * @param yyscanner The scanner object.
  2181. */
  2182. int ast_yyget_column (yyscan_t yyscanner)
  2183. {
  2184. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  2185. if (! YY_CURRENT_BUFFER)
  2186. return 0;
  2187. return yycolumn;
  2188. }
  2189. /** Get the input stream.
  2190. * @param yyscanner The scanner object.
  2191. */
  2192. FILE *ast_yyget_in (yyscan_t yyscanner)
  2193. {
  2194. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  2195. return yyin;
  2196. }
  2197. /** Get the output stream.
  2198. * @param yyscanner The scanner object.
  2199. */
  2200. FILE *ast_yyget_out (yyscan_t yyscanner)
  2201. {
  2202. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  2203. return yyout;
  2204. }
  2205. /** Get the length of the current token.
  2206. * @param yyscanner The scanner object.
  2207. */
  2208. int ast_yyget_leng (yyscan_t yyscanner)
  2209. {
  2210. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  2211. return yyleng;
  2212. }
  2213. /** Get the current token.
  2214. * @param yyscanner The scanner object.
  2215. */
  2216. char *ast_yyget_text (yyscan_t yyscanner)
  2217. {
  2218. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  2219. return yytext;
  2220. }
  2221. /** Set the user-defined data. This data is never touched by the scanner.
  2222. * @param user_defined The data to be associated with this scanner.
  2223. * @param yyscanner The scanner object.
  2224. */
  2225. void ast_yyset_extra (YY_EXTRA_TYPE user_defined , yyscan_t yyscanner)
  2226. {
  2227. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  2228. yyextra = user_defined ;
  2229. }
  2230. /** Set the current line number.
  2231. * @param line_number
  2232. * @param yyscanner The scanner object.
  2233. */
  2234. void ast_yyset_lineno (int line_number , yyscan_t yyscanner)
  2235. {
  2236. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  2237. /* lineno is only valid if an input buffer exists. */
  2238. if (! YY_CURRENT_BUFFER )
  2239. yy_fatal_error( "ast_yyset_lineno called with no buffer" , yyscanner);
  2240. yylineno = line_number;
  2241. }
  2242. /** Set the current column.
  2243. * @param line_number
  2244. * @param yyscanner The scanner object.
  2245. */
  2246. void ast_yyset_column (int column_no , yyscan_t yyscanner)
  2247. {
  2248. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  2249. /* column is only valid if an input buffer exists. */
  2250. if (! YY_CURRENT_BUFFER )
  2251. yy_fatal_error( "ast_yyset_column called with no buffer" , yyscanner);
  2252. yycolumn = column_no;
  2253. }
  2254. /** Set the input stream. This does not discard the current
  2255. * input buffer.
  2256. * @param in_str A readable stream.
  2257. * @param yyscanner The scanner object.
  2258. * @see ast_yy_switch_to_buffer
  2259. */
  2260. void ast_yyset_in (FILE * in_str , yyscan_t yyscanner)
  2261. {
  2262. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  2263. yyin = in_str ;
  2264. }
  2265. void ast_yyset_out (FILE * out_str , yyscan_t yyscanner)
  2266. {
  2267. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  2268. yyout = out_str ;
  2269. }
  2270. int ast_yyget_debug (yyscan_t yyscanner)
  2271. {
  2272. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  2273. return yy_flex_debug;
  2274. }
  2275. void ast_yyset_debug (int bdebug , yyscan_t yyscanner)
  2276. {
  2277. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  2278. yy_flex_debug = bdebug ;
  2279. }
  2280. /* Accessor methods for yylval and yylloc */
  2281. YYSTYPE * ast_yyget_lval (yyscan_t yyscanner)
  2282. {
  2283. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  2284. return yylval;
  2285. }
  2286. void ast_yyset_lval (YYSTYPE * yylval_param , yyscan_t yyscanner)
  2287. {
  2288. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  2289. yylval = yylval_param;
  2290. }
  2291. YYLTYPE *ast_yyget_lloc (yyscan_t yyscanner)
  2292. {
  2293. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  2294. return yylloc;
  2295. }
  2296. void ast_yyset_lloc (YYLTYPE * yylloc_param , yyscan_t yyscanner)
  2297. {
  2298. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  2299. yylloc = yylloc_param;
  2300. }
  2301. static int yy_init_globals (yyscan_t yyscanner)
  2302. {
  2303. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  2304. /* Initialization is the same as for the non-reentrant scanner.
  2305. This function is called once per scanner lifetime. */
  2306. yyg->yy_buffer_stack = 0;
  2307. yyg->yy_buffer_stack_top = 0;
  2308. yyg->yy_buffer_stack_max = 0;
  2309. yyg->yy_c_buf_p = (char *) 0;
  2310. yyg->yy_init = 1;
  2311. yyg->yy_start = 0;
  2312. yyg->yy_start_stack_ptr = 0;
  2313. yyg->yy_start_stack_depth = 0;
  2314. yyg->yy_start_stack = (int *) 0;
  2315. /* Defined in main.c */
  2316. #ifdef YY_STDINIT
  2317. yyin = stdin;
  2318. yyout = stdout;
  2319. #else
  2320. yyin = (FILE *) 0;
  2321. yyout = (FILE *) 0;
  2322. #endif
  2323. /* For future reference: Set errno on error, since we are called by
  2324. * ast_yylex_init()
  2325. */
  2326. return 0;
  2327. }
  2328. /* User-visible API */
  2329. /* ast_yylex_init is special because it creates the scanner itself, so it is
  2330. * the ONLY reentrant function that doesn't take the scanner as the last argument.
  2331. * That's why we explicitly handle the declaration, instead of using our macros.
  2332. */
  2333. int ast_yylex_init(yyscan_t* ptr_yy_globals)
  2334. {
  2335. if (ptr_yy_globals == NULL){
  2336. errno = EINVAL;
  2337. return 1;
  2338. }
  2339. *ptr_yy_globals = (yyscan_t) ast_yyalloc ( sizeof( struct yyguts_t ), NULL );
  2340. if (*ptr_yy_globals == NULL){
  2341. errno = ENOMEM;
  2342. return 1;
  2343. }
  2344. memset(*ptr_yy_globals,0,sizeof(struct yyguts_t));
  2345. return yy_init_globals ( *ptr_yy_globals );
  2346. }
  2347. /* ast_yylex_destroy is for both reentrant and non-reentrant scanners. */
  2348. int ast_yylex_destroy (yyscan_t yyscanner)
  2349. {
  2350. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  2351. /* Pop the buffer stack, destroying each element. */
  2352. while(YY_CURRENT_BUFFER){
  2353. ast_yy_delete_buffer(YY_CURRENT_BUFFER ,yyscanner );
  2354. YY_CURRENT_BUFFER_LVALUE = NULL;
  2355. ast_yypop_buffer_state(yyscanner);
  2356. }
  2357. /* Destroy the stack itself. */
  2358. ast_yyfree(yyg->yy_buffer_stack ,yyscanner);
  2359. yyg->yy_buffer_stack = NULL;
  2360. /* Destroy the start condition stack. */
  2361. ast_yyfree(yyg->yy_start_stack ,yyscanner );
  2362. yyg->yy_start_stack = NULL;
  2363. /* Destroy the main struct (reentrant only). */
  2364. ast_yyfree ( yyscanner , yyscanner );
  2365. return 0;
  2366. }
  2367. /*
  2368. * Internal utility routines.
  2369. */
  2370. #ifndef yytext_ptr
  2371. static void yy_flex_strncpy (char* s1, yyconst char * s2, int n , yyscan_t yyscanner)
  2372. {
  2373. register int i;
  2374. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  2375. for ( i = 0; i < n; ++i )
  2376. s1[i] = s2[i];
  2377. }
  2378. #endif
  2379. #ifdef YY_NEED_STRLEN
  2380. static int yy_flex_strlen (yyconst char * s , yyscan_t yyscanner)
  2381. {
  2382. register int n;
  2383. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  2384. for ( n = 0; s[n]; ++n )
  2385. ;
  2386. return n;
  2387. }
  2388. #endif
  2389. void *ast_yyalloc (yy_size_t size , yyscan_t yyscanner)
  2390. {
  2391. return (void *) malloc( size );
  2392. }
  2393. void *ast_yyrealloc (void * ptr, yy_size_t size , yyscan_t yyscanner)
  2394. {
  2395. /* The cast to (char *) in the following accommodates both
  2396. * implementations that use char* generic pointers, and those
  2397. * that use void* generic pointers. It works with the latter
  2398. * because both ANSI C and C++ allow castless assignment from
  2399. * any pointer type to void*, and deal with argument conversions
  2400. * as though doing an assignment.
  2401. */
  2402. return (void *) realloc( (char *) ptr, size );
  2403. }
  2404. void ast_yyfree (void * ptr , yyscan_t yyscanner)
  2405. {
  2406. free( (char *) ptr ); /* see ast_yyrealloc() for (char *) cast */
  2407. }
  2408. #define YYTABLES_NAME "yytables"
  2409. #undef YY_NEW_FILE
  2410. #undef YY_FLUSH_BUFFER
  2411. #undef yy_set_bol
  2412. #undef yy_new_buffer
  2413. #undef yy_set_interactive
  2414. #undef yytext_ptr
  2415. #undef YY_DO_BEFORE_ACTION
  2416. #ifdef YY_DECL_IS_OURS
  2417. #undef YY_DECL_IS_OURS
  2418. #undef YY_DECL
  2419. #endif
  2420. #line 103 "ast_expr2.fl"
  2421. /* I'm putting the interface routine to the whole parse here in the flexer input file
  2422. mainly because of all the flexer initialization that has to be done. Shouldn't matter
  2423. where it is, as long as it's somewhere. I didn't want to define a prototype for the
  2424. ast_yy_scan_string in the .y file, because then, I'd have to define YY_BUFFER_STATE there...
  2425. UGH! that would be inappropriate. */
  2426. int ast_yyparse(void *); /* need to/should define this prototype for the call to yyparse */
  2427. int ast_yyerror(const char *, YYLTYPE *, struct parse_io *); /* likewise */
  2428. int ast_expr(char *expr, char *buf, int length)
  2429. {
  2430. struct parse_io io;
  2431. int return_value = 0;
  2432. memset(&io, 0, sizeof(io));
  2433. io.string = expr; /* to pass to the error routine */
  2434. ast_yylex_init(&io.scanner);
  2435. ast_yy_scan_string(expr, io.scanner);
  2436. ast_yyparse ((void *) &io);
  2437. ast_yylex_destroy(io.scanner);
  2438. if (!io.val) {
  2439. if (length > 1) {
  2440. strcpy(buf, "0");
  2441. return_value = 1;
  2442. }
  2443. } else {
  2444. if (io.val->type == AST_EXPR_integer) {
  2445. int res_length;
  2446. res_length = snprintf(buf, length, "%ld", (long int) io.val->u.i);
  2447. return_value = (res_length <= length) ? res_length : length;
  2448. } else {
  2449. #ifdef STANDALONE
  2450. strncpy(buf, io.val->u.s, length - 1);
  2451. #else /* !STANDALONE */
  2452. ast_copy_string(buf, io.val->u.s, length);
  2453. #endif /* STANDALONE */
  2454. return_value = strlen(buf);
  2455. free(io.val->u.s);
  2456. }
  2457. free(io.val);
  2458. }
  2459. return return_value;
  2460. }
  2461. int ast_yyerror (const char *s, yyltype *loc, struct parse_io *parseio )
  2462. {
  2463. struct yyguts_t * yyg = (struct yyguts_t*)(parseio->scanner);
  2464. char spacebuf[8000]; /* best safe than sorry */
  2465. char spacebuf2[8000]; /* best safe than sorry */
  2466. int i=0;
  2467. spacebuf[0] = 0;
  2468. for(i=0;i< (int)(yytext - YY_CURRENT_BUFFER_LVALUE->yy_ch_buf);i++) spacebuf2[i] = ' '; /* uh... assuming yyg is defined, then I can use the yycolumn macro,
  2469. which is the same thing as... get this:
  2470. yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]->yy_bs_column
  2471. I was tempted to just use yy_buf_pos in the STATE, but..., well:
  2472. a. the yy_buf_pos is the current position in the buffer, which
  2473. may not relate to the entire string/buffer because of the
  2474. buffering.
  2475. b. but, analysis of the situation is that when you use the
  2476. ast_yy_scan_string func, it creates a single buffer the size of
  2477. string, so the two would be the same...
  2478. so, in the end, the yycolumn macro is available, shorter, therefore easier. */
  2479. spacebuf2[i++]='^';
  2480. spacebuf2[i]= 0;
  2481. #ifdef STANDALONE3
  2482. /* easier to read in the standalone version */
  2483. printf("ast_yyerror(): syntax error: %s; Input:\n%s\n%s\n",
  2484. s, parseio->string,spacebuf2);
  2485. #else
  2486. ast_log(LOG_WARNING,"ast_yyerror(): syntax error: %s; Input:\n%s\n%s\n",
  2487. s, parseio->string,spacebuf2);
  2488. #endif
  2489. #ifndef STANDALONE
  2490. ast_log(LOG_WARNING,"If you have questions, please refer to doc/README.variables in the asterisk source.\n");
  2491. #endif
  2492. return(0);
  2493. }