mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-12 23:44:39 +00:00
. .vector fieldtest; should now be ungoofed (no need for that space any more)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@541 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
1fbf42489a
commit
3f2819c65d
1 changed files with 18 additions and 0 deletions
|
@ -2668,6 +2668,24 @@ QCC_type_t *QCC_PR_ParseType (int newtype)
|
||||||
|
|
||||||
// int ofs;
|
// int ofs;
|
||||||
|
|
||||||
|
if (QCC_PR_Check ("..")) //so we don't end up with the user specifying '. .vector blah' (hexen2 added the .. token for array ranges)
|
||||||
|
{
|
||||||
|
newt = QCC_PR_NewType("FIELD TYPE", ev_field);
|
||||||
|
newt->aux_type = QCC_PR_ParseType (false);
|
||||||
|
|
||||||
|
newt->size = newt->aux_type->size;
|
||||||
|
|
||||||
|
newt = QCC_PR_FindType (newt);
|
||||||
|
|
||||||
|
type = QCC_PR_NewType("FIELD TYPE", ev_field);
|
||||||
|
type->aux_type = newt;
|
||||||
|
|
||||||
|
type->size = type->aux_type->size;
|
||||||
|
|
||||||
|
if (newtype)
|
||||||
|
return type;
|
||||||
|
return QCC_PR_FindType (type);
|
||||||
|
}
|
||||||
if (QCC_PR_Check ("."))
|
if (QCC_PR_Check ("."))
|
||||||
{
|
{
|
||||||
newt = QCC_PR_NewType("FIELD TYPE", ev_field);
|
newt = QCC_PR_NewType("FIELD TYPE", ev_field);
|
||||||
|
|
Loading…
Reference in a new issue