Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
f96d8ff9
Commit
f96d8ff9
authored
Mar 02, 2009
by
Roberto Raggi
Browse files
Fixed: Parsing of /**/ tokens.
parent
ed69c399
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/shared/cplusplus/Lexer.cpp
View file @
f96d8ff9
...
...
@@ -428,8 +428,13 @@ void Lexer::scan_helper(Token *tok)
bool
doxy
=
false
;
if
(
_yychar
==
'*'
||
_yychar
==
'!'
)
{
const
char
ch
=
_yychar
;
yyinp
();
if
(
ch
==
'*'
&&
_yychar
==
'/'
)
goto
_Ldone
;
if
(
!
_yychar
||
std
::
isspace
(
_yychar
))
doxy
=
true
;
}
...
...
@@ -444,6 +449,7 @@ void Lexer::scan_helper(Token *tok)
}
}
_Ldone:
if
(
_yychar
)
yyinp
();
else
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment