diff options
author | Mike Buland <eichlan@xagasoft.com> | 2007-08-26 04:12:51 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2007-08-26 04:12:51 +0000 |
commit | ecedf7a7d87553116c570ba789b6405ac5eff92d (patch) | |
tree | 754eccf96c99ef0acd3a49d99e6a2a44447d3c90 /test.taf | |
parent | 4873aad0fe15b3f46c6372b661ce926795922a6e (diff) | |
download | libbu++-ecedf7a7d87553116c570ba789b6405ac5eff92d.tar.gz libbu++-ecedf7a7d87553116c570ba789b6405ac5eff92d.tar.bz2 libbu++-ecedf7a7d87553116c570ba789b6405ac5eff92d.tar.xz libbu++-ecedf7a7d87553116c570ba789b6405ac5eff92d.zip |
Corrected a bug in the Bu::TafReader, it was getting confused when a stray colon
(common in web addresses) was put in the middle of a property list, now it
doesn't get confused, it just complains bitterly and refuses to work.
Diffstat (limited to '')
-rw-r--r-- | test.taf | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -1,7 +1,6 @@ | |||
1 | {"player": "password"="aoeuaoeuao" "userclass"="implementor" "species"="human" "sex"="male" "active" "startroom"="Salourn::Xagafinelle's Room" {"stats": "str"="14" "dex"="12" "spd"="12" "enr"="7" "rea"="12" "wil"="10" "int"="13" "cha"="14" }{"hp": "cur"="100" "max"="100" }{"en": "cur"="100" "max"="100" }"attackrate"="30" "gold"="0" | 1 | {test: |
2 | 2 | {repo: | |
3 | /* Hey, the inventory is next...isn't that cool? Oooooh yeah! */ | 3 | url = http://svn.xagasoft.com/libbu++ |
4 | 4 | name = libbu++ | |
5 | {"inventory": {: "count"="1" "id"="Salourn::Dark Blade" }{: "count"="1" "id"="Salourn::Dark Suit" }{: "count"="3" "id"="Salourn::Small Fig" }}{"aliases": {: "key"="." "value"="say" }{: "key"="," "value"="yell" }{: "key"="li" "value"="lightning" }}"description"="They appear to be rather average looking, not particularly | 5 | } |
6 | tall or short, with facial features that are difficult to remember even | 6 | } |
7 | seconds after witnessing them." } | ||