diff options
author | davygrvy <davygrvy@noemail.net> | 2002-05-08 12:20:15 (GMT) |
---|---|---|
committer | davygrvy <davygrvy@noemail.net> | 2002-05-08 12:20:15 (GMT) |
commit | 339627746f11be27a9618d4135c3da36e2198457 (patch) | |
tree | 35d6e1defa5ea1bde260901e505309f4c4eae69d /tools/man2tcl.c | |
parent | b24db9f3f66a0faf12a8e7912bcaec9cc0d977e2 (diff) | |
download | tcl-339627746f11be27a9618d4135c3da36e2198457.zip tcl-339627746f11be27a9618d4135c3da36e2198457.tar.gz tcl-339627746f11be27a9618d4135c3da36e2198457.tar.bz2 |
Proper source of macro error misunderstanding ' as the leading macro
command found and repaired.
FossilOrigin-Name: aba5aa2aee244c16a0f3642abf3340326cc119ef
Diffstat (limited to 'tools/man2tcl.c')
-rw-r--r-- | tools/man2tcl.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/tools/man2tcl.c b/tools/man2tcl.c index cbafb8e..4a56ff8 100644 --- a/tools/man2tcl.c +++ b/tools/man2tcl.c @@ -16,7 +16,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: man2tcl.c,v 1.5 2002/05/08 04:22:29 davygrvy Exp $ + * RCS: @(#) $Id: man2tcl.c,v 1.6 2002/05/08 12:20:15 davygrvy Exp $ */ static char sccsid[] = "@(#) man2tcl.c 1.3 95/08/12 17:34:08"; @@ -142,7 +142,7 @@ main(argc, argv) exit(1); } - if ((line[0] == '.') || (line[0] == '\'')) { + if (line[0] == '.') { /* * This line is a macro invocation. */ @@ -201,11 +201,6 @@ DoMacro(line) if (writeOutput) { printf("macro"); } - if (*line != '.') { - if (writeOutput) { - printf("2"); - } - } /* * Parse the arguments to the macro (including the name), in order. |