src/parser.pegjs: Add missing semicolons

Fixes the following JSHint errors:

  ./src/parser.js: line 193, col 18, Missing semicolon.
  ./src/parser.js: line 407, col 20, Missing semicolon.
  ./src/parser.js: line 2493, col 18, Missing semicolon.
  ./src/parser.js: line 2759, col 40, Missing semicolon.
redux
David Majda 13 years ago
parent 559db3a812
commit cc416199be

@ -190,7 +190,7 @@ PEG.parser = (function(){
initializer: initializer !== "" ? initializer : null,
rules: rulesConverted,
startRule: rules[0].name
}
};
})(result0[1], result0[2]);
}
if (result0 === null) {
@ -404,7 +404,7 @@ PEG.parser = (function(){
return {
type: "choice",
alternatives: alternatives
}
};
} else {
return head;
}
@ -2490,7 +2490,7 @@ PEG.parser = (function(){
data: [begin.data, end.data],
// FIXME: Get the raw text from the input directly.
rawText: begin.rawText + "-" + end.rawText
}
};
})(result0[0], result0[2]);
}
if (result0 === null) {
@ -2756,7 +2756,7 @@ PEG.parser = (function(){
.replace("n", "\n")
.replace("r", "\r")
.replace("t", "\t")
.replace("v", "\x0B") // IE does not recognize "\v".
.replace("v", "\x0B"); // IE does not recognize "\v".
})(result0[2]);
}
if (result0 === null) {

@ -8,7 +8,7 @@ grammar
initializer: initializer !== "" ? initializer : null,
rules: rulesConverted,
startRule: rules[0].name
}
};
}
initializer
@ -42,7 +42,7 @@ choice
return {
type: "choice",
alternatives: alternatives
}
};
} else {
return head;
}
@ -259,7 +259,7 @@ classCharacterRange
data: [begin.data, end.data],
// FIXME: Get the raw text from the input directly.
rawText: begin.rawText + "-" + end.rawText
}
};
}
classCharacter
@ -290,7 +290,7 @@ simpleEscapeSequence
.replace("n", "\n")
.replace("r", "\r")
.replace("t", "\t")
.replace("v", "\x0B") // IE does not recognize "\v".
.replace("v", "\x0B"); // IE does not recognize "\v".
}
zeroEscapeSequence

Loading…
Cancel
Save