lua-users home
lua-l archive

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


On Wed, Jan 26, 2011 at 9:57 AM, François Perrad
<francois.perrad@gadz.org> wrote:
> Now, a personal preference, please remove also the trailing spaces
>     $ lgrep "%s$" *.c *.h

While you're at it, there's a number of function definitions that
don't follow the typical Lua coding conventions of space before "("
and also "{" on same line:

  grep -rP '^[^\s/#*].*?\(.*\) *{?$' . | grep -P '[a-zA-Z]\(|^[^{]*$'

This mainly affects ldump.c/lundump.c/luac.c.  Those files also have
one char indentation.