source: tol/tolsh/tolsh.vfs/lib/tcllib1.10/doctools/api_toc.tcl @ 8597867d

1941-docker-image-to-testdevel
Last change on this file since 8597867d was 8597867d, checked in by Jorge Pérez <josp.jorge@…>, 16 years ago

closes #976, se incluye tcllib1.10, base64 debe eliminarse del raiz de lib ya que esta incluido en tcllib

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@2556 be4846ae-f051-483a-831f-b64e7d08527f

  • Property mode set to 100644
File size: 994 bytes
Line 
1# -*- tcl -*-
2# api_toc.tcl -- API placeholders
3#
4# Copyright (c) 2003 Andreas Kupries <andreas_kupries@sourceforge.net>
5
6################################################################
7# This file defines all commands expected from a doctoc formatter by the
8# doctools library. It is loaded into the formatter interpreter before
9# the code for a particular doctoc format is loaded. All commands defined
10# here return an error. This ensures the generation of errors if a
11# format forgets to define commands in the API.
12
13################################################################
14# Here it comes
15
16foreach __cmd {
17    toc_initialize toc_shutdown toc_setup toc_numpasses
18    toc_listvariables toc_varset
19    fmt_toc_begin fmt_toc_end fmt_division_start fmt_division_end
20    fmt_item fmt_comment fmt_plain_text
21} {
22    proc $__cmd {args} [list return  "return -code error \"Unimplemented API command $__cmd\""]
23}
24unset __cmd
25
26################################################################
Note: See TracBrowser for help on using the repository browser.