Menu

#3249 Missing end-of-lines cause additional and garbled error messages.

None
closed
None
5
2021-11-06
2016-11-20
No

When trying out why parse_string("x+"); confuses wxMaxima I've seemed to have triggered two maxima bugs, the second one of which has been spotted by Robert Dodier => Am copying the relevant part of the mailing list entry here:

  (%i1) parse_string("x+");
  /usr/local/share/maxima/branch_5_38_base_108_gf6cf571/share/stringproc/stringproc.mac:1:2:incorrect
  syntax: Premature termination of input at $.
  Maxima encountered a Lisp error:
  CHAR=: argument -1 is not a character

Oops, where did that Lisp error come from? It's probably in
parse_string.

  (%i2) errcatch(parse_string("x+"));
  incorrect syntax: Premature termination of input at $.
  se_string("x+"));x+$

Oops, why is it showing se_string("x+")); ?? It should just show x+$ .
This is probably in MREAD-SYNERR where it tries to determine where it is
in the input stream.

Discussion

  • Kris Katterjohn

    Kris Katterjohn - 2021-11-06
    • status: open --> closed
    • assigned_to: Kris Katterjohn
     
  • Kris Katterjohn

    Kris Katterjohn - 2021-11-06

    These have been fixed. See bug [#2921] for the details. I didn't remember this ticket when working on this stuff.

     

    Related

    Bugs: #2921


Log in to post a comment.

MongoDB Logo MongoDB