summaryrefslogtreecommitdiffstats
path: root/src/pre.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>1999-12-15 19:26:45 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>1999-12-15 19:26:45 (GMT)
commite04496cb647291b94c0b27b8babb127a79803579 (patch)
treebec2e27efcff1ecb747c25b00bb9fea1e068d151 /src/pre.l
parent322885a8700a209812bf5a94205260c9bef6ac1f (diff)
downloadDoxygen-e04496cb647291b94c0b27b8babb127a79803579.zip
Doxygen-e04496cb647291b94c0b27b8babb127a79803579.tar.gz
Doxygen-e04496cb647291b94c0b27b8babb127a79803579.tar.bz2
mods for doxygen-0.49-990522
Diffstat (limited to 'src/pre.l')
-rw-r--r--src/pre.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pre.l b/src/pre.l
index 92f7553..bc74cf1 100644
--- a/src/pre.l
+++ b/src/pre.l
@@ -1160,11 +1160,11 @@ BN [ \t\r\n]
<SkipCommand>.
<SkipLine>[^/\n]+
<SkipLine>.
-<SkipLine>"//" {
+<SkipLine,SkipCommand,SkipCPPBlock>"//" {
lastCPPContext=YY_START;
BEGIN(RemoveCPPComment);
}
-<SkipLine>"/*" {
+<SkipLine,SkipCommand,SkipCPPBlock>"/*" {
lastCContext=YY_START;
BEGIN(RemoveCComment);
}