POV-Ray : Newsgroups : povray.beta-test : Semi-official development build v3.7.1-alpha.8004333 : Re: Semi-official development build v3.7.1-alpha.8004333 Server Time
20 Apr 2024 06:34:58 EDT (-0400)
  Re: Semi-official development build v3.7.1-alpha.8004333  
From: James Holsenback
Date: 30 Mar 2015 10:12:38
Message: <551959d6$1@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.