blob: c333056fe3f26a71803fcaeb5d7f9528eaed7692 (
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
|
<# input: ii with attributes (file,name,isImport,isLocal), compound with attribute language #>
<% spaceless %>
<% if ii.file or ii.name %>
{\ttfamily<{ space }>
<% if compound.language=='java' or compound.language=='idl' %>
import
<% else %>
<% if ii.isImport %>
\#import
<% else %>
\#include
<% endif %>
<% endif %>
<{ space }>
<% if ii.isLocal %>
\char`\"{}
<% else %>
$<$
<% endif %>
<% if ii.name %>
<{ ii.name }>
<% else %>
<{ ii.file.name }>
<% endif %>
<% if ii.isLocal %>
\char`\"{}
<% else %>
$>$
<% endif %>
}
<% endif %>
<% endspaceless %>
|