📄 flex.1
字号:
%!PS-Adobe-1.0%%Creator: devps (Pipeline Associates, Inc.)%%CreationDate: Fri Sep 13 13:03:41 1996%%Pages: (atend)%%DocumentFonts: (atend)/devps 180 dict def devps begin/res 10.000000 def/y_offset 843 def/X{exch}bind def/mm {transform round X round X itransform} bind def/r{rmoveto}bind def/m{moveto}bind def/l{lineto}bind def/rl{rlineto}bind def/st{stroke}bind def/gs{gsave}bind def/gr{grestore}bind def/cp{currentpoint}bind def/np{newpath}bind def/ct{curveto}bind defsystemdict /setpacking known { /savepacking currentpacking def true setpacking } if/m0{0 0 moveto}bind def/xc{//res div}bind def/yc{//res neg div //y_offset add}bind def/lc{yc X xc X l st}bind def/mc{yc X xc X m}bind def/el{gs /a X def a div 1 X scale cp np a xc 2 div 0 360 arc st gr}bind def/ar{cp 7 2 roll np xc 5 1 roll atan 3 1 roll atan X arc st}bind def/sp{yc X xc X 6 2 roll yc X xc X 6 2 roll yc X xc X 6 2 roll ct}bind def/V{//res neg div //y_offset addcurrentpoint pop Xm}bind def/H{//res div0 transform X round X itransform popcurrentpoint X popmoveto}bind def/h{//res div 0 r}bind def/v{//res neg div 0 X r}bind def/S{X H show}bind def/A{H //res div 1 index stringwidth pop sub 1 index length div 0 3 2 roll ashow}bind def/psize 10 def/height 0 def/cheight { height 0 ne { height } { psize } ifelse } bind def/slant 0 def/FF{findfont X dup 30 div 0 mm pop setlinewidth /psize X def [psize 0 cheight slant sin slant cos div mul cheight 0 0] makefont setfont}bind def/shade{gs /dy X def /dx X def np m 0 /dy rl /dx 0 rl 0 /dy neg rl /dx neg 0 rl closepath .9 setgray fillgr}bind def1 setlinecap/resolution res 72 mul def/startFig { /SavedState save def userdict maxlength dict begin currentpoint transform DocumentInitState setmiterlimit setgray setdash setlinejoin setlinecap setlinewidth setmatrix itransform moveto /ury exch def /urx exch def /lly exch def /llx exch def /y exch 72 mul resolution div def /x exch 72 mul resolution div def currentpoint /cy exch def /cx exch def /sx x urx llx sub div def /sy y ury lly sub div def sx sy scale cx sx div llx sub cy sy div ury sub translate /DefFigCTM matrix currentmatrix def /initmatrix { DefFigCTM setmatrix } def /defaultmatrix { DefFigCTM exch copy } def /initgraphics { DocumentInitState setmiterlimit setgray setdash setlinejoin setlinecap setlinewidth setmatrix DefFigCTM setmatrix } def /showpage { initgraphics } def}bind def/clipFig { currentpoint 6 2 roll newpath 4 copy 4 2 roll moveto 6 -1 roll exch lineto exch lineto exch lineto closepath clip newpath moveto}bind def/doclip { llx lly urx ury clipFig } def/endFig { end SavedState restore}bind def/globalstart { fontnum psize slant height resolution currentpoint pagesave restore gsave }bind def/globalend { grestore moveto /resolution exch def /height exch def /slant exch def /psize exch def /fontnum exch def F /pagesave save def}bind def/fontnum 1 def systemdict /setpacking known { savepacking setpacking} ifend/BP{save mark devps begin m0/DocumentInitState [ matrix currentmatrix currentlinewidth currentlinecapcurrentlinejoin currentdash currentgray currentmiterlimit ] cvx def}bind def/EP{end cleartomark restore showpage}def/R{/Times-Roman FF}def/B{/Times-Bold FF}def/I{/Times-Italic FF}def/Encoding-1 256 array def0 1 255 {Encoding-1 exch /.notdef put} forEncoding-1 8#301 StandardEncoding 8#101 26 getinterval putinterval %A-BEncoding-1 8#341 StandardEncoding 8#141 26 getinterval putinterval %a-bEncoding-1 8#241 StandardEncoding 8#301 16 getinterval putinterval %accentsEncoding-1 8#373 StandardEncoding 8#365 1 getinterval putinterval %dotlessiEncoding-1dup 8#41 /copyright putdup 8#42 /registered putdup 8#43 /trademark putdup 8#44 /logicalnot putdup 8#45 /Eth putdup 8#46 /eth putdup 8#47 /Thorn putdup 8#50 /thorn putdup 8#51 /brokenbar putdup 8#52 /degree putdup 8#53 /divide putdup 8#54 /multiply putdup 8#55 /minus putdup 8#56 /onehalf putdup 8#57 /onequarter putdup 8#60 /threequarters putdup 8#101 /Aacute putdup 8#102 /Acircumflex putdup 8#103 /Adieresis putdup 8#104 /Agrave putdup 8#105 /Aring putdup 8#106 /Atilde putdup 8#107 /Ccedilla putdup 8#110 /Eacute putdup 8#111 /Ecircumflex putdup 8#112 /Edieresis putdup 8#113 /Egrave putdup 8#114 /Iacute putdup 8#115 /Icircumflex putdup 8#116 /Idieresis putdup 8#117 /Igrave putdup 8#120 /Ntilde putdup 8#121 /Oacute putdup 8#122 /Ocircumflex putdup 8#123 /Odieresis putdup 8#124 /Ograve putdup 8#125 /Otilde putdup 8#126 /Scaron putdup 8#127 /Uacute putdup 8#130 /Ucircumflex putdup 8#131 /Udieresis putdup 8#132 /Ugrave putdup 8#133 /Ydieresis putdup 8#134 /Zcaron putdup 8#135 /aacute putdup 8#136 /acircumflex putdup 8#137 /adieresis putdup 8#140 /agrave putdup 8#141 /aring putdup 8#142 /atilde putdup 8#143 /ccedilla putdup 8#144 /eacute putdup 8#145 /ecircumflex putdup 8#146 /edieresis putdup 8#147 /egrave putdup 8#150 /iacute putdup 8#151 /icircumflex putdup 8#152 /idieresis putdup 8#153 /igrave putdup 8#154 /ntilde putdup 8#155 /oacute putdup 8#156 /ocircumflex putdup 8#157 /odieresis putdup 8#160 /ograve putdup 8#161 /otilde putdup 8#162 /scaron putdup 8#163 /uacute putdup 8#164 /ucircumflex putdup 8#165 /udieresis putdup 8#166 /ugrave putdup 8#167 /ydieresis putdup 8#170 /zcaron putpop/Enc-dict 30 dict defEnc-dict /tmpstr1 50 string putEnc-dict /tmpstr2 50 string putEnc-dict /tmpstr3 50 string dup (Encoding-) exch cvs pop put/AEnc-def { % arguments: the original font's name, encoding nrEnc-dict begintmpstr2 cvs /Enc-no exch def % Remember the number in a stringdup /OrigName exch def % remember the namefindfont dup maxlength dict /newdict exch def % get dictionary for new font{ exch dup /FID ne { exch newdict 3 1 roll put } { pop pop } % Ignore FID ifelse} forallnewdict begin/Encoding tmpstr3 9 Enc-no putinterval tmpstr3 0 9 Enc-no length add getinterval cvn load def % Replace encodingcurrentdict /UniqueID known{ /UniqueID UniqueID Enc-no cvi 49999 mul add def } if % Derive New UniqueIDend % newdict/FNlength OrigName tmpstr1 cvs length def % convert name, remember lengthFNlength 1 add Enc-no length add stringdup 0 OrigName tmpstr1 cvs putintervaldup FNlength (-) putintervaldup FNlength 1 add Enc-no putintervaldup 0 tmpstr1 0 FNlength getinterval putinterval % Add old namecvn dup newdict /FontName 3 2 roll put newdict definefontend % Enc-dict} def/Times-Bold 1 AEnc-def pop/B-1{/Times-Bold-1 FF}def%%EndProlog%%Page: 1 1BP/slant 0 def/height 0 def480 V10 R720(FLEX)S981(\()S1023(1)S1081(\))S2756(Version)S3100(2.3)S4866(FLEX)S5127(\()S5169(1)S5227(\))S960 V9 R720(N)S722(NA)S790(AM)S858(ME)S940(E)S1080 V10 R1080(\257ex,)S1281(lex)S1429(-)S1488(fast)S1659(lexical)S1953(analyzer)S2320(generator)S1248 V9 R720(S)S722(SY)S774(YN)S842(NO)S910(OP)S978(PS)S1030(SI)S1082(IS)S1115(S)S1368 V10 B1080(\257ex)S([-bcd\256npstvFILT8)801 1269 A2108(-C[efmF])S2546(-Sskeleton])S10 I3061([\256lename)S(...])114 3479 A1536 V9 R720(D)S722(DE)S790(ES)S848(SC)S900(CR)S962(RI)S1024(IP)S1057(PT)S1109(TI)S1167(IO)S1200(ON)S1268(N)S1656 V10 I1080(\257ex)S10 R1246(is)S1339(a)S1410(tool)S1592(for)S1737(generating)S10 I(scanners:)391 2189 A10 R2607(programs)S3014(which)S(recognized)442 3287 A3756(lexical)S4052(patterns)S4398(in)S4503(text.)S10 I4731(\257ex)S10 R4898(reads)S5138(the)S1776 V1080(given)S(input)206 1334 A1571(\256les,)S1795(or)S1910(its)S2036(standard)S(input)206 2408 A2645(if)S2738(no)S2869(\256le)S3028(names)S3315(are)S3469(given,)S3747(for)S3895(a)S3970(description)S4447(of)S4561(a)S4636(scanner)S4974(to)S5082(gen-)S1896 V1080(erate.)S1356(The)S1542(description)S2018(is)S2114(in)S2221(the)S2373(form)S2599(of)S2713(pairs)S2939(of)S3053(regular)S3369(expressions)S3868(and)S4043(C)S4140(code,)S4385(called)S10 I4656(rules.)S4912(\257ex)S10 R5082(gen-)S2016 V1080(erates)S1355(as)S1478(output)S1773(a)S1857(C)S1963(source)S2265(\256le,)S10 B2458(lex.yy.c,)S10 R2840(which)S3125(de\256nes)S3449(a)S3533(routine)S10 B3857(yylex\(\).)S10 R4212(This)S4430(\256le)S4598(is)S4704(compiled)S5116(and)S2136 V1080(linked)S1362(with)S1572(the)S10 B1726(-l\257)S10 R1875(library)S2175(to)S(produce)324 2285 A2641(an)S2768(executable.)S3281(When)S3553(the)S3708(executable)S4171(is)S4270(run,)S4461(it)S4549(analyzes)S4928(its)S(input)206 5055 A2256 V1080(for)S1239(occurrences)S1762(of)S1887(the)S2051(regular)S2378(expressions.)S2938(Whenever)S3392(it)S3488(\256nds)S3723(one,)S3933(it)S4029(executes)S4416(the)S(corresponding)575 4579 A5194(C)S2376 V1080(code.)S2544 V1080(For)S1245(full)S1410(documentation,)S2057(see)S10 B2211(\257exdoc\(1\).)S10 R2681(This)S2885(manual)S3206(entry)S3438(is)S3530(intended)S3901(for)S4044(use)S4203(as)S4312(a)S4382(quick)S4630(reference.)S2712 V9 R720(O)S722(OP)S790(PT)S842(TI)S900(IO)S933(ON)S1001(NS)S1069(S)S2832 V10 I1080(\257ex)S10 R1245(has)S1404(the)S1552(following)S1968(options:)S3000 V10 B1080(-b)S10 R1440(Generate)S1850(backtracking)S2415(information)S2935(to)S10 I3058(lex.backtrack.)S10 R3668(This)S3892(is)S4004(a)S4094(list)S4262(of)S4391(scanner)S4745(states)S5015(which)S3120 V1440(require)S1760(backtracking)S2314(and)S2493(the)S(input)206 2650 A2890(characters)S3334(on)S3468(which)S3747(they)S3953(do)S4086(so.)S4258(By)S4408(adding)S4714(rules)S4943(one)S5121(can)S3240 V1440(remove)S1773(backtracking)S2324(states.)S2629(If)S2728(all)S2860(backtracking)S3411(states)S3666(are)S3821(eliminated)S4277(and)S10 B4454(-f)S10 R4554(or)S10 B4670(-F)S10 R4798(is)S4897(used,)S5138(the)S3360 V1440(generated)S1857(scanner)S(will)157 2190 A2372(run)S2531(faster.)S3528 V10 B1080(-c)S10 R1440(is)S1532(a)S1602(do-nothing,)S(deprecated)437 2092 A2554(option)S2835(included)S3206(for)S3349(POSIX)S3666(compliance.)S3696 V10 B1440(NOTE:)S10 R1787(in)S1893(previous)S2267(releases)S2615(of)S10 I2727(flex)S10 B2901(-c)S10 R3008(specified)S3400(table-compression)S4166(options.)S4539(This)S(functionality)514 4747 A3816 V1440(is)S1535(now)S1736(given)S1987(by)S2114(the)S10 B2264(-C)S10 R2398(flag.)S2632(To)S2771(ease)S2972(the)S3122(the)S3272(impact)S3573(of)S3684(this)S3856(change,)S4193(when)S10 I4438(flex)S10 R(encounters)436 4611 A10 B5074(-c,)S10 R5205(it)S3936 V1440(currently)S1829(issues)S2094(a)S2164(warning)S2520(message)S2887(and)S3058(assumes)S3419(that)S10 B3596(-C)S10 R3729(was)S3912(desired)S4229(instead.)S4590(In)S4700(the)S4849(future)S5116(this)S4056 V1440("promotion")S1984(of)S10 B2112(-c)S10 R2235(to)S10 B2357(-C)S10 R(will)157 2508 A2709(go)S2853(away)S3110(in)S3231(the)S3397(name)S3658(of)S3785(full)S3968(POSIX)S4303(compliance)S4810(\(unless)S5138(the)S4176 V1440(POSIX)S1757(meaning)S2128(is)S2220(removed)S2597(first\).)S4344 V10 B1080(-d)S10 R1440(makes)S1732(the)S1890(generated)S2317(scanner)S2660(run)S2829(in)S10 I(debug)245 2942 A10 R3222(mode.)S3530(Whenever)S3979(a)S4060(pattern)S4376(is)S(recognized)442 4479 A4957(and)S5138(the)S4464 V1440(global)S10 B(yy_\257ex_debug)614 1719 A10 R2361(is)S(non-zero)358 2456 A2842(\(which)S3150(is)S3245(the)S3396(default\),)S3762(the)S3912(scanner)S(will)157 4247 A4431(write)S4666(to)S10 I4771(stderr)S10 R5038(a)S5110(line)S4584 V1440(of)S1549(the)S1697(form:)S4824 V(--accepting)454 1540 A2019(rule)S2201(at)S2299(line)S2475(53)S2600(\("the)S2823(matched)S3189(text"\))S5064 V1440(The)S1628(line)S1810(number)S2148(refers)S2410(to)S2519(the)S2673(location)S3028(of)S3143(the)S3297(rule)S3485(in)S3594(the)S3748(\256le)S3908(de\256ning)S4268(the)S4423(scanner)S4763(\(i.e.,)S4977(the)S5132(\256le)S5184 V1440(that)S1626(was)S1817(fed)S1980(to)S2092(\257ex\).)S2361(Messages)S2786(are)S2944(also)S3140(generated)S3566(when)S3818(the)S3975(scanner)S4317(backtracks,)S(accepts)297 4807 A5138(the)S5304 V1440(default)S1745(rule,)S(reaches)303 1952 A2280(the)S2428(end)S2598(of)S2707(its)S(input)206 2827 A3058(buffer)S3330(\(or)S(encounters)436 3473 A3934(a)S4004(NUL;)S4265(the)S4414(two)S(look)178 4591 A4795(the)S4944(same)S5177(as)S5424 V1440(far)S1578(as)S1687(the)S1835(scanner's)S2241(concerned\),)S2739(or)S(reaches)303 2848 A3176(an)S3296(end-of-\256le.)S5592 V10 B1080(-f)S10 R1440(speci\256es)S1817(\(take)S(your)184 2049 A2263(pick\))S10 I2500(full)S2664(table)S10 R2895(or)S10 I3009(fast)S(scanner.)343 3184 A10 R3557(No)S3710(table)S3936(compression)S4475(is)S(done.)220 4573 A4849(The)S5037(result)S5712 V1440(is)S1532(large)S1759(but)S1912(fast.)S2133(This)S2337(option)S2618(is)S2710(equivalent)S3154(to)S10 B3257(-Cf)S10 R3423(\(see)S3611(below\).)S5880 V10 B1080(-i)S10 R1440(instructs)S10 I1810(\257ex)S10 R1979(to)S2086(generate)S2458(a)S10 I(case-insensitive)638 2533 A10 R3201(scanner.)S3589(The)S3776(case)S3980(of)S4094(letters)S4371(given)S4624(in)S4732(the)S10 I4885(\257ex)S10 R(input)206 5055 A6000 V1440(patterns)S(will)157 1802 A2002(be)S(ignored,)332 2140 A2515(and)S2703(tokens)S3008(in)S3129(the)S(input)206 3294 A(will)157 3542 A3741(be)S3878(matched)S4261(regardless)S4712(of)S4838(case.)S5104(The)S6120 V1440(matched)S1806(text)S1982(given)S2230(in)S10 I2333(yytext)S10 R(will)157 2594 A2776(have)S2991(the)S3139(preserved)S3556(case)S3755(\(i.e.,)S3962(it)S(will)157 4043 A4225(not)S4378(be)S4498(folded\).)S6288 V10 B1080(-n)S10 R1440(is)S1532(another)S1859(do-nothing,)S(deprecated)437 2349 A2811(option)S3092(included)S3463(only)S3666(for)S3809(POSIX)S4126(compliance.)S6456 V10 B1080(-p)S10 R1440(generates)S1851(a)S1926(performance)S2466(report)S2737(to)S2845(stderr.)S3156(The)S3344(report)S3616(consists)S3965(of)S4080(comments)S4524(regarding)S4941(features)S6576 V1440(of)S1549(the)S10 I1697(\257ex)S10 R(input)206 1862 A2093(\256le)S2247(which)S(will)157 2518 A2700(cause)S2949(a)S3019(loss)S3200(of)S3309(performance)S3844(in)S3947(the)S(resulting)352 4095 A4472(scanner.)S6744 V10 B1080(-s)S10 R1440(causes)S1730(the)S10 I1880(default)S2186(rule)S10 R2375(\(that)S2587(unmatched)S3055(scanner)S(input)206 3390 A3624(is)S3719(echoed)S4032(to)S10 I(stdout\))279 4138 A10 R4445(to)S4551(be)S(suppressed.)466 4674 A5193(If)S6864 V1440(the)S1588(scanner)S(encounters)436 1921 A(input)206 2382 A2613(that)S2789(does)S2998(not)S3151(match)S3422(any)S3592(of)S3701(its)S3821(rules,)S4067(it)S4148(aborts)S4419(with)S4623(an)S4743(error.)S7032 V10 B1080(-t)S10 R1440(instructs)S10 I1806(\257ex)S10 R1971(to)S2074(write)S2307(the)S2455(scanner)S2788(it)S2869(generates)S3275(to)S3378(standard)S3744(output)S4025(instead)S4335(of)S10 B4444(lex.yy.c.)S7200 V1080(-v)S10 R1440(speci\256es)S1819(that)S10 I2002(\257ex)S10 R(should)267 2174 A2473(write)S2713(to)S10 I2823(stderr)S10 R3095(a)S3173(summary)S3580(of)S3697(statistics)S4077(regarding)S4496(the)S4652(scanner)S4993(it)S5082(gen-)S7320 V1440(erates.)S7903 V720(Page)S941(1)S2681(\()S2723(26)S2848(May)S(1990)200 3057 A3265(\))S4455(September)S4911(13,)S(1996)200 5061 A8143 VEP%%Page: 2 2BP/slant 0 def/height 0 def480 V10 R720(FLEX)S981(\()S1023(1)S1081(\))S2756(Version)S3100(2.3)S4866(FLEX)S5127(\()S5169(1)S5227(\))S960 V10 B1080(-F)S10 R1440(speci\256es)S1813(that)S1990(the)S10 I2139(fast)S10 R2310(scanner)S2644(table)S2866(representation)S(should)267 3463 A3757(be)S3879(used.)S4140(This)S4346(representation)S4944(is)S(about)223 5038 A1080 V1440(as)S1556(fast)S1734(as)S1849(the)S2003(full)S2174(table)S2401(representation)S3003(\()S10 B-13037(-)S10 B3094(f)S10 R3128(\),)S3218(and)S3394(for)S3543(some)S3786(sets)S3968(of)S4083(patterns)S(will)157 4433 A4621(be)S4747(considerably)S1200 V1440(smaller)S1762(\(and)S1966(for)S2109(others,)S2405(larger\).)S2750(See)S10 B2921(\257exdoc\(1\))S10 R3366(for)S3509(details.)S1368 V1440(This)S1644(option)S1925(is)S2017(equivalent)S2461(to)S10 B2564(-CF)S10 R2758(\(see)S2946(below\).)S1536 V10 B1080(-I)S
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -