local

local

part of shnell – a source to source compiler enhancement tool

© Jens Gustedt, 2019

Make a set of identifiers locally unique

Usage:

#pragma CMOD amend local NAME0 ...

Replaces the the indentifiers NAMEx by a unique identifier, each. This is to prevent that some auxiliarry variable names clash because multiple copies of the same code is used.

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:

Details