summaryrefslogtreecommitdiffstats
path: root/src/scanner.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/scanner.l')
-rw-r--r--src/scanner.l6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/scanner.l b/src/scanner.l
index a3d2c76..6d055eb 100644
--- a/src/scanner.l
+++ b/src/scanner.l
@@ -2552,7 +2552,9 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^'\\\n]{1,4}"'"))
if ( *yytext == '{' )
{
if ( !insidePHP && (current_root->section & Entry::COMPOUND_MASK) )
- previous->memSpec = previous->memSpec | Entry::Inline;
+ {
+ previous->memSpec |= Entry::Inline;
+ }
//addToBody(yytext);
curlyCount=0;
BEGIN( SkipCurly ) ;
@@ -2932,7 +2934,7 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^'\\\n]{1,4}"'"))
<Comment>"/*" { current->program += yytext ; }
<Comment>"//" { current->program += yytext ; }
<Comment>[^\n\*]+ { current->program += yytext ; }
-<Comment>.*"*/" { current->program += yytext ;
+<Comment>"*/" { current->program += yytext ;
BEGIN( lastContext ) ;
}
<Comment>. { current->program += *yytext ; }