This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2 02/15] RISC-V: ABI Implementation


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_]\(/;
}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]