comparison lisp/progmodes/cc-langs.el @ 90729:6588c6259dfb

Merge from emacs--devo--0 Patches applied: * emacs--devo--0 (patch 545-562) - Update from CVS - Update from erc--emacs--22 - Merge from gnus--rel--5.10 - erc-iswitchb: Temporarily enable iswitchb mode * gnus--rel--5.10 (patch 172-176) - Merge from emacs--devo--0 - Update from CVS - Update from CVS: lisp/legacy-gnus-agent.el: Add Copyright notice. Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-156
author Miles Bader <miles@gnu.org>
date Sat, 16 Dec 2006 01:29:26 +0000
parents f1d13e615070 a25d780605e7
children e4e4a56ef723
comparison
equal deleted inserted replaced
90728:a65a92d83186 90729:6588c6259dfb
1329 1329
1330 ;;; Syntactic analysis ("virtual semicolons") for line-oriented languages (AWK). 1330 ;;; Syntactic analysis ("virtual semicolons") for line-oriented languages (AWK).
1331 (c-lang-defconst c-at-vsemi-p-fn 1331 (c-lang-defconst c-at-vsemi-p-fn
1332 "Contains a function \"Is there a virtual semicolon at POS or point?\". 1332 "Contains a function \"Is there a virtual semicolon at POS or point?\".
1333 Such a function takes one optional parameter, a buffer position (defaults to 1333 Such a function takes one optional parameter, a buffer position (defaults to
1334 point), and returns NIL or t. This variable contains NIL for languages which 1334 point), and returns nil or t. This variable contains nil for languages which
1335 don't have EOL terminated statements. " 1335 don't have EOL terminated statements. "
1336 t nil 1336 t nil
1337 awk 'c-awk-at-vsemi-p) 1337 awk 'c-awk-at-vsemi-p)
1338 (c-lang-defvar c-at-vsemi-p-fn (c-lang-const c-at-vsemi-p-fn)) 1338 (c-lang-defvar c-at-vsemi-p-fn (c-lang-const c-at-vsemi-p-fn))
1339 1339
1340 (c-lang-defconst c-vsemi-status-unknown-p-fn 1340 (c-lang-defconst c-vsemi-status-unknown-p-fn
1341 "Contains a function \"are we unsure whether there is a virtual semicolon on this line?\". 1341 "Contains a function \"are we unsure whether there is a virtual semicolon on this line?\".
1342 The (admittedly kludgey) purpose of such a function is to prevent an infinite 1342 The (admittedly kludgey) purpose of such a function is to prevent an infinite
1343 recursion in c-beginning-of-statement-1 when point starts at a `while' token. 1343 recursion in c-beginning-of-statement-1 when point starts at a `while' token.
1344 The function MUST NOT UNDER ANY CIRCUMSTANCES call c-beginning-of-statement-1, 1344 The function MUST NOT UNDER ANY CIRCUMSTANCES call c-beginning-of-statement-1,
1345 even indirectly. This variable contains NIL for languages which don't have 1345 even indirectly. This variable contains nil for languages which don't have
1346 EOL terminated statements." 1346 EOL terminated statements."
1347 t nil 1347 t nil
1348 awk 'c-awk-vsemi-status-unknown-p) 1348 awk 'c-awk-vsemi-status-unknown-p)
1349 (c-lang-defvar c-vsemi-status-unknown-p-fn 1349 (c-lang-defvar c-vsemi-status-unknown-p-fn
1350 (c-lang-const c-vsemi-status-unknown-p-fn)) 1350 (c-lang-const c-vsemi-status-unknown-p-fn))