mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-29 20:53:55 +02:00
26 lines
287 B
Plaintext
26 lines
287 B
Plaintext
|
REF=R[0-9]* {
|
||
|
T=R
|
||
|
VAL=.* { R=$$#R }
|
||
|
TOL = 5%
|
||
|
FN=.*% { TOL=${$#%} }
|
||
|
break REF
|
||
|
// end break again
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
pattern: () * ? .
|
||
|
subst: $1 ... $field
|
||
|
|
||
|
substring:
|
||
|
$1, $2, ...
|
||
|
variable:
|
||
|
$foo, ...
|
||
|
with curly braces:
|
||
|
${foo}, ...
|
||
|
unit conversion:
|
||
|
$foo#V
|
||
|
${1#R}
|
||
|
input variable:
|
||
|
$$
|
||
|
*/
|