aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/ascend-scanner.l
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-12-06 08:25:52 +0000
committerGuy Harris <guy@alum.mit.edu>2001-12-06 08:25:52 +0000
commit31519a0ff0bf1fe040a1ceefdcfe768d36ae2569 (patch)
tree97d988c4782cf0ce63e6d2f822c427bc18b53fa0 /wiretap/ascend-scanner.l
parent10b79123ef414da57d8c26980dd435dacd81e6d2 (diff)
From Motonori Shindo: get rid of "send output to /dev/null" hack in
Ascend/Lucent trace reading code's Flex scanner. svn path=/trunk/; revision=4346
Diffstat (limited to 'wiretap/ascend-scanner.l')
-rw-r--r--wiretap/ascend-scanner.l7
1 files changed, 3 insertions, 4 deletions
diff --git a/wiretap/ascend-scanner.l b/wiretap/ascend-scanner.l
index e551bb3924..8f7e153463 100644
--- a/wiretap/ascend-scanner.l
+++ b/wiretap/ascend-scanner.l
@@ -1,7 +1,7 @@
%{
/* ascend-scanner.l
*
- * $Id: ascend-scanner.l,v 1.22 2001/12/04 10:07:30 guy Exp $
+ * $Id: ascend-scanner.l,v 1.23 2001/12/06 08:25:52 guy Exp $
*
* Wiretap Library
* Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu>
@@ -277,16 +277,15 @@ task:|task|at|time:|octets { return KEYWORD; }
<<EOF>> { at_eof++; yyterminate(); }
-. ;
+(.|\n) ;
%%
int ascendwrap() { return 1; }
-void ascend_init_lexer(FILE_T fh, FILE *nfh)
+void ascend_init_lexer(FILE_T fh)
{
yyrestart(0);
- yyout = nfh;
yy_fh = fh;
BEGIN(INITIAL);
}