std.d.lexer requirements

Jacob Carlborg doob at me.com
Fri Aug 3 02:01:36 PDT 2012


On 2012-08-03 09:35, Walter Bright wrote:

> Look in doc.c at highlightCode2() for how to call the lexer by itself.

So basically:

Token tok;

//start timer

while (tok.value != TOKeof)
     lex.scan(&tok);

//end timer

Something like that?

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list