On Tue, 22 Mar 2011, Grant Edwards wrote:
> Does anybody have a config file for either indent or astyle that will
> format source code according to eCos standards?
Hi,
They have 'Lindent'..., I thought, - Why we have not 'Eindent'? :-)
Well, I wrote *something* for myself
HG's repo
https://bitbucket.org/tickling/geneindent/srcInstall
sh genindent > ~/bin/Eindent
chmod +x ~/bin/Eindent
Usage (mostly in Vim on visual blocks)
:'<,'>!Eindent
Also I wrote vim.cdl (vim syntax file) to hack/check eCos config files:
HG's repo
https://bitbucket.org/tickling/vim-syntax-cdl/srcHTH
Sergei