YY_SCANNER_SKELETON.yy_content_area could be ABSTRACT_SPECIAL ?

Berend de Boer <[email protected]> Fri, 12 Jun 2009 13:33:38 +0200
Newsgroups gmane.comp.lang.eiffel.gobo.devel
Message-ID <[email protected]>
Hi All,

A recent change in YY_COMPRESSED_SCANNER_SKELETON requires that
yy_content_area be set. Unfortunately I relied on the fact you didn't
need to set it, so I could avoid a large memory copy.

I'm not yet sure what to do. What I really need is a SPECIAL with a
valid base_address, but can I rely on ISE Eiffel not to move this? I'm
afraid I can't.

Another solution is if my C malloc wrapper (STDC_BUFFER) implements
ABSTRACT_SPECIAL, so that would require
YY_SCANNER_SKELETON.yy_content_area to be changed to use
ABSTRACT_SPECIAL.

Any thoughts?

So the goal is to run the scanner/parser straight from a malloc
buffer, which used to work.

-- 
Cheers,

Berend de Boer

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects