This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v2 02/15] RISC-V: ABI Implementation
- From: DJ Delorie <dj at redhat dot com>
- To: Palmer Dabbelt <palmer at dabbelt dot com>
- Cc: joseph at codesourcery dot com, libc-alpha at sourceware dot org, andrew at sifive dot com, darius at bluespec dot com
- Date: Fri, 22 Dec 2017 22:29:58 -0500
- Subject: Re: [PATCH v2 02/15] RISC-V: ABI Implementation
- Authentication-results: sourceware.org; auth=none
Palmer Dabbelt <palmer@dabbelt.com> writes:
> #define macro(x) ...
I don't think the language lets you put a space here, else there'd
probably be one.
> Thanks. I believe I've fixed them all, but I'm not 100% sure. Is there a
> script I can run to check this? Something like checkpatch.pl in Linux? I
#!/bin/perl
while (<>) {
next if /^\+?#\s*define/;
print if /[a-zA-Z0-9_]\(/;
}