Loading ...
Sorry, an error occurred while loading the content.

Re: [pcgen] [BUG] jep not ignoring MIN as part of class name

Expand Messages
  • Éric Beaudoin
    ... Thanks for the info. ... Éric Beaudoin Sometimes it s better to light a flamethrower than curse the
    Message 1 of 24 , Jan 25, 2005
    • 0 Attachment
      At 03:04 2005.01.25, Frugal wrote:
      >On Monday 24 January 2005 17:58, Éric Beaudoin wrote:
      >> On Mon, 24 Jan 2005 14:30:19 +0000, Frugal <frugal@...>
      >> > It will now cope gracefully with: var("CL=Warmind")
      >> >
      >> > I have not made any attepmt to fix the old broken parser as it is
      >> > deprecatd and there is a way of doing it with JEP. Also if I touch any
      >> > of the code in there it would have bizare and unknown consequences.
      >> >
      >> > regards,
      >> > Frugal
      >> What exactly did you do to fix it Frugal?
      >Basically I added an extra call to getInternalVariable() in the
      >VariableProcessor, so that it tries to look up a variable it can get the
      >internal variable straight away before passing it down to the broken parser.
      >The formula processing code is unneccessarly complicated at the moment because
      >we are trying to use 2 parsers (JEP and the broken one) and we have a bunch
      >of "internal" variables ("CL=foo", BASESPELLSTAT etc) that are looked up
      >internally and have no formal syntax that we can parse as part of the top
      >level formula. The code will be come a lot cleaner with when we hit 5.9
      >because I am planning on removing the broken parser and reimplementing all of
      >the internal variables as proper variables or JEP functions.

      Thanks for the info.

      Éric Beaudoin <mailto:beaudoer@...>

      Sometimes it's better to light a flamethrower than curse the darkness.
      -- (Terry Pratchett, Men at Arms)
    Your message has been successfully submitted and would be delivered to recipients shortly.