summaryrefslogtreecommitdiff
path: root/grc/core/FlowGraph.py
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2017-02-07 22:33:02 +0100
committerSylvain Munaut <tnt@246tNt.com>2017-02-07 22:33:02 +0100
commitfd3ce572962ab5f23f209f01db28ffd8661b0a84 (patch)
tree030bc5a3c19bdacfe2899f6242c2b5e4fc4ccfa0 /grc/core/FlowGraph.py
parenta32010b52bbafd82b4f66ef508457fe1b6f8031f (diff)
grc: Allow to use 'id' type for parameters
Currently the type 'id' can only be used for the actual 'id' field. But it is useful to be able to use it for other things if you want to reference a block from another one. The only part where the current code doesn't work is when doing the evaluation because it uses the type only to check for ID uniqueness. This change uses both the type and the key. If the key is 'id' then it must be unique from all other key 'id'. But if the key is something else, then there must be an existing block to reference. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'grc/core/FlowGraph.py')
0 files changed, 0 insertions, 0 deletions