more specctra dsn work
This commit is contained in:
parent
c72857f415
commit
592ab30c0b
|
@ -71,6 +71,7 @@ const static KEYWORD tokens[] = {
|
||||||
TOKDEF(attach),
|
TOKDEF(attach),
|
||||||
TOKDEF(attr),
|
TOKDEF(attr),
|
||||||
TOKDEF(average_pair_length),
|
TOKDEF(average_pair_length),
|
||||||
|
TOKDEF(back),
|
||||||
TOKDEF(base_design),
|
TOKDEF(base_design),
|
||||||
TOKDEF(bbv_ctr2ctr),
|
TOKDEF(bbv_ctr2ctr),
|
||||||
TOKDEF(bond),
|
TOKDEF(bond),
|
||||||
|
@ -102,8 +103,8 @@ const static KEYWORD tokens[] = {
|
||||||
TOKDEF(comment),
|
TOKDEF(comment),
|
||||||
TOKDEF(comp),
|
TOKDEF(comp),
|
||||||
TOKDEF(comp_edge_center),
|
TOKDEF(comp_edge_center),
|
||||||
TOKDEF(component),
|
|
||||||
TOKDEF(comp_order),
|
TOKDEF(comp_order),
|
||||||
|
TOKDEF(component),
|
||||||
TOKDEF(composite),
|
TOKDEF(composite),
|
||||||
TOKDEF(conductance_resolution),
|
TOKDEF(conductance_resolution),
|
||||||
TOKDEF(conductor),
|
TOKDEF(conductor),
|
||||||
|
@ -119,8 +120,9 @@ const static KEYWORD tokens[] = {
|
||||||
TOKDEF(cross),
|
TOKDEF(cross),
|
||||||
TOKDEF(crosstalk_model),
|
TOKDEF(crosstalk_model),
|
||||||
TOKDEF(current_resolution),
|
TOKDEF(current_resolution),
|
||||||
TOKDEF(deleted_keepout),
|
|
||||||
TOKDEF(delete_pins),
|
TOKDEF(delete_pins),
|
||||||
|
TOKDEF(deleted),
|
||||||
|
TOKDEF(deleted_keepout),
|
||||||
TOKDEF(delta),
|
TOKDEF(delta),
|
||||||
TOKDEF(diagonal),
|
TOKDEF(diagonal),
|
||||||
TOKDEF(direction),
|
TOKDEF(direction),
|
||||||
|
@ -148,6 +150,7 @@ const static KEYWORD tokens[] = {
|
||||||
TOKDEF(front),
|
TOKDEF(front),
|
||||||
TOKDEF(front_only),
|
TOKDEF(front_only),
|
||||||
TOKDEF(gap),
|
TOKDEF(gap),
|
||||||
|
TOKDEF(gate),
|
||||||
TOKDEF(gates),
|
TOKDEF(gates),
|
||||||
TOKDEF(global),
|
TOKDEF(global),
|
||||||
TOKDEF(grid),
|
TOKDEF(grid),
|
||||||
|
@ -364,7 +367,9 @@ const static KEYWORD tokens[] = {
|
||||||
TOKDEF(string_quote),
|
TOKDEF(string_quote),
|
||||||
TOKDEF(structure),
|
TOKDEF(structure),
|
||||||
TOKDEF(structure_out),
|
TOKDEF(structure_out),
|
||||||
|
TOKDEF(subgate),
|
||||||
TOKDEF(subgates),
|
TOKDEF(subgates),
|
||||||
|
TOKDEF(substituted),
|
||||||
TOKDEF(such),
|
TOKDEF(such),
|
||||||
TOKDEF(suffix),
|
TOKDEF(suffix),
|
||||||
TOKDEF(super_placement),
|
TOKDEF(super_placement),
|
||||||
|
@ -535,29 +540,32 @@ const char* LEXER::GetTokenText( DSN_T aTok )
|
||||||
{
|
{
|
||||||
switch( aTok )
|
switch( aTok )
|
||||||
{
|
{
|
||||||
|
case T_NONE:
|
||||||
|
ret = "NONE";
|
||||||
|
break;
|
||||||
case T_QUOTE_DEF:
|
case T_QUOTE_DEF:
|
||||||
ret = "'quoted text delimiter'";
|
ret = "quoted text delimiter";
|
||||||
break;
|
break;
|
||||||
case T_DASH:
|
case T_DASH:
|
||||||
ret = "'-'";
|
ret = "-";
|
||||||
break;
|
break;
|
||||||
case T_SYMBOL:
|
case T_SYMBOL:
|
||||||
ret = "'symbol'";
|
ret = "symbol";
|
||||||
break;
|
break;
|
||||||
case T_NUMBER:
|
case T_NUMBER:
|
||||||
ret = "'number'";
|
ret = "number";
|
||||||
break;
|
break;
|
||||||
case T_RIGHT:
|
case T_RIGHT:
|
||||||
ret = "')'";
|
ret = ")";
|
||||||
break;
|
break;
|
||||||
case T_LEFT:
|
case T_LEFT:
|
||||||
ret = "'('";
|
ret = "(";
|
||||||
break;
|
break;
|
||||||
case T_STRING:
|
case T_STRING:
|
||||||
ret = "'quoted string'";
|
ret = "quoted string";
|
||||||
break;
|
break;
|
||||||
case T_EOF:
|
case T_EOF:
|
||||||
ret = "'end of file'";
|
ret = "end of file";
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
ret = "???";
|
ret = "???";
|
||||||
|
|
|
@ -70,6 +70,7 @@ enum DSN_T {
|
||||||
T_attach,
|
T_attach,
|
||||||
T_attr,
|
T_attr,
|
||||||
T_average_pair_length,
|
T_average_pair_length,
|
||||||
|
T_back,
|
||||||
T_base_design,
|
T_base_design,
|
||||||
T_bbv_ctr2ctr,
|
T_bbv_ctr2ctr,
|
||||||
T_bond,
|
T_bond,
|
||||||
|
@ -101,8 +102,8 @@ enum DSN_T {
|
||||||
T_comment,
|
T_comment,
|
||||||
T_comp,
|
T_comp,
|
||||||
T_comp_edge_center,
|
T_comp_edge_center,
|
||||||
T_component,
|
|
||||||
T_comp_order,
|
T_comp_order,
|
||||||
|
T_component,
|
||||||
T_composite,
|
T_composite,
|
||||||
T_conductance_resolution,
|
T_conductance_resolution,
|
||||||
T_conductor,
|
T_conductor,
|
||||||
|
@ -118,8 +119,9 @@ enum DSN_T {
|
||||||
T_cross,
|
T_cross,
|
||||||
T_crosstalk_model,
|
T_crosstalk_model,
|
||||||
T_current_resolution,
|
T_current_resolution,
|
||||||
T_deleted_keepout,
|
|
||||||
T_delete_pins,
|
T_delete_pins,
|
||||||
|
T_deleted,
|
||||||
|
T_deleted_keepout,
|
||||||
T_delta,
|
T_delta,
|
||||||
T_diagonal,
|
T_diagonal,
|
||||||
T_direction,
|
T_direction,
|
||||||
|
@ -147,6 +149,7 @@ enum DSN_T {
|
||||||
T_front,
|
T_front,
|
||||||
T_front_only,
|
T_front_only,
|
||||||
T_gap,
|
T_gap,
|
||||||
|
T_gate,
|
||||||
T_gates,
|
T_gates,
|
||||||
T_global,
|
T_global,
|
||||||
T_grid,
|
T_grid,
|
||||||
|
@ -363,7 +366,9 @@ enum DSN_T {
|
||||||
T_string_quote,
|
T_string_quote,
|
||||||
T_structure,
|
T_structure,
|
||||||
T_structure_out,
|
T_structure_out,
|
||||||
|
T_subgate,
|
||||||
T_subgates,
|
T_subgates,
|
||||||
|
T_substituted,
|
||||||
T_such,
|
T_such,
|
||||||
T_suffix,
|
T_suffix,
|
||||||
T_super_placement,
|
T_super_placement,
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue