confuse-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Confuse-devel] [PATCH 3/3] confuse: make EOF detection independent of d


From: Carlo Marcelo Arenas Belon
Subject: [Confuse-devel] [PATCH 3/3] confuse: make EOF detection independent of depth from buffer processing
Date: Thu, 1 Jan 2009 17:24:26 -0800

avoid aborting processing of the configuration buffer after returning
from include processing.

Signed-off-by: Carlo Marcelo Arenas Belon <address@hidden>
---
 src/lexer.l |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/lexer.l b/src/lexer.l
index bb996cd..195cf10 100644
--- a/src/lexer.l
+++ b/src/lexer.l
@@ -227,7 +227,7 @@ static YY_BUFFER_STATE string_scan_state = 0;
 }
 
 <<EOF>> {
-             if( string_scan_state != 0 || cfg_include_stack_ptr <= 0 )
+             if( cfg_include_stack_ptr <= 0 )
                  {
                  return EOF;
                  }

reply via email to

[Prev in Thread] Current Thread [Next in Thread]