Archive

Posts Tagged ‘multiline’

Ignoring multiline comments with start states in compilers with Flex.

May 10, 2014 Leave a comment

In a previous article I have presented a way for ignoring multiline comments with an old fashion way.

In this article I’ll demonstrate a more elegant Flex-like way for ignoring multiline comments.

Read more…

Ignoring multiline comments in compilers with Flex.

May 5, 2013 1 comment

In your lexer when lexical analysis is performed you may want to ignore any multiline C-like comments.

Read more…