J-P. Rosen expounded in news:hsb97m$tnd$1@news.eternal-september.org: > Dmitry A. Kazakov a �crit : >> On Mon, 10 May 2010 18:50:02 +0000 (UTC), Warren wrote: >> >>> But you have no way to know when you've read >>> a empty line in a lexer routine that is reading >>> character by character. >> > Come on, here is the magic function: > > function Empty_Line return Boolean is > begin > return Col=1 and End_Of_Line; > end Empty_Line; There's a wart-- see earlier posts about "end file". Warren