Syntax errors in EvalString sometimes not displayed correctly #5242
Closed
Description
opened on Dec 5, 2022
Observed behaviour
gap> EvalString( "(1;" );
Syntax error: ) expected in stream:1
�
Error, Could not evaluate string.
Expected behaviour
gap> EvalString( "(1;" );
Syntax error: ) expected in stream:1
_EVALSTRINGTMP:=(1;
^
Error, Could not evaluate string.
Sometimes the error is displayed as expected:
gap> EvalString( ";;" );
Syntax error: expression expected in stream:1
_EVALSTRINGTMP:=;;;
^^
Error, Could not evaluate string.
but I could not find a pattern.
Copy and paste GAP banner (to tell us about your setup)
┌───────┐ GAP 4.12.1 of 2022-10-20
│ GAP │ https://www.gap-system.org
└───────┘ Architecture: x86_64-pc-linux-gnu-default64-kv8
Configuration: gmp 6.2.1, GASMAN, readline
Loading the library and packages ...
Packages: GAPDoc 1.6.6.dev, IO 4.7.0dev, PrimGrp 3.4.2, SmallGrp 1.5, TransGrp 3.6.3
Try '??help' for help. See also '?copyright', '?cite' and '?authors'
Metadata
Assignees
Labels
No labels
Activity