Ralf Hemmecke wrote:
> 
> Hi Waldek,
> 
> Do you have some hint to this...
> 
> https://www.mail-archive.com/[email protected]/msg07964.html
> 
> Unfortunately, I cannot get the compiler/parser to abort with non-zero exit 
> code if there is a syntax error like in the example in the above mail.

The error is reported in 'spad_syntax_error' in scwrap2.boot.
In general, if error aborts compilation you can just add
breakmode handling to error reporting routine.  The only tricky
case is compiler proper, due to backtracking and delayed
error reporting.  But I think that for compiler proper we
should test result of 'S_process': nil indicates failing
compilation.

-- 
                              Waldek Hebisch
[email protected] 

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to