From 4de3cc17165d6be8d9727dc84840b749ca6a3bca Mon Sep 17 00:00:00 2001 From: David Majda Date: Sun, 18 Sep 2011 20:06:52 +0200 Subject: [PATCH] Fix comment typos Original patch by Wolfgang Kluge: https://github.com/WolfgangKluge/pegjs/commit/07e0cfcc023c87a54268191dd14b99c7b3d99f9d --- src/utils.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utils.js b/src/utils.js index 3ab215c..a30f91f 100644 --- a/src/utils.js +++ b/src/utils.js @@ -45,7 +45,7 @@ function map(array, callback) { /* * Returns a string padded on the left to a desired length with a character. * - * The code needs to be in sync with th code template in the compilation + * The code needs to be in sync with the code template in the compilation * function for "action" nodes. */ function padLeft(input, padding, length) { @@ -63,7 +63,7 @@ function padLeft(input, padding, length) { * Returns an escape sequence for given character. Uses \x for characters <= * 0xFF to save space, \u for the rest. * - * The code needs to be in sync with th code template in the compilation + * The code needs to be in sync with the code template in the compilation * function for "action" nodes. */ function escape(ch) { @@ -86,7 +86,7 @@ function escape(ch) { * Surrounds the string with quotes and escapes characters inside so that the * result is a valid JavaScript string. * - * The code needs to be in sync with th code template in the compilation + * The code needs to be in sync with the code template in the compilation * function for "action" nodes. */ function quote(s) {