summaryrefslogtreecommitdiff
path: root/l10ntools/source/srclex.l
diff options
context:
space:
mode:
Diffstat (limited to 'l10ntools/source/srclex.l')
-rw-r--r--l10ntools/source/srclex.l3
1 files changed, 2 insertions, 1 deletions
diff --git a/l10ntools/source/srclex.l b/l10ntools/source/srclex.l
index 12de543f85b7..40ae022e1b26 100644
--- a/l10ntools/source/srclex.l
+++ b/l10ntools/source/srclex.l
@@ -233,8 +233,9 @@ void yyerror( char *s )
}
SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) {
+ int e;
yyin = init(argc, argv);
yylex();
+ e = GetError();
Close();
- return GetError();
}
ubject'>loplugin:constparams: xmlsecurity (clang-cl)