Re: the C coding style in lua sources
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: the C coding style in lua sources
- From: David Manura <dm.lua@...>
- Date: 2011年1月26日 10:36:58 -0500
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.