summaryrefslogtreecommitdiff
path: root/web/funnelAC/fwACsrc/autoccln.fwi
blob: 6532d052893ca626f8894a4af5a31597036ff915 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
@! FUNNNELWEB COPYRIGHT
@! ====================
@! FunnelWeb is a literate-programming macro preprocessor.
@!
@! Copyright (C) 1992 Ross N. Williams.
@!
@!    Ross N. Williams
@!    ross@spam.adelaide.edu.au
@!    16 Lerwick Avenue, Hazelwood Park 5066, Australia.
@!
@! This program is free software; you can redistribute it and/or modify
@! it under the terms of Version 2 of the GNU General Public License as
@! published by the Free Software Foundation.
@!
@! This program is distributed WITHOUT ANY WARRANTY; without even the implied
@! warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
@! See Version 2 of the GNU General Public License for more details.
@!
@! You should have received a copy of Version 2 of the GNU General Public
@! License along with this program. If not, you can FTP the license from
@! prep.ai.mit.edu/pub/gnu/COPYING-2 or write to the Free Software
@! Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
@!
@! Section 2a of the license requires that all changes to this file be
@! recorded prominently in this file. Please record all changes here.
@!
@! Programmers:
@!    ABC  Anthony B. Coates coates@physics.uq.edu.au

@! Defines a macro "@<line@>" for automatically inserting #line
@! pragmas into C and C++ code when using the
@! `@p auto_line_directive_macro = line' pragma.

@! The #line_offset pragma needs to be set to 0 for C/C++.
@p #line_offset = 0

@! The #line_depth pragma needs to be set to 1 to
@! work in the manner described above.
@p #line_depth = 1

@! After all that, here is the definition itself.

@$@<line@>==@{#line @<#line@> "@<#file@>"@}

@! End of autoccln.fwi