flâneur — a map of the web's best reading

Lexical Analysis With Flex, for Flex 2.6.2: Generated Scanner

westes.github.io · 815 words · saved by 1 readers

Lexical Analysis With Flex, for Flex 2.6.2: Generated Scanner

Lexical Analysis With Flex, for Flex 2.6.2: Generated Scanner Next: Start Conditions , Previous: Actions , Up: Top [ Contents ][ Index ] 9 The Generated Scanner The output of flex is the file lex.yy.c , which contains the scanning routine yylex() , a number of tables used by it for matching tokens, and a number of auxiliary routines and macros. By default, yylex() is declared as follows: int yylex() { ... various definitions and the actions in here ... } (If your environment supports function prototypes, then it will be int yylex( void ) .) This definition may be changed by defining the YY_DEC

Explore this link on the map →

related reading