summaryrefslogtreecommitdiff
path: root/web/glasgow/lit2x-0.16/literate/lit-2doc-none.lprl
blob: c68e9a368cea017d95e3ebc73d5eedd7f3ac33cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
\section[lit2doc_for_none]{Document-processing code for language \tr{none}}

\begin{code}
# "none" is a really nice language

sub rm_embedded_stuff { # return clean code + entries (\002 separated)
    local($codetxt) = @_;
    
    ($codetxt, '');
}

sub add_code_interests {
    # section and blk to record in ($s == -1: don't update) + the code
    local($s, $b, $in_code) = @_;
    
    ('', ''); # DO NOTHING
}

# this keeps 'do'ing happy
1;
\end{code}