[TUHS] # as first character of file
mascheck+tuhs at in-ulm.de
Thu Jan 5 14:24:03 AEST 2017
On Wed, Jan 04, 2017 at 04:41:06PM +0000, ron minnich wrote:
> I just went looking at the v6 source to confirm a memory, namely that cpp
> was only invoked if a # was the first character in the file. Hence, this:
In v6 cc(1) still does the job itself. Here is where it actually happens, in expand():
> Now I'm curious. Anyone know when that convention ended?
In v7 various files still have # as first character, but the requirement has gone,
# cat x.h
#define macro value
# /lib/cpp x.h
# 1 "x.h"
More information about the TUHS