[Dot] syntax error handled like a warning
Ported Issue from Mantis Original ID: 2521 Reported By: MoonKid
SEVERITY: MINOR Submitted: 2015-02-25 02:06:17
OS BUILD: 14.04.2
PLATFORM: LINUX I386
This line produce (correct) a syntax error
"Trackable" [fontcolor=grey45,labelloc=c,fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,shape=box,height=0.3,align=center,fontsize=10,style="setlinewidth(0.5)"];
The problem is that the fontnames are not between ".
dot exact output is:
"Warning: myfile: syntax error in line 8 near ','"
The first word is "Warning" but the message text itself indicates an "error".
The return code from dot is 0 that indicates that everything gone fine.
That made it really hard for me to found out what was wrong in one of my dot-using scripts. They catch all errors. But if dot return 0 there is no error. So something goes wrong here.