summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--unoidl/source/sourceprovider-scanner.l4
1 files changed, 0 insertions, 4 deletions
diff --git a/unoidl/source/sourceprovider-scanner.l b/unoidl/source/sourceprovider-scanner.l
index 847138b56dd0..bdedfcffc919 100644
--- a/unoidl/source/sourceprovider-scanner.l
+++ b/unoidl/source/sourceprovider-scanner.l
@@ -195,13 +195,9 @@ ALNUM {DIGIT}|{ALPHA}
}
({ALPHA}|"_")({ALNUM}|"_")* {
-#if 1 //TODO
- yylval->sval=new OString(yytext);return TOK_IDENTIFIER;
-#else
yyextra->errorMessage = "illegal identifier "
+ OUString(yytext, yyleng, RTL_TEXTENCODING_ASCII_US);
return TOK_ERROR;
-#endif
}
0+[LUlu]? |