Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
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
kicad-source-mirror
Commits
9a2829f1
Commit
9a2829f1
authored
Jan 06, 2008
by
dickelbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
support comments in dsn files
parent
a3510713
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
5 deletions
+15
-5
dsn.cpp
pcbnew/dsn.cpp
+15
-5
No files found.
pcbnew/dsn.cpp
View file @
9a2829f1
...
...
@@ -601,12 +601,22 @@ L_read:
goto
exit
;
}
cur
=
next
;
cur
=
start
;
// skip leading whitespace
while
(
cur
<
limit
&&
isspace
(
*
cur
)
)
++
cur
;
// if the first non-blank character is #, this line is a comment.
if
(
cur
<
limit
&&
*
cur
==
'#'
)
goto
L_read
;
}
else
{
// skip leading whitespace
while
(
cur
<
limit
&&
isspace
(
*
cur
)
)
++
cur
;
}
// skip leading whitespace
while
(
cur
<
limit
&&
isspace
(
*
cur
)
)
++
cur
;
if
(
cur
>=
limit
)
goto
L_read
;
...
...
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