FORWARDREF should suppress .MOD

Description

SF - ID: 2881379
Last Update: Tracker Item Submitted ( amaitland )
Details:

Subject: [pcgen] [FREQ] FORWARDREF should suppress .MOD skipped LSTERRORS
Submitted By: dynamotwain@gmail.com
Date: 10/17/2009 10:43 PM

It appears PCGen 5.16.1 will always emit a LSTERROR for a .MOD to an
item that hasn't been loaded, regardless of whether a FORWARDREF for
that item has been defined.

For example, I have two custom sources, both of which are optional.
Source A defines some spells, and Source B defines a class which has a
couple of these spells in its spelllist by .MODing those spells to
include the additional class in the spelllist.

Everything is fine when both source A and B are loaded, but when only
source B is loaded, PCGEN hits a LSTERROR. I would like to suppress
these errors as they are expected when Source A isn't loaded.

I've added FORWARDREF tags for these spells to Source B's pcc file, but
PCGen still reports:
LSTERROR file:/home/user/pcgen-5.16.1/data/custom/a/a_mod_spell.lst
(120): PObject Foo not found; .MOD skipped.

I believe FORWARDREFs should work on .MOD lines just like any other
unresolved reference.
Submitted:

LegacyKing ( amaitland ) - 2009-10-18 13:44:17 EDT

Environment

None

Assignee

Unassigned

Reporter

User Submissions

Labels

None

Theme

None

Epic/Theme

None

Pending User Input

None

Components

Priority

Minor
Configure