Re: [PATCH wayland] scanner: Fix oddities in copyright printing

2016-02-04 Thread Bryce Harrington
On Tue, Feb 02, 2016 at 01:23:01PM -0800, Jon A. Cruz wrote: > On 02/02/2016 12:56 PM, Derek Foreman wrote: > >Some copyright strings could result in broken generated header files with > >unmatched */ > > > >This change: > >Runs the loop long enough so the copyright[i] == 0 test can actually > >hap

Re: [PATCH wayland] scanner: Fix oddities in copyright printing

2016-02-04 Thread Bryce Harrington
On Tue, Feb 02, 2016 at 02:56:57PM -0600, Derek Foreman wrote: > Some copyright strings could result in broken generated header files with > unmatched */ > > This change: > Runs the loop long enough so the copyright[i] == 0 test can actually > happen. (if there was no \n no copyright text was prin

Re: [PATCH wayland] scanner: Fix oddities in copyright printing

2016-02-02 Thread Jon A. Cruz
On 02/02/2016 12:56 PM, Derek Foreman wrote: Some copyright strings could result in broken generated header files with unmatched */ This change: Runs the loop long enough so the copyright[i] == 0 test can actually happen. (if there was no \n no copyright text was printed, */ still was) Prints t

[PATCH wayland] scanner: Fix oddities in copyright printing

2016-02-02 Thread Derek Foreman
Some copyright strings could result in broken generated header files with unmatched */ This change: Runs the loop long enough so the copyright[i] == 0 test can actually happen. (if there was no \n no copyright text was printed, */ still was) Prints the opening /* even if there was whitespace at t