diff options
author | Oliver Bolte <obo@openoffice.org> | 2006-03-29 12:27:42 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2006-03-29 12:27:42 +0000 |
commit | f6561e873ab0cd94b33b813f7f153804ac88bc69 (patch) | |
tree | d3752ecf66c3bf3b4a5d3def8d79ab1ce69299c9 /transex3 | |
parent | 6dd1110121559649817a424d4090a1d7285d2fa7 (diff) |
INTEGRATION: CWS hc2opti (1.11.38); FILE MERGED
2006/02/24 17:10:23 ihi 1.11.38.1: #i55666# hc2 build speedup
Diffstat (limited to 'transex3')
-rw-r--r-- | transex3/source/srclex.l | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/transex3/source/srclex.l b/transex3/source/srclex.l index c1f2023470db..6347f96b8609 100644 --- a/transex3/source/srclex.l +++ b/transex3/source/srclex.l @@ -22,6 +22,7 @@ #include <stdlib.h> #include <stdio.h> + /* external functions (C++ code, declared as extren "C" */ extern WorkOnTokenSet( int, char* ); extern InitExport( char * , char * ); @@ -32,6 +33,7 @@ extern GetError(); extern char *GetOutputFile( int argc, char* argv[]); extern FILE *GetNextFile(); extern int isQuiet(); +extern char* getFilename(); /* forwards */ void YYWarning(); @@ -272,7 +274,8 @@ main( int argc, char* argv[]) fprintf( stdout, " Restriction to de and es, en-US will be fallback for es\n" ); return 1; } - + + InitExport( pOutput , getFilename() ); pFile = GetNextFile(); if ( !pFile ) return 1; @@ -280,7 +283,7 @@ main( int argc, char* argv[]) yyin = pFile; /* create global instance of class Export */ - InitExport( pOutput , pFile ); + //InitExport( pOutput , sFilename ); /* start parser */ yylex(); |