|
|
On 03/30/2015 08:51 AM, clipka wrote:
> Am 29.03.2015 um 18:16 schrieb James Holsenback:
>
>>> Ah, somehow I had a feeling that might cause problems.
>>> Can you try pulling the definition of "struct LValue" out of the
>>> function and see whether that fixes all the errors?
>>
>> Well it was much more involved than that ... after commenting out the
>> struct LValue definition it started belching on lvalves. I found the
>> appropriate set up for that in the previous version (alpha.7981337) file.
>
> Sorry, misunderstanding - what I meant was placing the "struct LValue"
> definition before the function rather than inside it, not removing it
> entirely.
>
I pulled struct LValue out of the function and placed it just before the
function and no joy, so I went up to the top of the file just inside the
namespace pov specification. In both cases the error was the same:
parser/parser.cpp:8217:9: error: ‘Token_Struct’ does not name a type
parser/parser.cpp: In member function ‘void
pov::Parser::Parse_Declare(bool, bool)’:
parser/parser.cpp:8378:16: error: ‘struct pov::LValue’ has no member
named ‘token’
parser/parser.cpp:8426:42: error: ‘struct pov::LValue’ has no member
named ‘token’
parser/parser.cpp:8445:42: error: ‘struct pov::LValue’ has no member
named ‘token’
Even though this didn't make sense to do so I then moved it just above
the namespace pov definition (after the last include) and there was more
fallout, so I think that confirms my initial assumption that it didn't
make sense:
parser/parser.cpp:104:9: error: ‘Token_Struct’ does not name a type
parser/parser.cpp:106:9: error: ‘SYM_ENTRY’ does not name a type
parser/parser.cpp: In member function ‘void
pov::Parser::Parse_Declare(bool, bool)’:
parser/parser.cpp:8378:16: error: ‘struct LValue’ has no member named
‘token’
parser/parser.cpp:8379:16: error: ‘struct LValue’ has no member named
‘tempEntry’
parser/parser.cpp:8426:42: error: ‘struct LValue’ has no member named
‘token’
parser/parser.cpp:8428:37: error: ‘struct LValue’ has no member named
‘tempEntry’
parser/parser.cpp:8445:42: error: ‘struct LValue’ has no member named
‘token’
parser/parser.cpp:8447:37: error: ‘struct LValue’ has no member named
‘tempEntry’
Post a reply to this message
|
|