reopen 320134
thanks,

Your correction is not correct. My patch was changing str in yy_str. But
your patch is adding the correct line without removing the bad one.

Doxygen warning I have now:
  foobar.c:1469: Warning: argument `str' of command @param is not found in the 
argument list of tp_scan_string(yyconst char *yy_str)

Note that yy_scan_string() function only has yy_str as parameter.

Proposed patch:
*** flex-2.5.31/skel.c  2005-10-21 14:34:17.000000000 +0200
--- flex-2.5.31.new/skel.c      2005-10-21 13:49:37.000000000 +0200
***************
*** 2446,2460 ****
    "",
    "",
    "m4_ifdef( [[M4_YY_NO_SCAN_STRING]],,",
    "[[",
    "%if-c-only",
    "/** Setup the input buffer state to scan a string. The next call to 
yylex() will",
    " * scan from a @e copy of @a str.",
-   " * @param str a NUL-terminated string to scan",
    " * @param yy_str a NUL-terminated string to scan",
    " * M4_YY_DOC_PARAM",
    " * @return the newly allocated buffer state object.",
    " * @note If you want to scan bytes that may contain NUL values, then use",
    " *       yy_scan_bytes() instead.",
    " */",
    "YY_BUFFER_STATE yy_scan_string YYFARGS1( yyconst char *,yy_str)",
--- 2446,2459 ----

Thanks,

-- 
 Dr. Ludovic Rousseau                        [EMAIL PROTECTED]
 -- Normaliser Unix c'est comme pasteuriser le camembert, L.R. --


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to