[code] Another lexer question: line comments (REAL lines comments)

From: Michael Richter <ttmrichter.att.gmail.com>
Date: Wed, 20 Nov 2013 00:03:37 +0800

How would I lex a comment that has a comment character which *MUST* start
in column 1?

As in:

* this is a comment
     * this is not a comment
  foo * this is most definitely not a comment

-- 
"Perhaps people don't believe this, but throughout all of the discussions
of entering China our focus has really been what's best for the Chinese
people. It's not been about our revenue or profit or whatnot."
--Sergey Brin, demonstrating the emptiness of the "don't be evil" mantra.
-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Tue 19 Nov 2013 - 11:03:37 EST

This archive was generated by hypermail 2.2.0 : Wed 20 Nov 2013 - 06:27:06 EST