[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
best way to quit the lexer
From: |
Josh |
Subject: |
best way to quit the lexer |
Date: |
Sun, 13 Nov 2005 17:44:48 -0800 |
Hi. Could anyone suggest a way of terminating a flex lexer from the
"outside", e.g. from a function defined in a Bison parser, without
leaking memory? The yyterminate() macro is only good within a lexer
action, and YYABORT in a parser action will not deallocate the input
buffer. Thanks for any tips.
Josh
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- best way to quit the lexer,
Josh <=