X-Git-Url: http://git.samba.org/samba.git/?p=obnox%2Fwireshark%2Fwip.git;a=blobdiff_plain;f=text2pcap-scanner.l;h=6b0b716f4555389c8f39551d46cd99cd361350aa;hp=725926df82c1624bc5f81b593245ca7d2239f564;hb=403cd88b4a708e02131597cc7c9b5f8bfd384b9c;hpb=44935e00e61cb712e1771e692aaeea59c01599f7 diff --git a/text2pcap-scanner.l b/text2pcap-scanner.l index 725926df82..6b0b716f45 100644 --- a/text2pcap-scanner.l +++ b/text2pcap-scanner.l @@ -1,5 +1,10 @@ /* -*-mode: flex-*- */ +/* + * We don't use unput, so don't generate code for it. + */ +%option nounput + %{ /******************************************************************************** @@ -16,8 +21,6 @@ * By Gerald Combs * Copyright 1998 Gerald Combs * - * - * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 @@ -30,7 +33,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * *******************************************************************************/ @@ -52,12 +55,6 @@ text [^ \n\t]+ mailfwd > eol \r?\n\r? -/* we don't use unput, so don't generate code for it. - * This is flex-only, but current thinking is that our lexers don't work - * with non-flex anyway... - */ -%option nounput - %% {byte} { parse_token(T_BYTE, yytext); }