Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
doxverilog
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
doxverilog
Commits
7f30d0af
Commit
7f30d0af
authored
Jan 08, 2014
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add warning when encountering a nested comment start (/*) without matching end (*/).
parent
1bdbbc60
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
commentcnv.l
src/commentcnv.l
+5
-0
No files found.
src/commentcnv.l
View file @
7f30d0af
...
@@ -977,6 +977,11 @@ void convertCppComments(BufStr *inBuf,BufStr *outBuf,const char *fileName)
...
@@ -977,6 +977,11 @@ void convertCppComments(BufStr *inBuf,BufStr *outBuf,const char *fileName)
warn(g_fileName,ctx->lineNr,"Conditional section%sdoes not have "
warn(g_fileName,ctx->lineNr,"Conditional section%sdoes not have "
"a corresponding \\endcond command within this file.",sectionInfo.data());
"a corresponding \\endcond command within this file.",sectionInfo.data());
}
}
if (g_nestingCount>0 || YY_START==CComment)
{
warn(g_fileName,g_lineNr,"Reached end of file while still inside a (nested) comment. "
"Nesting level %d",g_nestingCount+1); // add one for "normal" expected end of comment
}
if (Debug::isFlagSet(Debug::CommentCnv))
if (Debug::isFlagSet(Debug::CommentCnv))
{
{
g_outBuf->at(g_outBuf->curPos())='\0';
g_outBuf->at(g_outBuf->curPos())='\0';
...
...
Write
Preview
Markdown
is supported
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