Re: How to Properly Set a Tree Member Variable

2008-01-27 Thread Tom Browder
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; > >>

Re: How to Properly Set a Tree Member Variable

2008-01-27 Thread Tom Tromey
> "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

Re: How to Properly Set a Tree Member Variable

2008-01-27 Thread Andreas Schwab
"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