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
0aaf01e9
Commit
0aaf01e9
authored
Jan 01, 2008
by
dickelbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more specctra work
parent
0d3fd5d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
specctra.cpp
pcbnew/specctra.cpp
+10
-2
No files found.
pcbnew/specctra.cpp
View file @
0aaf01e9
...
...
@@ -310,6 +310,9 @@ void SPECCTRA_DB::Load( const wxString& filename ) throw( IOError )
if
(
nextTok
()
!=
T_pcb
)
expecting
(
T_pcb
);
delete
tree
;
tree
=
0
;
tree
=
new
ELEM
(
T_pcb
);
...
...
@@ -332,7 +335,7 @@ void SPECCTRA_DB::doPCB( ELEM* growth ) throw( IOError )
expecting
(
T_STRING
);
}
while
(
(
tok
=
nextTok
())
!=
T_
EOF
)
while
(
(
tok
=
nextTok
())
!=
T_
RIGHT
)
{
if
(
tok
!=
T_LEFT
)
expecting
(
T_LEFT
);
...
...
@@ -361,10 +364,15 @@ void SPECCTRA_DB::doPCB( ELEM* growth ) throw( IOError )
case
T_placement
:
case
T_library
:
break
;
default
:
expecting
(
wxT
(
"parser
, unit, resolution, or structure
"
)
);
expecting
(
wxT
(
"parser
| unit | resolution | structure | placement | library
"
)
);
}
}
tok
=
nextTok
();
if
(
tok
!=
T_EOF
)
expecting
(
T_EOF
);
}
...
...
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