summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-01-28 14:47:53 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-01-28 14:47:53 +0000
commit0557fc880d27bf8006664a436551d702b49b17d4 (patch)
treeb5569cf8b3d1adedceadbc82685985080890e18c
parentINTEGRATION: CWS jsc20 (1.7.12); FILE MERGED (diff)
downloadcore-0557fc880d27bf8006664a436551d702b49b17d4.tar.gz
core-0557fc880d27bf8006664a436551d702b49b17d4.zip
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
-rw-r--r--idlc/source/preproc/lex.c7
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 */