[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Suggestion for another warning
From: |
Karl Berry |
Subject: |
Re: Suggestion for another warning |
Date: |
Sat, 23 Sep 2000 11:27:48 -0400 |
What I'm suggesting is that makeinfo could warn about the presence of
a parens in the name being defined.
I implemented this as follows. Thanks Akim.
*** defun.c 2000/09/12 18:48:39 1.13
--- defun.c 2000/09/22 18:50:36 1.14
***************
*** 422,427 ****
--- 422,435 ----
defined_name = tem;
}
+ /* It's easy to write @defun foo(arg1 arg2), but this is misparsed by
+ texinfo.tex. Warn about it. */
+ if (*scan_args && **scan_args && !whitespace (**scan_args))
+ {
+ warning ("`%c' follows defined name `%s' instead of whitespace",
+ **scan_args, defined_name);
+ }
+
if (!x_p)
begin_insertion (type);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Suggestion for another warning,
Karl Berry <=