define

define

part of shnell – a source to source compiler enhancement tool

© Jens Gustedt, 2020

A directive to put all depending code into a macro definition on a logical line, joined by terminating backslashes

Usage:

#pragma CMOD amend define NAME [PARAM1, [, PARAM2 ... ] ]

With this you may place the body of a macro definiton inside a source file and delay its usage by the processor to later compilation phases.

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