Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/epan/dfilter dfilter-int.h dfilter.c scanner

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: guy@xxxxxxxxxxxx (Guy Harris)
Date: Wed, 11 Feb 2004 16:52:54 -0600 (CST)
guy         2004/02/11 16:52:54 CST

  Modified files:
    epan/dfilter         dfilter-int.h dfilter.c scanner.l 
  Log:
  Use -1 rather than 0 as the SCAN_FAILED return value from the lexical
  analyzer on errors, and check for SCAN_FAILED from the lexical analyzer
  and abort the parse if we see it; 0 means "end of input", and we want to
  distinguish errors from end-of-input, so that we can report errors as
  such.
  
  If we see end-of-input while parsing a double-quoted string, report the
  error (missing closing quote).
  
  Fix the URL for the "Start conditions" section of the Flex manual.
  
  Revision  Changes    Path
  1.8       +6 -4      ethereal/epan/dfilter/dfilter-int.h
  1.15      +12 -1     ethereal/epan/dfilter/dfilter.c
  1.15      +13 -4     ethereal/epan/dfilter/scanner.l