1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-04 23:05:21 +02:00

stackpole.gen produced only garbage. Fixed it.

- boom/manu/stackpole/stackpole.gen: picked the wrong field for the
  component value
- boom/manu/stackpole/stackpole.gen: trim trailing dot in value
This commit is contained in:
Werner Almesberger 2010-10-16 07:48:18 -03:00
parent 71c15a5844
commit d4d34d7cb0

View File

@ -4,7 +4,7 @@
RMCF* -> T=R {
RMCF(????)(?)(?)([0-9R][0-9RKM][0-9RKM])* ->
FP=$REF:1 _TOL=$REF:2 _R=$REF:3
FP=$REF:1 _TOL=$REF:2 _R=$REF:4
_TOL=F -> TOL=1%
_TOL=J -> TOL=5%
@ -33,5 +33,6 @@ _R=(*.[0-9]*)0([kM]) -> _R=$_R:1$_R:2
_R=(*).0([kM]) -> _R=$_R:1$_R:2
_R=(*.[0-9]*)0 -> _R=$_R:1
_R=(*).0 -> _R=$_R:1
_R=(*).([kM]|) -> _R=$_R:1$_R:2
T=R -> R=${_R}R !