[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: |
Tue, 13 Aug 2013 15:08:18 -0400 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Package: emacs,cc-mode
Version: 24.3
Severity: minor
emacs -Q foo.awk
Enter buffer contents:
#!/usr/bin/gawk -f
BEGIN {
x = 4
x /= 2 # comment
y = 3
print x, y
}
Use TAB to indent each line. The "y =" line is indented too much.
No such problem with +=, -=, etc; only with /=. And only if a comment
after if (actually, only if whitespace after "/= 2", it seems).
- bug#15089: awk-mode indentation of line after /= statement with comment,
Glenn Morris <=