Hi Simon,
>
>> Shouldn't that be
>>
>> --- a/gcc/cobol/parse.y
>> +++ b/gcc/cobol/parse.y
>> @@ -337,7 +337,7 @@
>> %token INVALID
>> %token NUMBER NEGATIVE
>> %token NUMSTR"numeric literal"
>> -%token OVERFLOW
>> +%token OVERFLOW_kw "OVERFLOW"
>>
Hi Simon,
> Shouldn't that be
>
> --- a/gcc/cobol/parse.y
> +++ b/gcc/cobol/parse.y
> @@ -337,7 +337,7 @@
> %token INVALID
> %token NUMBER NEGATIVE
> %token NUMSTR"numeric literal"
> -%token OVERFLOW
> +%token OVERFLOW_kw "OVERFLOW"
> %token C
Shouldn't that be
--- a/gcc/cobol/parse.y
+++ b/gcc/cobol/parse.y
@@ -337,7 +337,7 @@
%token INVALID
%token NUMBER NEGATIVE
%token NUMSTR"numeric literal"
-%token OVERFLOW
+%token OVERFLOW_kw "OVERFLOW"
%token COMPUTATIONAL
? Otherwise biso
On Fri, Apr 11, 2025 at 11:03 AM Rainer Orth
wrote:
>
> parse.h causes the COBOL build to break on Solaris:
>
> cobol/parse.h:356:5: error: expected identifier before numeric constant
> 356 | OVERFLOW = 305,/* OVERFLOW */
> | ^~~~
>
> The problem is that has
>
parse.h causes the COBOL build to break on Solaris:
cobol/parse.h:356:5: error: expected identifier before numeric constant
356 | OVERFLOW = 305,/* OVERFLOW */
| ^~~~
The problem is that has
#define OVERFLOW3
To avoid the conflict, this patch renam