summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndras Timar <atimar@suse.com>2012-09-24 12:06:10 +0200
committerAndras Timar <atimar@suse.com>2012-09-24 12:06:48 +0200
commit13148009769be7619bdd34b2ce56e6fbfb65c809 (patch)
tree6f0c0cf0dc5a4be2474950621fcc2554407a49ba
parent0df1e4a80e868c0f27f848ff12251488c1a313ef (diff)
typo: COMMEND->COMMENT
Change-Id: I1bac574d44b1fbbdd2cde41ba1af033e952d811a
-rw-r--r--l10ntools/inc/tokens.h2
-rw-r--r--l10ntools/source/cfglex.l8
-rw-r--r--l10ntools/source/srclex.l6
-rw-r--r--l10ntools/source/xrmlex.l6
4 files changed, 11 insertions, 11 deletions
diff --git a/l10ntools/inc/tokens.h b/l10ntools/inc/tokens.h
index 1d035a7ddef7..694bead2dd10 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 7476cbff0eb7..16ddf289fda3 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 e99eea42ac44..01be0df7ea3b 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 9e9aa5cb93ba..eadb19f3fbfb 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 );
}
}