diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-04-11 15:06:09 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-04-12 15:50:20 +0200 |
commit | dd1d1b31b34bd95a1c64ac9f3fa7126c57753dc5 (patch) | |
tree | 602dfedf581524f18bb8d008d218ffec2ffc1072 /l10ntools | |
parent | Avoid reserved identifier (diff) | |
download | core-dd1d1b31b34bd95a1c64ac9f3fa7126c57753dc5.tar.gz core-dd1d1b31b34bd95a1c64ac9f3fa7126c57753dc5.zip |
Avoid reserved identifier
Change-Id: Id89697b602508446be0c9578b49532de6c22be9f
Diffstat (limited to 'l10ntools')
-rw-r--r-- | l10ntools/inc/tokens.h | 2 | ||||
-rw-r--r-- | l10ntools/source/export.cxx | 2 | ||||
-rw-r--r-- | l10ntools/source/srclex.l | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/l10ntools/inc/tokens.h b/l10ntools/inc/tokens.h index 1ec57a425afc..95370cf70a7e 100644 --- a/l10ntools/inc/tokens.h +++ b/l10ntools/inc/tokens.h @@ -52,7 +52,7 @@ #define RSCDEFINE 515 /* #define MY_TEXT */ #define RSCDEFINELEND 516 /* */ #define PRAGMA 519 /* #pragma ... */ -#define _LISTTEXT 521 /* { "Text" ... } */ +#define LISTTEXT_ 521 /* { "Text" ... } */ #define NORMDEFINE 524 /* #define ... */ /*------------------------------------------------------ */ /*------------------------------------------------------ */ diff --git a/l10ntools/source/export.cxx b/l10ntools/source/export.cxx index d8dbaaea2e8d..98e6a64b2f84 100644 --- a/l10ntools/source/export.cxx +++ b/l10ntools/source/export.cxx @@ -564,7 +564,7 @@ void Export::Execute( int nToken, const char * pToken ) } break; case TEXT: - case _LISTTEXT: + case LISTTEXT_: case LISTTEXT: { // this is an entry for a List if ( nList ) diff --git a/l10ntools/source/srclex.l b/l10ntools/source/srclex.l index 9caf0441c37b..8fbb58361319 100644 --- a/l10ntools/source/srclex.l +++ b/l10ntools/source/srclex.l @@ -203,8 +203,8 @@ void YYWarning(); } "{"?[ \t]*\".*\"[ \t]*";"[ \t]*"}" { -/* _LISTTEXT */ - WorkOnTokenSet( _LISTTEXT, yytext ); +/* LISTTEXT_ */ + WorkOnTokenSet( LISTTEXT_, yytext ); } %% |