diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2021-09-14 17:15:08 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2021-10-14 20:39:18 +0200 |
commit | 620179240670bd00f60555f1f5c5b0268492f97c (patch) | |
tree | c490bb9d9f5be44b72bb6544ef7541fbeebcf863 /unoidl/source/sourceprovider-scanner.l | |
parent | 4ab6aec7062ff752a28e7c7cff0e2836460c00a1 (diff) |
Enforce the UNOIDL identifier scheme
...which reserves identifiers containing underscores and starting with a
lowercase letter for the implementation. That TODO can finally be resolved now
after 04af4e4f55f3ef319a78edd4d0109e2e7eba90b6 "[API CHANGE] Fix all bad UNOIDL
identifiers across offapi".
Change-Id: Id63ba96aa77f8666fbdfa90f7b260af42e6856bf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122362
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'unoidl/source/sourceprovider-scanner.l')
-rw-r--r-- | unoidl/source/sourceprovider-scanner.l | 4 |
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]? | |