Skip to content

Commit dc340c9

Browse files
committed
Remove problematic quotes in INSTRUCTION_NODE and QUESTION_NODE macros
They were causing raw ifelse's to escape into the generated dot file
1 parent 817cdfd commit dc340c9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎flowchart.dot.m4‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ define(`LINK_TO_DONE', `$1 -> $1'`__generated_done '`$2'`
44
DEFINE_DONE(`$1'`__generated_done')
55
')
66

7-
define(`QUESTION_NODE', `$1 [label="$2'`ifelse($3,`', `', `\n'$3)'`", shape=diamond]')
8-
define(`INSTRUCTION_NODE', `$1 [label="$2'`ifelse($3,`', `', `\n'$3)'`", shape=box]')
7+
define(`QUESTION_NODE', `$1 [label="$2'ifelse($3,`', `', `\n'$3)`", shape=diamond]')
8+
define(`INSTRUCTION_NODE', `$1 [label="$2'ifelse($3,`', `', `\n'$3)`", shape=box]')
99

1010
define(`YN_QUESTION_NODE', `QUESTION_NODE($1, $2, $3)
1111
$1 -> $4 [label="Yes"]

0 commit comments

Comments
 (0)