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
4df52916
Commit
4df52916
authored
Sep 26, 2014
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed problem finding \enduml when using /// style comments.
parent
2b6d6bf5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
commentcnv.l
src/commentcnv.l
+9
-2
No files found.
src/commentcnv.l
View file @
4df52916
...
@@ -450,7 +450,14 @@ void replaceComment(int offset);
...
@@ -450,7 +450,14 @@ void replaceComment(int offset);
copyToOutput(yytext,(int)yyleng);
copyToOutput(yytext,(int)yyleng);
g_lastCommentContext = YY_START;
g_lastCommentContext = YY_START;
g_javaBlock=0;
g_javaBlock=0;
g_blockName=&yytext[1];
if (qstrcmp(&yytext[1],"startuml")==0)
{
g_blockName="uml";
}
else
{
g_blockName=&yytext[1];
}
BEGIN(VerbatimCode);
BEGIN(VerbatimCode);
}
}
<CComment,ReadLine>[\\@]("f$"|"f["|"f{"[a-z]*) {
<CComment,ReadLine>[\\@]("f$"|"f["|"f{"[a-z]*) {
...
@@ -554,7 +561,7 @@ void replaceComment(int offset);
...
@@ -554,7 +561,7 @@ void replaceComment(int offset);
copyToOutput(yytext,(int)yyleng);
copyToOutput(yytext,(int)yyleng);
}
}
<Verbatim>^[ \t]*"///" {
<Verbatim>^[ \t]*"///" {
if (g_blockName=="dot" || g_blockName=="msc" || g_blockName=="
start
uml" || g_blockName.at(0)=='f')
if (g_blockName=="dot" || g_blockName=="msc" || g_blockName=="uml" || g_blockName.at(0)=='f')
{
{
// see bug 487871, strip /// from dot images and formulas.
// see bug 487871, strip /// from dot images and formulas.
int l=0;
int l=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