bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#15089: awk-mode indentation of line after /= statement with comment


From: Glenn Morris
Subject: bug#15089: awk-mode indentation of line after /= statement with comment
Date: Sun, 25 Aug 2013 15:08:37 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Alan Mackenzie wrote:

>>   progmodes/cc-awk.el:1150:1:Warning: the function `c-forward-sws' is not
>>   known to be defined
>
> Wierd.  "sws" stands for "syntactic whitespace" and the function is used
> all over the place, even though its use is generated from a macro.

cc-awk already has this:

    ;; Some functions in cc-engine that are used below.  There's a cyclic
    ;; dependency so it can't be required here.  (Perhaps some functions
    ;; could be moved to cc-engine to avoid it.)
    (cc-bytecomp-defun c-backward-token-1)
    (cc-bytecomp-defun c-beginning-of-statement-1)
    (cc-bytecomp-defun c-backward-sws)

so I assume you can just add c-forward-sws there.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]