Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] long description wrap in spells

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Andraž 'ruskie' Levstik <ruskie AT codemages.net>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] long description wrap in spells
  • Date: Fri, 14 Oct 2011 18:29:39 +0200 (CEST)

:2011-10-14T18:02:Jaka Kranjc:

> > A while back I was tinkering with importing some spell info into a
> > database. In the process I noticed several errors displayed by the
> > script I was using to dump spell details because several spells are
> > missing the EOF line. I got side tracked and haven't worked on the
> A quick heuristic shows no problems in test (anymore):
> git grep -n EOF | cut -d: -f1 | sort | uniq -u

The problem isn't absent EOF. It's that sometimes there's some char
being interpreted as something else.

I get this with scry's indices as well.
Here's a full list of all the stuff that scry's tools go through and you
should be able to find long lines with stuff like:
openwengo
/home/ruskie/scry/scry/userapps/var/lib/sorcery/codex/test/chat-im/openwengo/DETAILS:
line 7: warning: here-document at line 5 delimited by end-of-file
(wanted `EOF')

http://scry.codemages.net/grimoirelint.txt

I go through this list every so often and fix the stuff I find.

Atleast ' tends to cause issues in the description... double quoting EOF
should
work iirc but then you need to watch out for them as well.

--
Andraž 'ruskie' Levstik
Source Mage GNU/Linux Games/Xorg grimoire guru
Re-Alpine Coordinator http://sourceforge.net/projects/re-alpine/
Geek/Hacker/Tinker

Show them the ropes and soon they've used that rope to build a bridge to
their future.


Archive powered by MHonArc 2.6.24.

Top of Page