aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2022-11-18 14:02:02 +0000
committerRon Yorston <rmy@pobox.com>2022-11-18 14:02:02 +0000
commitd1b4abe91a139e4a86278f7ec6ed7cd862805b1c (patch)
tree7dcabe8c8b24f1f2978956f39b196d15dd6d5110 /shell
parent13b71ecafba53ebe8e4f88f9af70170b032ba408 (diff)
downloadbusybox-w32-d1b4abe91a139e4a86278f7ec6ed7cd862805b1c.tar.gz
busybox-w32-d1b4abe91a139e4a86278f7ec6ed7cd862805b1c.tar.bz2
busybox-w32-d1b4abe91a139e4a86278f7ec6ed7cd862805b1c.zip
make: add .PRAGMA special target
Add the special target .PRAGMA. This allows certain features of the POSIX standard to be disabled when POSIX mode is being enforced. This is done by setting prerequisites of .PRAGMA, as follows: - macro names containing '-' are permitted with the 'macro_name' prerequisite; - target names containing '-' or '/' are permitted with the 'target_name' prerequisite; - the '#' character isn't treated as the start of a comment in a command line with the 'command_comment' prerequisite; - an empty suffix is permitted in a macro expansion of the form $(VAR:=.c) with the 'empty_suffix' prerequisite. Additionally the 'posix_202x' prerequisite enforces the future POSIX standard instead of the current one. In this case the 'macro_name' and 'target_name' pragmas aren't required as the future standard will allow the additional characters. .PRAGMA without any prerequisites restores the default behaviour.
Diffstat (limited to 'shell')
0 files changed, 0 insertions, 0 deletions