diff options
author | Zolnai Tamás <zolnaitamas2000@gmail.com> | 2013-12-26 14:36:56 +0100 |
---|---|---|
committer | Zolnai Tamás <tamas.zolnai@collabora.com> | 2013-12-27 07:14:56 +0100 |
commit | eeee7f00c704739ebf912737072d07708920e6f2 (patch) | |
tree | 1f348c3f4d9bf8a47626eb667d752fc3efa33212 /l10ntools | |
parent | 6ded5aecce2c31f353c8b0bb7fda09c525a2e5bf (diff) |
Transex3: remove obsolete textrefid
Change-Id: Ic34efbd2090a11aa6fa88d67eda7ab31b1bddfcb
Diffstat (limited to 'l10ntools')
-rw-r--r-- | l10ntools/inc/tokens.h | 1 | ||||
-rw-r--r-- | l10ntools/source/export.cxx | 2 | ||||
-rw-r--r-- | l10ntools/source/srclex.l | 5 |
3 files changed, 0 insertions, 8 deletions
diff --git a/l10ntools/inc/tokens.h b/l10ntools/inc/tokens.h index 9f4f2a8664ce..1ec57a425afc 100644 --- a/l10ntools/inc/tokens.h +++ b/l10ntools/inc/tokens.h @@ -53,7 +53,6 @@ #define RSCDEFINELEND 516 /* */ #define PRAGMA 519 /* #pragma ... */ #define _LISTTEXT 521 /* { "Text" ... } */ -#define TEXTREFID 522 /* Text = 12345 */ #define NORMDEFINE 524 /* #define ... */ /*------------------------------------------------------ */ /*------------------------------------------------------ */ diff --git a/l10ntools/source/export.cxx b/l10ntools/source/export.cxx index f0fbfd48bbe5..32d2747e3dbd 100644 --- a/l10ntools/source/export.cxx +++ b/l10ntools/source/export.cxx @@ -695,8 +695,6 @@ int Export::Execute( int nToken, const char * pToken ) exit(-1); } break; - case TEXTREFID : - break; } if ( bWriteToMerged ) { // the current token must be written to dest. without merging diff --git a/l10ntools/source/srclex.l b/l10ntools/source/srclex.l index 3642376f4818..c97dcaa12fc2 100644 --- a/l10ntools/source/srclex.l +++ b/l10ntools/source/srclex.l @@ -168,11 +168,6 @@ void YYWarning(); WorkOnTokenSet( APPFONTMAPPING, yytext ); } -[ \t]*[a-zA-Z0-9_]+[ \t]*=[ \t]*[0123456789]{1,5}[ \t]*";"?\\? { -/* TEXTREFID // TextTyp = 12345 */ - WorkOnTokenSet( TEXTREFID, yytext ); -} - [a-zA-Z0-9_]+[ \t]*"="[\t ]*([ \t]*"//".*\n)*.* | [a-zA-Z0-9_]+[ \t]*"=".* { /* ASSIGNMENT Typ = ... */ |