Small fix to byte-consumer-pattern.js

parent a5de29a4
......@@ -4,7 +4,7 @@ function (o) {
var c;
while (true) {
c = o.modules.getchar()
if (c == -1) break
if (c instanceof Error) break
o.modules.print(o.OpenMP.id + ': ' + c)
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment