> > 1) hbi18n.exe *.prg *.ch -oapp_hu_HU.pot -del=app_hu_HU.unused.pot >> > > I'm not sure I understand your idea. The line above means we need to > include lexer, PP and compiler code (including all bison generate source) > into hbi18n. Otherwise we will be always able to fail on samples like:
I know we need all these to do it, but since we already have hb_compile(), this is probably also doable with a slightly different interface. > 1) // hb_i18n_gettext("...") > > 2) #define x(x) hb_i18n_gettext("...") > x("...") > > etc. Fixing code to work correctly will require to add more and more hacks > if we will try to add all compiler code to hbi18n.exe That wasn't my intent, just a lib callable interface. Brgds, Viktor
_______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour