initscan.c

来自「flex 词法分析工具 类似于lex 此版本为较早前的版本」· C语言 代码 · 共 1,334 行 · 第 1/5 页

C
1,334
字号
      771,  772,  772,  772,  772,  772,  772,  772,  772,  772,      772,  772,  772,  772,  772,  772,  772,  773,  773,  773,      773,  773,  773,  773,  773,  773,  773,  773,  773,  773,      773,  773,  773,  774,  774,  774,  774,  774,  774,  774,      774,  774,  774,  774,  774,  774,  774,  774,  774,  775,      775,  775,  775,  775,  775,  775,  775,  775,  775,  775,      775,  775,  775,  775,  775,  776,  776,  776,  776,  776,      776,  776,  776,  776,  776,  776,  776,  776,  776,  776,      776,  777,  777,  777,  777,  777,  777,  777,  777,  777,      777,  777,  777,  777,  777,  777,  777,  778,  778,  778,      778,  778,  778,  778,  778,  778,  778,  778,  778,  778,      778,  778,  778,  779,  779,  779,  779,  779,  779,  779,      779,  779,  779,  779,  779,  779,  779,  779,  779,  780,      780,  780,  780,  780,  780,  780,  780,  780,  780,  780,      780,  780,  780,  780,  780,  781,  781,  781,  781,  781,      781,  781,  781,  781,  781,  781,  781,  781,  781,  781,      781,  782,  782,  782,  782,  782,  782,  782,  782,  782,      782,  782,  782,  782,  782,  782,  782,  783,  783,  783,      783,  739,  738,  783,  783,  783,  784,  784,  784,  784,      784,  784,  784,  784,  784,  784,  784,  784,  784,  784,      784,  785,  785,  785,  785,  737,  736,  785,  785,  785,      786,  735,  786,  786,  786,  786,  786,  786,  786,  786,      786,  786,  786,  786,  786,  786,  787,  734,  787,  787,      787,  787,  787,  787,  787,  787,  787,  787,  787,  787,      787,  787,  788,  788,  788,  733,  732,  788,  788,  788,      789,  731,  789,  789,  789,  789,  789,  789,  789,  789,      789,  789,  789,  789,  789,  789,  790,  729,  790,  790,      790,  790,  790,  790,  790,  790,  790,  790,  790,  790,      790,  790,  791,  727,  791,  791,  791,  791,  791,  791,      791,  791,  791,  791,  791,  791,  791,  791,  792,  792,      792,  792,  792,  792,  792,  792,  792,  792,  792,  792,      792,  792,  792,  792,  793,  726,  793,  793,  725,  793,      793,  793,  724,  723,  793,  793,  722,  721,  720,  793,      794,  794,  794,  794,  719,  718,  794,  794,  794,  795,      717,  795,  795,  795,  795,  795,  795,  795,  795,  795,      795,  795,  795,  795,  795,  796,  796,  796,  796,  715,      714,  796,  796,  796,  797,  713,  797,  797,  797,  797,      797,  797,  797,  797,  797,  797,  797,  797,  797,  797,      798,  712,  798,  798,  798,  798,  798,  798,  798,  798,      798,  710,  798,  798,  798,  798,  799,  709,  707,  706,      799,  799,  799,  799,  705,  704,  799,  799,  800,  703,      800,  800,  800,  800,  800,  800,  800,  800,  800,  800,      800,  800,  800,  800,  801,  801,  801,  801,  702,  701,      801,  801,  801,  802,  802,  802,  802,  802,  802,  802,      802,  802,  802,  802,  802,  802,  802,  802,  802,  803,      803,  803,  803,  700,  803,  803,  803,  803,  803,  803,      803,  803,  803,  803,  803,  804,  699,  698,  804,  804,      804,  804,  804,  804,  804,  682,  804,  804,  804,  804,      804,  805,  680,  805,  805,  805,  805,  805,  805,  805,      805,  805,  805,  805,  805,  805,  805,  806,  679,  806,      806,  678,  806,  806,  806,  677,  675,  806,  806,  674,      672,  671,  806,  807,  807,  807,  807,  670,  669,  807,      807,  807,  808,  668,  808,  808,  808,  808,  808,  808,      808,  808,  808,  808,  808,  808,  808,  808,  809,  809,      667,  809,  809,  666,  665,  664,  809,  809,  811,  663,      811,  811,  811,  811,  811,  811,  811,  811,  811,  811,      811,  811,  811,  811,  812,  662,  812,  812,  812,  812,      812,  812,  812,  812,  812,  812,  812,  812,  812,  812,      813,  661,  813,  813,  813,  813,  813,  813,  813,  813,      813,  813,  813,  813,  813,  813,  814,  814,  660,  659,      814,  814,  814,  815,  815,  658,  655,  815,  815,  815,      816,  816,  816,  816,  816,  816,  816,  816,  816,  816,      816,  816,  816,  816,  816,  816,  817,  817,  817,  817,      817,  817,  817,  817,  817,  817,  817,  817,  817,  817,      817,  817,  818,  653,  818,  818,  818,  818,  818,  818,      818,  818,  818,  652,  818,  818,  818,  818,  819,  651,      819,  819,  819,  819,  819,  819,  819,  819,  819,  819,      819,  819,  819,  819,  820,  820,  650,  646,  644,  643,      820,  821,  821,  821,  821,  642,  641,  821,  821,  821,      821,  822,  639,  822,  822,  822,  822,  822,  822,  822,      822,  822,  822,  822,  822,  822,  822,  823,  637,  823,      823,  823,  823,  823,  823,  823,  823,  823,  823,  823,      823,  823,  823,  824,  636,  824,  824,  824,  824,  824,      824,  824,  824,  824,  824,  824,  824,  824,  824,  825,      635,  825,  825,  825,  825,  825,  825,  825,  825,  825,      825,  825,  825,  825,  825,  826,  633,  826,  826,  826,      826,  826,  826,  826,  826,  826,  826,  826,  826,  826,      826,  827,  632,  827,  827,  827,  827,  827,  827,  827,      827,  827,  827,  827,  827,  827,  827,  828,  828,  828,      828,  828,  828,  828,  828,  828,  828,  828,  828,  828,      828,  828,  828,  829,  631,  829,  829,  630,  829,  829,      829,  629,  628,  829,  829,  627,  626,  625,  829,  830,      830,  830,  830,  624,  623,  830,  830,  830,  831,  621,      831,  831,  831,  831,  831,  831,  831,  831,  831,  831,      831,  831,  831,  831,  832,  832,  832,  832,  619,  612,      832,  832,  832,  833,  833,  611,  610,  609,  833,  833,      834,  608,  607,  606,  834,  834,  834,  834,  604,  601,      834,  834,  835,  600,  835,  835,  835,  835,  835,  835,      835,  835,  835,  835,  835,  835,  835,  835,  836,  836,      836,  836,  599,  598,  836,  836,  836,  837,  837,  837,      837,  837,  837,  837,  837,  837,  837,  837,  837,  837,      837,  837,  837,  838,  838,  838,  838,  597,  838,  838,      838,  838,  838,  838,  838,  838,  838,  838,  838,  839,      596,  595,  839,  839,  839,  839,  839,  839,  839,  594,      839,  839,  839,  839,  839,  840,  593,  840,  840,  592,      840,  840,  840,  591,  590,  840,  840,  588,  569,  568,      840,  841,  841,  841,  841,  564,  563,  841,  841,  841,      842,  562,  842,  842,  842,  842,  842,  842,  842,  842,      842,  842,  842,  842,  842,  842,  843,  843,  560,  843,      843,  559,  558,  557,  843,  843,  844,  556,  844,  844,      844,  844,  844,  844,  844,  844,  844,  844,  844,  844,      844,  844,  845,  555,  845,  845,  845,  845,  845,  845,      845,  845,  845,  845,  845,  845,  845,  845,  846,  554,      846,  846,  846,  846,  846,  846,  846,  846,  846,  846,      846,  846,  846,  846,  847,  847,  847,  847,  847,  847,      847,  847,  847,  847,  847,  847,  847,  847,  847,  847,      848,  848,  848,  848,  553,  552,  848,  848,  848,  849,      849,  849,  849,  551,  549,  849,  849,  849,  850,  850,      850,  850,  850,  850,  850,  850,  850,  850,  850,  850,      850,  850,  850,  850,  851,  851,  851,  851,  851,  851,      851,  851,  851,  851,  851,  851,  851,  851,  851,  851,      852,  548,  852,  852,  852,  852,  852,  852,  852,  852,      852,  546,  852,  852,  852,  852,  853,  853,  545,  544,      543,  542,  853,  854,  854,  854,  854,  541,  540,  854,      854,  854,  854,  855,  539,  855,  855,  855,  855,  855,      855,  855,  855,  855,  855,  855,  855,  855,  855,  856,      856,  856,  856,  856,  856,  856,  856,  856,  856,  856,      856,  856,  856,  856,  856,  857,  857,  857,  857,  857,      857,  857,  857,  857,  857,  857,  857,  857,  857,  857,      857,  538,  536,  534,  533,  530,  528,  526,  525,  524,      523,  509,  508,  507,  506,  500,  499,  498,  497,  496,      492,  491,  490,  489,  488,  487,  486,  483,  482,  481,      480,  479,  478,  476,  475,  474,  473,  472,  471,  469,      468,  467,  464,  463,  461,  460,  459,  458,  457,  454,      453,  452,  451,  439,  437,  436,  435,  434,  430,  426,      423,  422,  421,  414,  413,  412,  411,  410,  408,  407,      406,  404,  403,  402,  401,  400,  399,  398,  397,  396,      395,  394,  393,  392,  391,  390,  388,  387,  386,  384,      383,  382,  381,  380,  379,  378,  377,  376,  373,  372,      361,  356,  355,  352,  350,  346,  337,  327,  326,  325,      323,  318,  315,  313,  312,  311,  308,  307,  306,  305,      303,  301,  300,  299,  297,  296,  295,  293,  292,  290,      287,  286,  284,  282,  281,  280,  276,  263,  262,  243,      240,  239,  234,  231,  226,  222,  221,  220,  219,  216,      208,  207,  204,  203,  189,  187,  183,  179,  176,  175,      174,  173,  172,  171,  169,  166,  165,  162,  161,  159,      156,  155,  154,  153,  151,  149,  148,  146,  144,  143,      137,  134,  125,  124,  122,  119,  114,  112,  107,  103,       97,   92,   89,   87,   85,   84,   83,   80,   76,   74,       73,   71,   67,   65,   59,   55,   50,   47,   43,   39,       16,   15,   10,    8,    7,  768,  768,  768,  768,  768,      768,  768,  768,  768,  768,  768,  768,  768,  768,  768,      768,  768,  768,  768,  768,  768,  768,  768,  768,  768,      768,  768,  768,  768,  768,  768,  768,  768,  768,  768,      768,  768,  768,  768,  768,  768,  768,  768,  768,  768,      768,  768,  768,  768,  768,  768,  768,  768,  768,  768,      768,  768,  768,  768    } ;static yy_state_type yy_last_accepting_state;static char *yy_last_accepting_cpos;/* The intent behind this definition is that it'll catch * any uses of REJECT which flex missed. */#define REJECT reject_used_but_not_detected#define yymore() yymore_used_but_not_detected#define YY_MORE_ADJ 0#define YY_RESTORE_YY_MORE_OFFSETchar *yytext;#line 1 "scan.l"#define INITIAL 0/* scan.l - scanner for flex input */#line 4 "scan.l"/*- * Copyright (c) 1990 The Regents of the University of California. * All rights reserved. * * This code is derived from software contributed to Berkeley by * Vern Paxson. *  * The United States Government has rights in this work pursuant * to contract no. DE-AC03-76SF00098 between the United States * Department of Energy and the University of California. * * Redistribution and use in source and binary forms with or without * modification are permitted provided that: (1) source distributions retain * this entire copyright notice and comment, and (2) distributions including * binaries display the following acknowledgement:  ``This product includes * software developed by the University of California, Berkeley and its * contributors'' in the documentation or other materials provided with the * distribution and in all advertising materials mentioning features or use * of this software.  Neither the name of the University nor the names of * its contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. *//* $Header: /home/daffy/u0/vern/flex/RCS/scan.l,v 2.56 95/04/24 12:17:19 vern Exp $ */#include "flexdef.h"#include "parse.h"#define ACTION_ECHO add_action( yytext )#define ACTION_IFDEF(def, should_define) \	{ \	if ( should_define ) \		action_define( def, 1 ); \	}#define MARK_END_OF_PROLOG mark_prolog();#define YY_DECL \	int flexscan()#define RETURNCHAR \	yylval = (unsigned char) yytext[0]; \	return CHAR;#define RETURNNAME \	strcpy( nmstr, yytext ); \	return NAME;#define PUT_BACK_STRING(str, start) \	for ( i = strlen( str ) - 1; i >= start; --i ) \		unput((str)[i])#define CHECK_REJECT(str) \	if ( all_upper( str ) ) \		reject = true;#define CHECK_YYMORE(str) \	if ( all_lower( str ) ) \		yymore_used = true;#define YY_STACK_USED 1#define YY_NO_TOP_STATE 1#define SECT2 1#define SECT2PROLOG 2#define SECT3 3#define CODEBLOCK 4#define PICKUPDEF 5#define SC 6#define CARETISBOL 7#define NUM 8#define QUOTE 9#define FIRSTCCL 10#define CCL 11#define ACTION 12#define RECOVER 13#define COMMENT 14#define ACTION_STRING 15#define PERCENT_BRACE_ACTION 16#define OPTION 17#define LINEDIR 18#line 1333 "scan.c"/* Macros after this point can all be overridde

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?