Project

General

Profile

Bug #515

old ded syntax issue

Added by vermil almost 16 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
2008-06-02
% Done:

100%


Description

It seems that there is a bug(s) in the DED parser regarding old style XG syntax.

For instance, the top definition below, using modern syntx, works in game, in Beta5, while the bottom one using older style syntax doesn't.

Works:

Line Type {
Id = 15010
Count = -1
Class = teleport
Flags = player_cross | monster_cross
Flags2 = when_act | any
Ip0 = "lsref_line_tagged"
Ip1 = 0
Ip2 = 0
Ip3 = 0
}

Doesn't Work:

Line Type {
Id = 15010
Count = -1
Class = "ltc_teleport"
Flags = "ltf_player_cross ltf_monster_cross";
Flags2 = "ltf2_when_act ltf2_any";
Ip0 = "lsref_line_tagged";
Ip1 = 0
Ip2 = 0
Ip3 = 0
}

Labels: Definitions

History

#1 Updated by danij almost 16 years ago

Logged In: YES
user_id=849456
Originator: NO

I've checked the DED parser in current svn #rev5723 and both of the above Line Types are being read correctly and result in the exact same internal representation.

#2 Updated by vermil almost 16 years ago

Logged In: YES
user_id=1420350
Originator: YES

Ah, so it's been fixed since Beta5 then. That's good :)

Also available in: Atom PDF