From d4d34d7cb013d76ab05e8fffadc24bbb37e4d405 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Sat, 16 Oct 2010 07:48:18 -0300 Subject: [PATCH] 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 --- boom/manu/stackpole/stackpole.gen | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/boom/manu/stackpole/stackpole.gen b/boom/manu/stackpole/stackpole.gen index e1261cc..ff4a35e 100644 --- a/boom/manu/stackpole/stackpole.gen +++ b/boom/manu/stackpole/stackpole.gen @@ -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 !