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

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

bug#25768: 25.1; wrong indent in shell-script-mode


From: Philipp Stephani
Subject: bug#25768: 25.1; wrong indent in shell-script-mode
Date: Sat, 18 Feb 2017 16:45:03 +0000



Frank Breitling <frank.breitling@gmx.de> schrieb am Fr., 17. Feb. 2017 um 02:00 Uhr:
I get the following indentation for my bash script in shell-script mode:

for i in *; {
     echo $i
}
          echo done


This is not documented Bash syntax: there is a 'do' required after the ';'. 
The Bash parser accepts this form, but it remains undocumented, so Emacs doesn't need to support it.

reply via email to

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