TIP: Click on subject to list as thread! ANSI
echo: qedit
to: ALL
from: DIETER KOESSL
date: 1997-12-16 04:36:00
subject: re: Decomp 28

From: Dieter Koessl 
Hi,
> Hi, I have tse pro 2.8 and am using decomp28 from ftp.semware.com.
>
> I sucessfully decompiled a macro that I use with html formatting, and
when I
> try to
> recompile it I get an error because of an angle bracket.
First of all, please let me apologize for taking so long to answer, but
things are a bit hectic lately so I only read my mail last Saturday.
Next, I don't know who updated the decomp/recomp macro pair for TSE v2.8,=
but I'm quite sure it wasn't me. The reason is simply lack of time to
maintain a macro for public use. However, things are slowly improving, so=
 I
might be able to re-join the TSE community in a couple of weeks.
Anyway, the bug you have found is genuine and and I _am_ the one
responsible
for it . Here's the fix.
(1) open the file decomp.s
(2) find the routine TranslateKey()
    (the second one after #else which pertains to TSE32)
(3) find the piece of code which reads
    if Error(EN_FMT, lFind(key_reg_expr,"cx") )
        return (0)
    endif
(4) replace it with the following
    if not lFind(key_reg_expr,"cx")
        if Error(EN_FMT, lFind("^ *}>" ,"cx") )
            return (0)
        endif
    endif
(5) recompile
(6) don't worry about TSE v2.5.
    if decomp is compiled for the 16-bit version of TSE, it
    doesn't have that the bug.
I hope this helps.
Dieter
---
---------------
* Origin: apana>>>>>fidonet [sawasdi.apana.org.au] (3:800/846.13)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.