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

Lexical Analysis With Flex, for Flex 2.6.2: Comments in the Input

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

Lexical Analysis With Flex, for Flex 2.6.2: Comments in the Input

Lexical Analysis With Flex, for Flex 2.6.2: Comments in the Input Previous: User Code Section , Up: Format [ Contents ][ Index ] 5.4 Comments in the Input Flex supports C-style comments, that is, anything between ' /* ' and ' */ ' is considered a comment. Whenever flex encounters a comment, it copies the entire comment verbatim to the generated source code. Comments may appear just about anywhere, but with the following exceptions: Comments may not appear in the Rules Section wherever flex is expecting a regular expression. This means comments may not appear at the beginning of a line, or imme

Explore this link on the map →

related reading