plan9fox/sys
Ori Bernstein 37b86df09f Improve the posix preprocessor.
This fixes token pasting, making it expand when
it should expand, and paste before expansion when
it should paste before expanding.

	#define CAT(a, b) a ## b
	#define BAR	3
	#define FOO	CAT(BAR, 3)
	FOO

now produces 33, while

	#define CAT(a, b) a ## b
	#define EOF	(-1)
	#define NOP(x)	x
	NOP(CAT(foo, EOF))
	CAT(,EOF)
	CAT(,)

produces

	fooEOF
	(-1)
	<empty>

respectively.
2020-03-17 22:03:25 -07:00
..
doc /sys/doc: fix mkfile to and remove files that now can be regenerated 2017-05-09 16:23:48 +02:00
games/lib add games/linden and games/turtle 2019-11-03 13:49:23 +00:00
include lib9p: implement automatic remove-on-close cleanup in postsharesrv(), remove postfd() and sharefd() functions 2020-03-08 22:00:23 +01:00
lib include section 9 in manpage plumb rules. 2020-02-26 20:52:20 -08:00
man improve usage messages (thanks henesy) 2020-03-10 10:09:34 -07:00
src Improve the posix preprocessor. 2020-03-17 22:03:25 -07:00