l10ntools/inc/tokens.h | 2 +- l10ntools/source/cfglex.l | 8 ++++---- l10ntools/source/srclex.l | 6 +++--- l10ntools/source/xrmlex.l | 6 +++--- 4 files changed, 11 insertions(+), 11 deletions(-)
New commits: commit 13148009769be7619bdd34b2ce56e6fbfb65c809 Author: Andras Timar <ati...@suse.com> Date: Mon Sep 24 12:06:10 2012 +0200 typo: COMMEND->COMMENT Change-Id: I1bac574d44b1fbbdd2cde41ba1af033e952d811a diff --git a/l10ntools/inc/tokens.h b/l10ntools/inc/tokens.h index 1d035a7..694bead 100644 --- a/l10ntools/inc/tokens.h +++ b/l10ntools/inc/tokens.h @@ -26,7 +26,7 @@ /*------------------------------------------------------ */ /*------------------------------------------------------ */ #define IGNOREDTOKENS 400 /* #include | #pragma | //... | ... */ -#define COMMEND 401 /*... */ +#define COMMENT 401 /*... */ #define DEFINEDRES 402 /* Text = { */ #define ANYTOKEN 404 /* XYZ */ #define UNKNOWNTOKEN 405 /* XYZ[ \t]$ */ diff --git a/l10ntools/source/cfglex.l b/l10ntools/source/cfglex.l index 7476cbf..16ddf28 100644 --- a/l10ntools/source/cfglex.l +++ b/l10ntools/source/cfglex.l @@ -89,8 +89,8 @@ int bText=0; pChar[1] = 0x00; pChar[0] = c3; - workOnTokenSet( COMMEND, yytext ); - workOnTokenSet( COMMEND, pChar ); + workOnTokenSet( COMMENT, yytext ); + workOnTokenSet( COMMENT, pChar ); for(;;) { if ( c3 == EOF ) @@ -102,7 +102,7 @@ int bText=0; c3 = yyinput(); pChar[0] = c3; - workOnTokenSet( COMMEND, pChar ); + workOnTokenSet( COMMENT, pChar ); } } @@ -114,7 +114,7 @@ int bText=0; \<[^\>\!]*\> { bText = 0; if ( yytext[ 1 ] == '!' && yytext[ 2 ] == '-' && yytext[ 3 ] == '-' ) - workOnTokenSet( COMMEND, yytext ); + workOnTokenSet( COMMENT, yytext ); else workOnTokenSet( CFG_UNKNOWNTAG, yytext ); } diff --git a/l10ntools/source/srclex.l b/l10ntools/source/srclex.l index e99eea4..01be0df 100644 --- a/l10ntools/source/srclex.l +++ b/l10ntools/source/srclex.l @@ -82,8 +82,8 @@ void YYWarning(); pChar[1] = 0x00; pChar[0] = c2; - WorkOnTokenSet( COMMEND, yytext ); - WorkOnTokenSet( COMMEND, pChar ); + WorkOnTokenSet( COMMENT, yytext ); + WorkOnTokenSet( COMMENT, pChar ); for(;;) { if ( c2 == EOF ) break; @@ -92,7 +92,7 @@ void YYWarning(); c1 = c2; c2 = yyinput(); pChar[0] = c2; - WorkOnTokenSet( COMMEND, pChar ); + WorkOnTokenSet( COMMENT, pChar ); } } diff --git a/l10ntools/source/xrmlex.l b/l10ntools/source/xrmlex.l index 9e9aa5c..eadb19f 100644 --- a/l10ntools/source/xrmlex.l +++ b/l10ntools/source/xrmlex.l @@ -144,8 +144,8 @@ int bText=0; pChar[1] = 0x00; pChar[0] = c3; - WorkOnTokenSet( COMMEND, yytext ); - WorkOnTokenSet( COMMEND, pChar ); + WorkOnTokenSet( COMMENT, yytext ); + WorkOnTokenSet( COMMENT, pChar ); for(;;) { if ( c3 == EOF ) @@ -156,7 +156,7 @@ int bText=0; c2 = c3; c3 = yyinput(); pChar[0] = c3; - WorkOnTokenSet( COMMEND, pChar ); + WorkOnTokenSet( COMMENT, pChar ); } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits