Fix tabSize doc build breakage, also remove the stray tab that got into docs.

This commit is contained in:
Graydon Hoare 2012-06-27 14:37:36 -07:00
parent c1157161d9
commit e2205659e3
2 changed files with 2 additions and 1 deletions

View File

@ -11,6 +11,7 @@ exports.splitLines = function(string){return string.split(/\r?\n/);};
// Counts the column offset in a string, taking tabs into account.
// Used mostly to find indentation.
function countColumn(string, end) {
tabSize = 4;
if (end == null) {
end = string.search(/[^\s\u00a0]/);
if (end == -1) end = string.length;

View File

@ -351,7 +351,7 @@ Examples of integer literals of various forms:
~~~~
123; 0xff00; // type determined by program context;
// defaults to int in absence of type
// information
// information
123u; // type uint
123_u; // type uint