[1254] in Coldmud discussion meeting

root meeting help first previous next last

[COLD] p25 patch

daemon@ATHENA.MIT.EDU (Tue Mar 11 05:55:29 1997 )

From: silovic@srce.hr (Miroslav Silovic)
To: coldstuff@cold.org
Date: Tue, 11 Mar 1997 11:51:30 +0100 (MET)
Cc: silovic@srce.hr (Miroslav Silovic), brandon@cold.org

Okay, I'm gulty. fromliteral was broken for the handled frobs.
Here's the patch (thanks for the bugreport, Kipp!)

*** src/data/data.c     Tue Mar 11 11:49:02 1997
--- data.c      Tue Mar 11 11:49:02 1997
***************
*** 660,667 ****
                s++;
                while (isspace(*s))
                    s++;
!               s = data_from_literal(&chandler, s + 1);
!               if (chandler.type != IDENT) {
                    data_discard(&crep);
                    d->type = -1;
                    if (chandler.type != -1)
--- 660,667 ----
                s++;
                while (isspace(*s))
                    s++;
!               s = data_from_literal(&chandler, s);
!               if (chandler.type != SYMBOL) {
                    data_discard(&crep);
                    d->type = -1;
                    if (chandler.type != -1)