Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


On Tue, May 01, 2012 at 12:34:58AM +0200, David Ostrovsky wrote:
Hi,

during gbuild'fication of idlc module I did a not so nice hack: as
*_add_lexers helper function was not implemented,
I replaced dmake code with gbuild code in CustomTarget-Makefile.
I also forgot to remove the wrap_parser.cxx file.

This patch cleans it up and introduce *_add_lexers helper methods,
like *_add_grammars and friends:

Thanks :-)

I changed the names to LexTarget and _add_scanners, hopefully you do not
mind. I also cleaned it a bit, removing a couple of debugging lines.

This patch is also a preparation for gbuild conversion of other modules.
Module l10ntools has three lexer files (this is C-code though):

I do not think we should bother differentiating between C and C++-based
scanners; just treat them all as C++.

echo $(find l10ntools -name *.l)
l10ntools/source/cfglex.l l10ntools/source/srclex.l
l10ntools/source/xrmlex.l

There is another one in connectivity:
connectivity/source/parse/sqlflex.l

D.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.