Skip to Content
0
Oct 01, 2013 at 04:18 PM

[BRF+ 7.01] Generation not possible

38 Views

Hi,

For some BRF+ functions, generation is not possible.

Indeed, I used a structure (sorry, it's legacy code...) which contains a "SUPER" field. When BRF+ generates the code, it uses the fieldname as an attribute and cannot compile due to the fact that 'SUPER' is a reserved keyword. I cannot change the fieldname as it is used throughout hundreds of lines of code...

Is there a way to "tweak" the BRF+ generation?

Otherwise, I would have to:

  1. change every function that uses SUPER as a context field and rename that field
  2. set up a mapping when calling the BRF+ function

Anyhow, is there a list of reserved keywords I could tap into so that I process them all at once instead of each time I cross one of them? (While debugging, I noticed the error is returned from a call to SYNTAX-CHECK statement)

I have found only 4 keywords (by trials) so far: SUPER, ME, CONSTRUCTOR and DESTRUCTOR.

Thanks in advance.

Best regards,

Guillaume