diff options
author | jan Iversen <jani@documentfoundation.org> | 2016-05-03 09:36:22 +0000 |
---|---|---|
committer | jan Iversen <jani@documentfoundation.org> | 2016-05-03 11:27:54 +0000 |
commit | fc5755c062e7116529eb865e51fdaf1d747d1e68 (patch) | |
tree | 85c87c57bb4e8460396c26434edd1aba07d63611 /l10ntools/source | |
parent | 39d719a80d8c87856c84e3ecd569d45fa6f8a30e (diff) |
genlang .src single line macro
Macros do not always end with \\ only those for translation
added #define exception to the lex layer.
Change-Id: I656bb8776d970288c243302cdc74a0afd975975e
Diffstat (limited to 'l10ntools/source')
-rw-r--r-- | l10ntools/source/gLexSrc.l | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/l10ntools/source/gLexSrc.l b/l10ntools/source/gLexSrc.l index 3c9b2adf76a2..a4bf5a7a73bf 100644 --- a/l10ntools/source/gLexSrc.l +++ b/l10ntools/source/gLexSrc.l @@ -210,8 +210,9 @@ f -"#include".* | -. { +"#define".*[^\\][\r]*\n | | +"#include".* | +. { LOCptr->copySource(yytext); // Just to please compiler. |