On Jan 27, 2008 11:11 AM, Tom Tromey <[EMAIL PROTECTED]> wrote:
> > "Andreas" == Andreas Schwab <[EMAIL PROTECTED]> writes:
...
> >> /* the following two lines give a gcc error: lvalue required as left
> >> operand of assignment */
> >> DECL_SOURCE_FILE (parm_decl) = local_input_filename;
> >>
> "Andreas" == Andreas Schwab <[EMAIL PROTECTED]> writes:
>> "Tom Browder" <[EMAIL PROTECTED]> writes:
>> /* the following two lines give a gcc error: lvalue required as left
>> operand of assignment */
>> DECL_SOURCE_FILE (parm_decl) = local_input_filename;
>> DECL_SOURCE_LINE (parm_decl) = l
"Tom Browder" <[EMAIL PROTECTED]> writes:
> I have the following lines of code:
>
> tree parm_decl;
> ...
> /* the following two lines give a gcc error: lvalue required as left
> operand of assignment */
> DECL_SOURCE_FILE (parm_decl) = local_input_filename;
> DECL_SOURCE_LINE (parm_decl) = l
I'm trying to help Tim Josling get the old gcc cobol front end code
working with the gcc trunk
again. I'm struggling with trying to learn usage of tree macros while
dealing with code dating from about gcc 3.2 or so.
I have the following lines of code:
tree parm_decl;
...
/* the following two