Assemble kernel on the client #1
3
asm.js
3
asm.js
@@ -58,7 +58,8 @@ class Tokenizer {
|
|||||||
this.buffer.push(...src);
|
this.buffer.push(...src);
|
||||||
let token;
|
let token;
|
||||||
while (token = this.next()) {
|
while (token = this.next()) {
|
||||||
if (token == this.comment_start)
|
if (token.string == undefined
|
||||||
|
&& token.startsWith(this.comment_start))
|
||||||
this.comment = true;
|
this.comment = true;
|
||||||
else if (this.comment && token == LINE_END)
|
else if (this.comment && token == LINE_END)
|
||||||
this.comment = false;
|
this.comment = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user