summaryrefslogtreecommitdiff
path: root/web/glasgow/lit2x-0.16/literate/lit-2pgm-c.lprl
blob: 6bfb39e8c90fc2b3865fa99f734ad9bec621e913 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
\section[lit2pgm_for_c]{Lit2pgm-only code for language \tr{c}}

\begin{code}
sub mk_line_directive {
    local($filename,$lineno) = @_;

    "# line $lineno \"$filename\"\n";
}

# so we get 'do'ne correctly
1;
\end{code}