Browse Source
++all:
++all:
* TokenList2DsnLexer.cmake now supports comments, which start with a leading # character, and may be either on their own line or on a line after a token. * DSNLEXER::PopReader() now pops even the last LINE_READER* and returns it. ++pcbnew: * SPECCTRA_DB now inherits from new class SPECCTRA_LEXER, which led to a great deal of simplification and code factoring. * Moved specctra keywords into specctra.keywords.pull/1/head
10 changed files with 1293 additions and 1795 deletions
-
2.bzrignore
-
11CHANGELOG.txt
-
57CMakeModules/TokenList2DsnLexer.cmake
-
48common/dsnlexer.cpp
-
4eeschema/template_fieldnames.cpp
-
37include/dsnlexer.h
-
11pcbnew/CMakeLists.txt
-
1976pcbnew/specctra.cpp
-
550pcbnew/specctra.h
-
392pcbnew/specctra.keywords
1976
pcbnew/specctra.cpp
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,392 @@ |
|||
|
|||
# Copyright (C) 2007-2011 SoftPLC Corporation, Dick Hollenbeck <dick@softplc.com> |
|||
# These are keywords for the Specctra DSN (s-expression) lexer and parser. |
|||
|
|||
absolute |
|||
added |
|||
add_group |
|||
add_pins |
|||
allow_antenna |
|||
allow_redundant_wiring |
|||
amp |
|||
ancestor |
|||
antipad |
|||
aperture_type |
|||
array |
|||
attach |
|||
attr |
|||
average_pair_length |
|||
back |
|||
base_design |
|||
bbv_ctr2ctr |
|||
bend_keepout |
|||
bond |
|||
both |
|||
bottom |
|||
bottom_layer_sel |
|||
boundary |
|||
brickpat |
|||
bundle |
|||
bus |
|||
bypass |
|||
capacitance_resolution |
|||
capacitor |
|||
case_sensitive |
|||
cct1 |
|||
cct1a |
|||
center_center |
|||
checking_trim_by_pin |
|||
circ |
|||
circle |
|||
circuit |
|||
class |
|||
class_class |
|||
classes |
|||
clear |
|||
clearance |
|||
cluster |
|||
cm |
|||
color |
|||
colors |
|||
comment |
|||
comp |
|||
comp_edge_center |
|||
comp_order |
|||
component |
|||
composite |
|||
conductance_resolution |
|||
conductor |
|||
conflict |
|||
connect |
|||
constant |
|||
contact |
|||
control |
|||
corner |
|||
corners |
|||
cost |
|||
created_time |
|||
cross |
|||
crosstalk_model |
|||
current_resolution |
|||
delete_pins |
|||
deleted |
|||
deleted_keepout |
|||
delta |
|||
diagonal |
|||
direction |
|||
directory |
|||
discrete |
|||
effective_via_length |
|||
elongate_keepout |
|||
exclude |
|||
expose |
|||
extra_image_directory |
|||
family |
|||
family_family |
|||
family_family_spacing |
|||
fanout |
|||
farad |
|||
file |
|||
fit |
|||
fix |
|||
flip_style |
|||
floor_plan |
|||
footprint |
|||
forbidden |
|||
force_to_terminal_point |
|||
forgotten |
|||
free |
|||
fromto |
|||
front |
|||
front_only |
|||
gap |
|||
gate |
|||
gates |
|||
generated_by_freeroute |
|||
global |
|||
grid |
|||
group |
|||
group_set |
|||
guide |
|||
hard |
|||
height |
|||
high |
|||
history |
|||
horizontal |
|||
host_cad |
|||
host_version |
|||
image |
|||
image_conductor |
|||
image_image |
|||
image_image_spacing |
|||
image_outline_clearance |
|||
image_set |
|||
image_type |
|||
inch |
|||
include |
|||
include_pins_in_crosstalk |
|||
inductance_resolution |
|||
insert |
|||
instcnfg |
|||
inter_layer_clearance |
|||
jumper |
|||
junction_type |
|||
keepout |
|||
kg |
|||
kohm |
|||
large |
|||
large_large |
|||
layer |
|||
layer_depth |
|||
layer_noise_weight |
|||
layer_pair |
|||
layer_rule |
|||
length |
|||
length_amplitude |
|||
length_factor |
|||
length_gap |
|||
library |
|||
library_out |
|||
limit |
|||
limit_bends |
|||
limit_crossing |
|||
limit_vias |
|||
limit_way |
|||
linear |
|||
linear_interpolation |
|||
load |
|||
lock_type |
|||
logical_part |
|||
logical_part_mapping |
|||
low |
|||
match_fromto_delay |
|||
match_fromto_length |
|||
match_group_delay |
|||
match_group_length |
|||
match_net_delay |
|||
match_net_length |
|||
max_delay |
|||
max_len |
|||
max_length |
|||
max_noise |
|||
max_restricted_layer_length |
|||
max_stagger |
|||
max_stub |
|||
max_total_delay |
|||
max_total_length |
|||
max_total_vias |
|||
medium |
|||
mhenry |
|||
mho |
|||
microvia |
|||
mid_driven |
|||
mil |
|||
min_gap |
|||
mirror |
|||
mirror_first |
|||
mixed |
|||
mm |
|||
negative_diagonal |
|||
net |
|||
net_number |
|||
net_out |
|||
net_pin_changes |
|||
nets |
|||
network |
|||
network_out |
|||
no |
|||
noexpose |
|||
noise_accumulation |
|||
noise_calculation |
|||
normal |
|||
object_type |
|||
off |
|||
off_grid |
|||
offset |
|||
on |
|||
open |
|||
opposite_side |
|||
order |
|||
orthogonal |
|||
outline |
|||
overlap |
|||
pad |
|||
pad_pad |
|||
padstack |
|||
pair |
|||
parallel |
|||
parallel_noise |
|||
parallel_segment |
|||
parser |
|||
part_library |
|||
path |
|||
pcb |
|||
permit_orient |
|||
permit_side |
|||
physical |
|||
physical_part_mapping |
|||
piggyback |
|||
pin |
|||
pin_allow |
|||
pin_cap_via |
|||
pin_via_cap |
|||
pin_width_taper |
|||
pins |
|||
pintype |
|||
place |
|||
place_boundary |
|||
place_control |
|||
place_keepout |
|||
place_rule |
|||
placement |
|||
plan |
|||
plane |
|||
pn |
|||
point |
|||
polyline_path |
|||
polygon |
|||
position |
|||
positive_diagonal |
|||
power |
|||
power_dissipation |
|||
power_fanout |
|||
prefix |
|||
primary |
|||
priority |
|||
property |
|||
protect |
|||
qarc |
|||
quarter |
|||
radius |
|||
ratio |
|||
ratio_tolerance |
|||
rect |
|||
reduced |
|||
region |
|||
region_class |
|||
region_class_class |
|||
region_net |
|||
relative_delay |
|||
relative_group_delay |
|||
relative_group_length |
|||
relative_length |
|||
reorder |
|||
reroute_order_viols |
|||
resistance_resolution |
|||
resistor |
|||
resolution |
|||
restricted_layer_length_factor |
|||
room |
|||
rotate |
|||
rotate_first |
|||
round |
|||
roundoff_rotation |
|||
route |
|||
route_to_fanout_only |
|||
routes |
|||
routes_include |
|||
rule |
|||
same_net_checking |
|||
sample_window |
|||
saturation_length |
|||
sec |
|||
secondary |
|||
self |
|||
sequence_number |
|||
session |
|||
set_color |
|||
set_pattern |
|||
shape |
|||
shield |
|||
shield_gap |
|||
shield_loop |
|||
shield_tie_down_interval |
|||
shield_width |
|||
side |
|||
signal |
|||
site |
|||
small |
|||
smd |
|||
snap |
|||
snap_angle |
|||
soft |
|||
source |
|||
space_in_quoted_tokens |
|||
spacing |
|||
spare |
|||
spiral_via |
|||
square |
|||
stack_via |
|||
stack_via_depth |
|||
standard |
|||
starburst |
|||
status |
|||
structure |
|||
structure_out |
|||
subgate |
|||
subgates |
|||
substituted |
|||
such |
|||
suffix |
|||
super_placement |
|||
supply |
|||
supply_pin |
|||
swapping |
|||
switch_window |
|||
system |
|||
tandem_noise |
|||
tandem_segment |
|||
tandem_shield_overhang |
|||
terminal |
|||
terminator |
|||
term_only |
|||
test |
|||
test_points |
|||
testpoint |
|||
threshold |
|||
time_length_factor |
|||
time_resolution |
|||
tjunction |
|||
tolerance |
|||
top |
|||
topology |
|||
total |
|||
track_id |
|||
turret |
|||
type |
|||
um |
|||
unassigned |
|||
unconnects |
|||
unit |
|||
up |
|||
use_array |
|||
use_layer |
|||
use_net |
|||
use_via |
|||
value |
|||
vertical |
|||
via |
|||
via_array_template |
|||
via_at_smd |
|||
via_keepout |
|||
via_number |
|||
via_rotate_first |
|||
via_site |
|||
via_size |
|||
virtual_pin |
|||
volt |
|||
voltage_resolution |
|||
was_is |
|||
way |
|||
weight |
|||
width |
|||
window |
|||
wire |
|||
wire_keepout |
|||
wires |
|||
wires_include |
|||
wiring |
|||
write_resolution |
|||
x # test cmake script with indent and comment |
|||
xy |
|||
y |
Write
Preview
Loading…
Cancel
Save
Reference in new issue