bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Offending token


From: Dr . Jürgen Sauermann
Subject: Re: Offending token
Date: Thu, 10 Dec 2020 18:20:51 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

Hi Hans-Peter,

I have changed the ∇-editor so that it remains in the editor
as long as the function can not be ⎕FXed (in interactive mode).

When fed from a file (batch mode, )LOAD command) then the current
behaviour remains because the file will not change itself if it contains
an invalid function.

SVN 1374.

Best Regards,
Jürgen


On 12/9/20 2:44 PM, Hans-Peter Sorge wrote:
Hi,

⍝ as expected:

      ∇FUN
[1] →←∇
      FUN
SYNTAX ERROR
FUN[1]  →←
        ^^


⍝ Just came up in a typo:

      ∇FUN
[2] [1]   →NEXTLINE:
[2] NEXTLINE:
[3] ∇
Line 1
Offending token: (tag > TC_MAX_PERM) 0x43030019 :
Statement: `→  `'NEXTLINE  `:
DEFN ERROR+
      ∇FUN
         ^

⍝ The changes get lost:
      ∇FUN[⎕]
    ∇
[0]   FUN
[1]   →←
    ∇
[2]

Best Regards
Hans-Peter




reply via email to

[Prev in Thread] Current Thread [Next in Thread]