Commit 979b4eb2 authored by Kunshan Wang's avatar Kunshan Wang

Expicitly restrict get_node to top-level nodes.

Non-top-level nodes are local to function definitions.

p.s. This should be the last commit on GitHub. Migrating to
https://gitlab.anu.edu.au/mu/mu-spec
parent 3e49a150
......@@ -303,9 +303,9 @@ Basic Functions
MuChildNode (*get_node )(MuCtx *ctx, MuBundleNode b, MuID id);
``get_node`` creates a reference to an IR node **already loaded** into the micro
VM. ``id`` is the ID of that node. IR node reference created by this function
can only be used in the bundle ``b``.
``get_node`` creates a reference to a top-level definition node **already
loaded** into the micro VM. ``id`` is the ID of that node. IR node reference
created by this function can only be used in the bundle ``b``.
::
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment