From: "Mhaxx" Newsgroups: comp.os.msdos.djgpp Subject: Stop scanning Date: Fri, 14 Feb 2003 19:18:25 +0100 Lines: 16 Message-ID: NNTP-Posting-Host: ppp-112-116.98-62.inwind.it (62.98.116.112) X-Trace: fu-berlin.de 1045246797 46146531 62.98.116.112 (16 [166592]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 FL-Build: Fidolook 2002 (SL) 6.0.2600.78 - 24/10/2002 21:18:29 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Is it possible to stop scanning and to report an error found? I have to stop the scanning and to return an error message (to video) when the scanner matches a special token "x". In other words, I need to stop the scanning from inside the action of the rule "x". Anther thing: is it possible to insert comments into flexer file, for example in the definition section or in the rules section? And how? T.I.A. Max