summaryrefslogtreecommitdiff
path: root/l10ntools/source/gLexSrc.l
diff options
context:
space:
mode:
authorjan Iversen <jani@documentfoundation.org>2016-05-03 11:07:07 +0000
committerjan Iversen <jani@documentfoundation.org>2016-05-03 11:27:54 +0000
commit6bc720cedbcfb5ccc3f6d8bb5abc987db8445467 (patch)
tree6547fa14b73d179357d108949f4991eb0cf0f4f0 /l10ntools/source/gLexSrc.l
parentfc5755c062e7116529eb865e51fdaf1d747d1e68 (diff)
genlang .xcu dot handling and level func for .src
.xcu stores a '.' between keys and keys with no name count .src has commands without name (identifier used instead) Change-Id: I135c5f5594c429ebc1b278dbb7d5709b7b8ca119
Diffstat (limited to 'l10ntools/source/gLexSrc.l')
-rw-r--r--l10ntools/source/gLexSrc.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/l10ntools/source/gLexSrc.l b/l10ntools/source/gLexSrc.l
index a4bf5a7a73bf..f2cedf4e70d6 100644
--- a/l10ntools/source/gLexSrc.l
+++ b/l10ntools/source/gLexSrc.l
@@ -98,7 +98,7 @@ f
<ID>{IDENT} {
- LOCptr->setName(LOCptr->copySource(yytext));
+ LOCptr->setName(LOCptr->copySource(yytext), true);
BEGIN(INITIAL);
}
@@ -178,7 +178,7 @@ f
<CMD>{IDENT} {
- LOCptr->setName(LOCptr->copySource(yytext));
+ LOCptr->setName(LOCptr->copySource(yytext),false);
BEGIN(INITIAL);
}