[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using m4 for c preprocessing
From: |
Paul Jarc |
Subject: |
Re: Using m4 for c preprocessing |
Date: |
Tue, 12 Apr 2005 10:05:25 -0400 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.4 (gnu/linux) |
himanshu.garg@gmail.com (Himanshu Garg) wrote:
> Could you give me an example by which I could use m4 for c
> preprocessing such as that for replacing #include<file.h> by its
> contents.
m4 wouldn't use the same syntax or search path as the C preprocessor,
but it can do file inclusion:
include(`/usr/include/file.h')
See the m4 documentation for more.
paul