Re: improve syntax errors

2019-01-03 Thread Martin Sebor
On 1/3/19 8:40 AM, David Malcolm wrote: On Thu, 2019-01-03 at 15:59 +0100, Daniel Marjamäki wrote: Hello! I have used GCC for decades and would like to contribute a little. :- ) Hi, and welcome! I would like to see if I can improve the syntax errors. Here is one example code: int x =

Re: improve syntax errors

2019-01-03 Thread Jonathan Wakely
On Thu, 3 Jan 2019 at 15:40, David Malcolm wrote: > > On Thu, 2019-01-03 at 15:59 +0100, Daniel Marjamäki wrote: > > Hello! > > > > I have used GCC for decades and would like to contribute a little. :- > > ) > > Hi, and welcome! > > > I would like to see if I can improve the syntax errors. > > > >

Re: improve syntax errors

2019-01-03 Thread David Malcolm
On Thu, 2019-01-03 at 15:59 +0100, Daniel Marjamäki wrote: > Hello! > > I have used GCC for decades and would like to contribute a little. :- > ) Hi, and welcome! > I would like to see if I can improve the syntax errors. > > Here is one example code: > > int x = 3) + 0; > > I have created

improve syntax errors

2019-01-03 Thread Daniel Marjamäki
Hello! I have used GCC for decades and would like to contribute a little. :-) I would like to see if I can improve the syntax errors. Here is one example code: int x = 3) + 0; I have created this ugly experimental patch: --- a/gcc/c/c-parser.c +++ b/gcc/c/c-parser.c @@ -2228,7 +2228,10 @@