Skip to content

Commit 35b3293

Browse files
XhmikosRxzyfer
authored andcommitted
Assorted typo fixes. (#2986)
1 parent b894c52 commit 35b3293

22 files changed

+33
-33
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ sudo: required
1414
# this will still catch all coding errors!
1515
# - AUTOTOOLS=yes COVERAGE=no BUILD=static
1616

17-
# currenty there are various issues when
17+
# currently there are various issues when
1818
# built with coverage, clang and autotools
1919
# - AUTOTOOLS=yes COVERAGE=yes BUILD=shared
2020

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ cache:
2323
- C:\Ruby%ruby_version%\lib\ruby\gems
2424
- C:\mingw64
2525

26-
# Uncomment to debug hanging builds via RDP, password can ve found/set under Environment-Variables in appveyor settings!
26+
# Uncomment to debug hanging builds via RDP, password can be found/set under Environment-Variables in appveyor settings!
2727
#
2828
# init:
2929
# - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))

docs/api-context-example.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ int main( int argc, const char* argv[] )
1212
char* text = sass_copy_c_string("a{b:c;}");
1313
// Normally you'll load data into a buffer from i.e. the disk.
1414
// Use `sass_alloc_memory` to get a buffer to pass to LibSass
15-
// then fill it with data you load from disk or somwhere else.
15+
// then fill it with data you load from disk or somewhere else.
1616

1717
// create the data context and get all related structs
1818
struct Sass_Data_Context* data_ctx = sass_make_data_context(text);

docs/custom-functions-internal.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ union Sass_Value* call_sass_function(
3939

4040
### cookie
4141

42-
The cookie can hold any pointer you want. In the `perl-libsass` implementation it holds the structure with the reference of the actual registered callback into the perl interpreter. Before that call `perl-libsass` will convert all `Sass_Values` to corresponding perl data types (so they can be used natively inside the perl interpretor). The callback can also return a `Sass_Value`. In `perl-libsass` the actual function returns a perl value, which has to be converted before `libsass` can work with it again!
42+
The cookie can hold any pointer you want. In the `perl-libsass` implementation it holds the structure with the reference of the actual registered callback into the perl interpreter. Before that call `perl-libsass` will convert all `Sass_Values` to corresponding perl data types (so they can be used natively inside the perl interpreter). The callback can also return a `Sass_Value`. In `perl-libsass` the actual function returns a perl value, which has to be converted before `libsass` can work with it again!
4343

4444
## Sass_Values
4545

src/ast_sel_unify.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ namespace Sass {
1111
// elements that are matched by both [complex1] and [complex2].
1212
// If no such list can be produced, returns `null`.
1313
// ##########################################################################
14-
// ToDo: fine-tune API to avoid unecessary wrapper allocations
14+
// ToDo: fine-tune API to avoid unnecessary wrapper allocations
1515
// ##########################################################################
1616
std::vector<std::vector<SelectorComponentObj>> unifyComplex(
1717
const std::vector<std::vector<SelectorComponentObj>>& complexes)

src/ast_selectors.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ namespace Sass {
273273

274274
// Returns true if the first components
275275
// is a compound selector and fullfills
276-
// a few other criterias.
276+
// a few other criteria.
277277
bool isInvisible() const;
278278

279279
size_t hash() const override;
@@ -410,7 +410,7 @@ namespace Sass {
410410
CompoundSelector(ParserState pstate, bool postLineBreak = false);
411411

412412
// Returns true if this compound selector
413-
// fullfills various criterias.
413+
// fullfills various criteria.
414414
bool isInvisible() const;
415415

416416
bool empty() const override {

src/ast_values.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ namespace Sass {
536536
l.normalize(); r.normalize();
537537
Units &lhs_unit = l, &rhs_unit = r;
538538
if (!(lhs_unit == rhs_unit)) {
539-
/* ToDo: do we always get usefull backtraces? */
539+
/* ToDo: do we always get useful backtraces? */
540540
throw Exception::IncompatibleUnits(rhs, *this);
541541
}
542542
if (lhs_unit == rhs_unit) {

src/bind.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ namespace Sass {
168168
}
169169
// consumed parameter
170170
++ip;
171-
// no more paramaters
171+
// no more parameters
172172
break;
173173
}
174174

src/context.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ namespace Sass {
377377
// if (protocol.compare("file") && true) { }
378378
}
379379

380-
// add urls (protocol other than file) and urls without procotol to `urls` member
380+
// add urls (protocol other than file) and urls without protocol to `urls` member
381381
// ToDo: if ctx_path is already a file resource, we should not add it here?
382382
if (imp->import_queries() || protocol != "file" || imp_path.substr(0, 2) == "//") {
383383
imp->urls().push_back(SASS_MEMORY_NEW(String_Quoted, imp->pstate(), load_path));
@@ -501,7 +501,7 @@ namespace Sass {
501501
OutputBuffer emitted = emitter.get_buffer();
502502
// should we append a source map url?
503503
if (!c_options.omit_source_map_url) {
504-
// generate an embeded source map
504+
// generate an embedded source map
505505
if (c_options.source_map_embed) {
506506
emitted.buffer += linefeed;
507507
emitted.buffer += format_embedded_source_map();

src/cssize.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ namespace Sass {
148148
// this can return a string schema
149149
// string schema is not a statement!
150150
// r->block() is already a string schema
151-
// and that is comming from propset expand
151+
// and that is coming from propset expand
152152
Block* bb = operator()(r->block());
153153
// this should protect us (at least a bit) from our mess
154154
// fixing this properly is harder that it should be ...

0 commit comments

Comments
 (0)