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
a5e2913d
Commit
a5e2913d
authored
Jan 11, 2008
by
dickelbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more specctra dsn work
parent
6c3235c1
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
394 additions
and
52 deletions
+394
-52
dsn.cpp
pcbnew/dsn.cpp
+3
-1
dsn.h
pcbnew/dsn.h
+22
-1
specctra.cpp
pcbnew/specctra.cpp
+369
-50
No files found.
pcbnew/dsn.cpp
View file @
a5e2913d
...
...
@@ -276,8 +276,8 @@ const static KEYWORD tokens[] = {
TOKDEF
(
place
),
TOKDEF
(
place_boundary
),
TOKDEF
(
place_control
),
TOKDEF
(
placement
),
TOKDEF
(
place_rule
),
TOKDEF
(
placement
),
TOKDEF
(
plan
),
TOKDEF
(
plane
),
TOKDEF
(
pn
),
...
...
@@ -342,6 +342,7 @@ const static KEYWORD tokens[] = {
TOKDEF
(
signal
),
TOKDEF
(
site
),
TOKDEF
(
smd
),
TOKDEF
(
snap
),
TOKDEF
(
snap_angle
),
TOKDEF
(
source
),
TOKDEF
(
space_in_quoted_tokens
),
...
...
@@ -419,6 +420,7 @@ const static KEYWORD tokens[] = {
TOKDEF
(
wiring
),
TOKDEF
(
write_resolution
),
TOKDEF
(
x
),
TOKDEF
(
y
),
};
...
...
pcbnew/dsn.h
View file @
a5e2913d
...
...
@@ -276,8 +276,8 @@ enum DSN_T {
T_place
,
T_place_boundary
,
T_place_control
,
T_placement
,
T_place_rule
,
T_placement
,
T_plan
,
T_plane
,
T_pn
,
...
...
@@ -342,6 +342,7 @@ enum DSN_T {
T_signal
,
T_site
,
T_smd
,
T_snap
,
T_snap_angle
,
T_source
,
T_space_in_quoted_tokens
,
...
...
@@ -419,6 +420,7 @@ enum DSN_T {
T_wiring
,
T_write_resolution
,
T_x
,
T_y
,
T_END
// just a sentinel, not a token
};
...
...
@@ -649,6 +651,25 @@ public:
return
curTok
;
}
/**
* Function CurLineNumber
* returns the current line number within my LINE_READER
*/
int
CurLineNumber
()
{
return
reader
.
LineNumber
();
}
/**
* Function CurFilename
* returns the current input filename.
* @return const wxString& - the filename.
*/
const
wxString
&
CurFilename
()
{
return
filename
;
}
/**
* Function PrevTok
* returns whatever NextTok() returned the 2nd to last time it was called.
...
...
pcbnew/specctra.cpp
View file @
a5e2913d
This diff is collapsed.
Click to expand it.
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