Skip to content

Commit 6fec952

Browse files
authored
parentheses (#718)
1 parent 709b0da commit 6fec952

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

xml/chapter5/section1/subsection1.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,13 +141,13 @@ data_paths(
141141
pair(name("b"),
142142
buttons(name("b<-t"), source(register("t")))),
143143
pair(name("t"),
144-
buttons(name("t<-r"), source(operation("rem"))))),
144+
buttons(name("t<-r"), source(operation("rem")))))),
145145
operations(
146146
list(
147147
pair(name("rem"),
148148
inputs(register("a"), register("b"))),
149149
pair(name("="),
150-
inputs(register("b"), constant(0)))))));
150+
inputs(register("b"), constant(0))))));
151151

152152
controller(
153153
list(
@@ -157,8 +157,8 @@ controller(
157157
"t<-r", // button push
158158
"a<-b", // button push
159159
"b<-t", // button push
160-
go_to(label("test_b"))), // unconditional branch
161-
"gcd_done"); // label
160+
go_to(label("test_b")), // unconditional branch
161+
"gcd_done")); // label
162162
</JAVASCRIPT>
163163
</SNIPPET>
164164
<CAPTION>A specification of the GCD machine.</CAPTION>

0 commit comments

Comments
 (0)