mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2025-04-21 12:27:27 +03:00
b2/: meta-variable $ for "previously matched variable"
We need this for iterative processing of FN.
This commit is contained in:
1 parent
2946b830f1
commit
3d2eca34ff
7 files changed
+52
-17
No files matched your search
@@ -1,5 +1,7 @@
|
||||
FN=DNP { ignore }
|
||||
|
||||
FN=X(*) { $=$1 }
|
||||
|
||||
REF=R[0-9]* {
|
||||
T=R
|
||||
VAL=(#R) { R=$1 }
|
||||
@@ -23,8 +25,9 @@ variable:
|
||||
$foo, ...
|
||||
with curly braces:
|
||||
${foo}, ...
|
||||
input variable:
|
||||
input variable (in pattern):
|
||||
$$
|
||||
the input variable ($) can also be used as LHS for matches and assignments
|
||||
|
||||
Caveat:
|
||||
|
||||
|
||||
Reference in new issue
Block a user