part of shnell – a source to source compiler enhancement tool
© Jens Gustedt, 2019
Use symbols from another module
This is intended to be used with the implicit
directive.
Usage:
#pragma MODULE using LONGNAME NAME0 NAME1 …
This is as if all occurences of NAMEx
are replaced by LONGNAME::NAMEx
.
All names NAME0
, NAME1
etc are forced to be private in this TU and should not be used for another purpose.
Coding and configuration
The following code is needed to enable the sh-module framework.SRC="$_" . "${0%%/${0##*/}}/import.sh"
Imports
The following sh
-modules are imported: