diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2008-01-28 14:47:53 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2008-01-28 14:47:53 +0000 |
commit | 0557fc880d27bf8006664a436551d702b49b17d4 (patch) | |
tree | b5569cf8b3d1adedceadbc82685985080890e18c /idlc/source/preproc | |
parent | 6dc925d2bed59d29a3c27ffe22f4253f1b61d912 (diff) |
INTEGRATION: CWS jsc20 (1.4.54); FILE MERGED
2008/01/03 10:28:20 jsc 1.4.54.1: #i81521# improve scanner to accept single apostrophes in single line comments
Diffstat (limited to 'idlc/source/preproc')
-rw-r--r-- | idlc/source/preproc/lex.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/idlc/source/preproc/lex.c b/idlc/source/preproc/lex.c index 472da76eb196..9b2ba65293d4 100644 --- a/idlc/source/preproc/lex.c +++ b/idlc/source/preproc/lex.c @@ -4,9 +4,9 @@ * * $RCSfile: lex.c,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: hr $ $Date: 2006-06-20 03:51:23 $ + * last change: $Author: vg $ $Date: 2008-01-28 15:47:53 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -203,7 +203,8 @@ struct fsm /* // comment */ { COM4, {C_XX}, COM4 }, - { COM4, {'\n'}, S_NL }, + { COM4, {'\n'}, S_COMMENT }, + /* { COM4, {'\n'}, S_NL }, */ { COM4, {EOFC}, S_EOFCOM }, /* saw white space, eat it up */ |