From: Will Estes Date: Wed, 5 Aug 2015 19:27:37 +0000 (-0400) Subject: add %{...%} block to example in manual X-Git-Tag: v2.6.0~17 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4f2ae90b2826d2b87c2ff50ba13c0a0c7bb18eb0;p=flex add %{...%} block to example in manual --- diff --git a/doc/flex.texi b/doc/flex.texi index 825add3..c7edce6 100644 --- a/doc/flex.texi +++ b/doc/flex.texi @@ -4910,8 +4910,10 @@ custom allocator through @code{yyextra}. %option reentrant /* Initialize the allocator. */ +%{ #define YY_EXTRA_TYPE struct allocator* #define YY_USER_INIT yyextra = allocator_create(); +%} %% .|\n ;