# HG changeset patch # User Alan Mackenzie # Date 1201453423 0 # Node ID 86c372c5a95b16f7653d57e6742ea3c38bec82cf # Parent 9a5741ed69745494f1e78904125f2d563c1a50fc Correct typos, enhance comments. diff -r 9a5741ed6974 -r 86c372c5a95b lisp/progmodes/cc-awk.el --- a/lisp/progmodes/cc-awk.el Sun Jan 27 17:01:10 2008 +0000 +++ b/lisp/progmodes/cc-awk.el Sun Jan 27 17:03:43 2008 +0000 @@ -478,7 +478,7 @@ (defun c-awk-get-NL-prop-prev-line (&optional do-lim) ;; Get the c-awk-NL-prop text-property from the previous line, calculating - ;; it if necessary. Return nil if we're at BOB. + ;; it if necessary. Return nil if we're already at BOB. ;; See c-awk-after-if-for-while-condition-p for a description of DO-LIM. ;; ;; This function might do hidden buffer changes. diff -r 9a5741ed6974 -r 86c372c5a95b lisp/progmodes/cc-engine.el --- a/lisp/progmodes/cc-engine.el Sun Jan 27 17:01:10 2008 +0000 +++ b/lisp/progmodes/cc-engine.el Sun Jan 27 17:03:43 2008 +0000 @@ -5094,7 +5094,8 @@ ;; ;; The point is left at the first token after the first complete ;; declarator, if there is one. The return value is a cons where - ;; the car is the position of the first token in the declarator. + ;; the car is the position of the first token in the declarator. (See + ;; below for the cdr.) ;; Some examples: ;; ;; void foo (int a, char *b) stuff ... @@ -5118,9 +5119,9 @@ ;; Foo::Foo (int b) : Base (b) {} ;; car ^ ^ point ;; - ;; The cdr of the return value is non-nil if a - ;; `c-typedef-decl-kwds' specifier is found in the declaration, - ;; i.e. the declared identifier(s) are types. + ;; The cdr of the return value is non-nil iff a `c-typedef-decl-kwds' + ;; specifier (e.g. class, struct, enum, typedef) is found in the + ;; declaration, i.e. the declared identifier(s) are types. ;; ;; If a cast is parsed: ;; @@ -5135,7 +5136,7 @@ ;; the first token in (the visible part of) the buffer. ;; ;; CONTEXT is a symbol that describes the context at the point: - ;; 'decl In a comma-separatded declaration context (typically + ;; 'decl In a comma-separated declaration context (typically ;; inside a function declaration arglist). ;; '<> In an angle bracket arglist. ;; 'arglist Some other type of arglist.