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
c1997b97
Commit
c1997b97
authored
Nov 11, 2013
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed redundant backslashes in regexp pattern
parent
23f7c36f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
commentcnv.l
src/commentcnv.l
+7
-7
No files found.
src/commentcnv.l
View file @
c1997b97
...
...
@@ -241,12 +241,12 @@ void replaceComment(int offset);
%%
<Scan>[^"'!\/\n\\#
\\-\\,]*
{ /* eat anything that is not " / , or \n */
copyToOutput(yytext,(int)yyleng);
}
<Scan>[
\\,]
{ /* eat , so we have a nice separator in long initialization lines */
copyToOutput(yytext,(int)yyleng);
}
<Scan>[^"'!\/\n\\#
-,]*
{ /* eat anything that is not " / , or \n */
copyToOutput(yytext,(int)yyleng);
}
<Scan>[
,]
{ /* eat , so we have a nice separator in long initialization lines */
copyToOutput(yytext,(int)yyleng);
}
<Scan>"\"\"\""! { /* start of python long comment */
if (g_lang!=SrcLangExt_Python)
{
...
...
@@ -256,7 +256,7 @@ void replaceComment(int offset);
{
g_pythonDocString = TRUE;
g_nestingCount=0;
copyToOutput(yytext,(int)yyleng);
copyToOutput(yytext,(int)yyleng);
BEGIN(CComment);
}
}
...
...
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