forked from OSchip/iEDA
fix: IHP version id
This commit is contained in:
parent
fcce386f32
commit
dbdc37803e
|
|
@ -29,8 +29,9 @@ expr_token = ${ float ~ string? | string }
|
|||
simple_attribute_value = _{ expr_operator? ~ expr_token ~ (expr_operator ~ expr_operator? ~ expr_token)* }
|
||||
|
||||
id = { lib_id ~ bus_index? ~ (bus_index | bus_slice)? }
|
||||
version_id = { decimal_digits* ~ "." ~ decimal_digits+ ~ ("." ~ decimal_digits+)* }
|
||||
|
||||
string = _{ id | multiline_string }
|
||||
string = _{ id | multiline_string | version_id }
|
||||
|
||||
attribute_value = _{ float | string }
|
||||
attribute_values = _{ attribute_value? ~ (("," | WHITESPACE) ~ attribute_value)* }
|
||||
|
|
|
|||
|
|
@ -294,6 +294,7 @@ fn process_pair(
|
|||
Rule::string_text => process_string_text(pair),
|
||||
Rule::expr_operator => process_string(pair),
|
||||
Rule::id => process_string(pair),
|
||||
Rule::version_id => process_string(pair),
|
||||
Rule::multiline_string => process_multiline_string(&mut substitute_queue),
|
||||
Rule::expr_token => process_expr_token(pair, &mut substitute_queue),
|
||||
Rule::simple_attribute => process_simple_attribute(pair, lib_file_path, &mut substitute_queue),
|
||||
|
|
|
|||
Loading…
Reference in New Issue