Fossil SCM

Fix typos in comments.

drh 2016-06-21 20:03 trunk
Commit 243fc6c2467988f387f4257a226ff59fd10be2c5
+1 -1
--- src/allrepo.c
+++ src/allrepo.c
@@ -138,11 +138,11 @@
138138
**
139139
** In addition, the following maintenance operations are supported:
140140
**
141141
** add Add all the repositories named to the set of repositories
142142
** tracked by Fossil. Normally Fossil is able to keep up with
143
-** this list by itself, but sometime it can benefit from this
143
+** this list by itself, but sometimes it can benefit from this
144144
** hint if you rename repositories.
145145
**
146146
** ignore Arguments are repositories that should be ignored by
147147
** subsequent clean, extras, list, pull, push, rebuild, and
148148
** sync operations. The -c|--ckout option causes the listed
149149
--- src/allrepo.c
+++ src/allrepo.c
@@ -138,11 +138,11 @@
138 **
139 ** In addition, the following maintenance operations are supported:
140 **
141 ** add Add all the repositories named to the set of repositories
142 ** tracked by Fossil. Normally Fossil is able to keep up with
143 ** this list by itself, but sometime it can benefit from this
144 ** hint if you rename repositories.
145 **
146 ** ignore Arguments are repositories that should be ignored by
147 ** subsequent clean, extras, list, pull, push, rebuild, and
148 ** sync operations. The -c|--ckout option causes the listed
149
--- src/allrepo.c
+++ src/allrepo.c
@@ -138,11 +138,11 @@
138 **
139 ** In addition, the following maintenance operations are supported:
140 **
141 ** add Add all the repositories named to the set of repositories
142 ** tracked by Fossil. Normally Fossil is able to keep up with
143 ** this list by itself, but sometimes it can benefit from this
144 ** hint if you rename repositories.
145 **
146 ** ignore Arguments are repositories that should be ignored by
147 ** subsequent clean, extras, list, pull, push, rebuild, and
148 ** sync operations. The -c|--ckout option causes the listed
149
+2 -2
--- src/bundle.c
+++ src/bundle.c
@@ -26,11 +26,11 @@
2626
**
2727
** The bblob.delta field can be an integer, a text string, or NULL.
2828
** If an integer, then the corresponding blobid is the delta basis.
2929
** If a text string, then that string is a SHA1 hash for the delta
3030
** basis, which is presumably in the master repository. If NULL, then
31
-** data contains contain without delta compression.
31
+** data contains content without delta compression.
3232
*/
3333
static const char zBundleInit[] =
3434
@ CREATE TABLE IF NOT EXISTS "%w".bconfig(
3535
@ bcname TEXT,
3636
@ bcvalue ANY
@@ -370,11 +370,11 @@
370370
" WHERE fnid=(SELECT fnid FROM mlink WHERE fid=%d)"
371371
" AND fid<%d", rid, mnToBundle);
372372
}
373373
}
374374
375
- /* Try to insert the insert the artifact as a delta
375
+ /* Try to insert the artifact as a delta
376376
*/
377377
if( deltaFrom ){
378378
Blob basis, delta;
379379
content_get(deltaFrom, &basis);
380380
blob_delta_create(&basis, &content, &delta);
381381
--- src/bundle.c
+++ src/bundle.c
@@ -26,11 +26,11 @@
26 **
27 ** The bblob.delta field can be an integer, a text string, or NULL.
28 ** If an integer, then the corresponding blobid is the delta basis.
29 ** If a text string, then that string is a SHA1 hash for the delta
30 ** basis, which is presumably in the master repository. If NULL, then
31 ** data contains contain without delta compression.
32 */
33 static const char zBundleInit[] =
34 @ CREATE TABLE IF NOT EXISTS "%w".bconfig(
35 @ bcname TEXT,
36 @ bcvalue ANY
@@ -370,11 +370,11 @@
370 " WHERE fnid=(SELECT fnid FROM mlink WHERE fid=%d)"
371 " AND fid<%d", rid, mnToBundle);
372 }
373 }
374
375 /* Try to insert the insert the artifact as a delta
376 */
377 if( deltaFrom ){
378 Blob basis, delta;
379 content_get(deltaFrom, &basis);
380 blob_delta_create(&basis, &content, &delta);
381
--- src/bundle.c
+++ src/bundle.c
@@ -26,11 +26,11 @@
26 **
27 ** The bblob.delta field can be an integer, a text string, or NULL.
28 ** If an integer, then the corresponding blobid is the delta basis.
29 ** If a text string, then that string is a SHA1 hash for the delta
30 ** basis, which is presumably in the master repository. If NULL, then
31 ** data contains content without delta compression.
32 */
33 static const char zBundleInit[] =
34 @ CREATE TABLE IF NOT EXISTS "%w".bconfig(
35 @ bcname TEXT,
36 @ bcvalue ANY
@@ -370,11 +370,11 @@
370 " WHERE fnid=(SELECT fnid FROM mlink WHERE fid=%d)"
371 " AND fid<%d", rid, mnToBundle);
372 }
373 }
374
375 /* Try to insert the artifact as a delta
376 */
377 if( deltaFrom ){
378 Blob basis, delta;
379 content_get(deltaFrom, &basis);
380 blob_delta_create(&basis, &content, &delta);
381
+1 -1
--- src/fusefs.c
+++ src/fusefs.c
@@ -51,11 +51,11 @@
5151
/* Parsed path */
5252
char *az[3]; /* 0=type, 1=id, 2=path */
5353
} fusefs;
5454
5555
/*
56
-** Clear the fusefs.sz[] array.
56
+** Clear the fusefs.az[] array.
5757
*/
5858
static void fusefs_clear_path(void){
5959
int i;
6060
for(i=0; i<count(fusefs.az); i++){
6161
fossil_free(fusefs.az[i]);
6262
--- src/fusefs.c
+++ src/fusefs.c
@@ -51,11 +51,11 @@
51 /* Parsed path */
52 char *az[3]; /* 0=type, 1=id, 2=path */
53 } fusefs;
54
55 /*
56 ** Clear the fusefs.sz[] array.
57 */
58 static void fusefs_clear_path(void){
59 int i;
60 for(i=0; i<count(fusefs.az); i++){
61 fossil_free(fusefs.az[i]);
62
--- src/fusefs.c
+++ src/fusefs.c
@@ -51,11 +51,11 @@
51 /* Parsed path */
52 char *az[3]; /* 0=type, 1=id, 2=path */
53 } fusefs;
54
55 /*
56 ** Clear the fusefs.az[] array.
57 */
58 static void fusefs_clear_path(void){
59 int i;
60 for(i=0; i<count(fusefs.az); i++){
61 fossil_free(fusefs.az[i]);
62
+16 -16
--- src/markdown.c
+++ src/markdown.c
@@ -35,12 +35,12 @@
3535
#if INTERFACE
3636
3737
/* mkd_autolink -- type of autolink */
3838
enum mkd_autolink {
3939
MKDA_NOT_AUTOLINK, /* used internally when it is not an autolink*/
40
- MKDA_NORMAL, /* normal http/http/ftp/etc link */
41
- MKDA_EXPLICIT_EMAIL, /* e-mail link with explit mailto: */
40
+ MKDA_NORMAL, /* normal http/http/ftp link */
41
+ MKDA_EXPLICIT_EMAIL, /* e-mail link with explicit mailto: */
4242
MKDA_IMPLICIT_EMAIL /* e-mail link without mailto: */
4343
};
4444
4545
/* mkd_renderer -- functions for rendering parsed data */
4646
struct mkd_renderer {
@@ -348,11 +348,11 @@
348348
if( i>=size || data[i]!='>' || nb!=1 ) return 0;
349349
return i+1;
350350
}
351351
352352
353
-/* tag_length -- returns the length of the given tag, or 0 is it's not valid */
353
+/* tag_length -- returns the length of the given tag, or 0 if it's not valid */
354354
static size_t tag_length(char *data, size_t size, enum mkd_autolink *autolink){
355355
size_t i, j;
356356
357357
/* a valid tag can't be shorter than 3 chars */
358358
if( size<3 ) return 0;
@@ -403,11 +403,11 @@
403403
}else if( (j = is_mail_autolink(data+i, size-i))!=0 ){
404404
*autolink = (i==8) ? MKDA_EXPLICIT_EMAIL : MKDA_IMPLICIT_EMAIL;
405405
return i+j;
406406
}
407407
408
- /* looking for sometinhg looking like a tag end */
408
+ /* looking for something looking like a tag end */
409409
while( i<size && data[i]!='>' ){ i++; }
410410
if( i>=size ) return 0;
411411
return i+1;
412412
}
413413
@@ -520,11 +520,11 @@
520520
}
521521
return 0;
522522
}
523523
524524
525
-/* parse_emph1 -- parsing single emphase */
525
+/* parse_emph1 -- parsing single emphasis */
526526
/* closed by a symbol not preceded by whitespace and not followed by symbol */
527527
static size_t parse_emph1(
528528
struct Blob *ob,
529529
struct render *rndr,
530530
char *data,
@@ -565,11 +565,11 @@
565565
}
566566
return 0;
567567
}
568568
569569
570
-/* parse_emph2 -- parsing single emphase */
570
+/* parse_emph2 -- parsing single emphasis */
571571
static size_t parse_emph2(
572572
struct Blob *ob,
573573
struct render *rndr,
574574
char *data,
575575
size_t size,
@@ -604,11 +604,11 @@
604604
}
605605
return 0;
606606
}
607607
608608
609
-/* parse_emph3 -- parsing single emphase */
609
+/* parse_emph3 -- parsing single emphasis */
610610
/* finds the first closing tag, and delegates to the other emph */
611611
static size_t parse_emph3(
612612
struct Blob *ob,
613613
struct render *rndr,
614614
char *data,
@@ -777,11 +777,11 @@
777777
return 2;
778778
}
779779
780780
781781
/* char_entity -- '&' escaped when it doesn't belong to an entity */
782
-/* valid entities are assumed to be anything mathing &#?[A-Za-z0-9]+; */
782
+/* valid entities are assumed to be anything matching &#?[A-Za-z0-9]+; */
783783
static size_t char_entity(
784784
struct Blob *ob,
785785
struct render *rndr,
786786
char *data,
787787
size_t offset,
@@ -1022,11 +1022,11 @@
10221022
if( i+1==id_end ){
10231023
/* implicit id - use the contents */
10241024
id_data = data+1;
10251025
id_size = txt_e-1;
10261026
}else{
1027
- /* explici id - between brackets */
1027
+ /* explicit id - between brackets */
10281028
id_data = data+i+1;
10291029
id_size = id_end-(i+1);
10301030
}
10311031
10321032
if( get_link_ref(rndr, link, title, id_data, id_size)<0 ){
@@ -1138,11 +1138,11 @@
11381138
11391139
return 0;
11401140
}
11411141
11421142
1143
-/* is_table_sep -- returns wether there is a table separator at the given pos */
1143
+/* is_table_sep -- returns whether there is a table separator at pos */
11441144
static int is_table_sep(char *data, size_t pos){
11451145
return data[pos]=='|' && (pos==0 || data[pos-1]!='\\');
11461146
}
11471147
11481148
@@ -1187,11 +1187,11 @@
11871187
return 0;
11881188
}
11891189
}
11901190
11911191
1192
-/* prefix_code -- returns prefix length for block code*/
1192
+/* prefix_code -- returns prefix length for block code */
11931193
static size_t prefix_code(char *data, size_t size){
11941194
if( size>0 && data[0]=='\t' ) return 1;
11951195
if( size>3 && data[0]==' ' && data[1]==' ' && data[2]==' ' && data[3]==' ' ){
11961196
return 4;
11971197
}
@@ -1244,11 +1244,11 @@
12441244
struct render *rndr,
12451245
char *data,
12461246
size_t size);
12471247
12481248
1249
-/* parse_blockquote -- hanldes parsing of a blockquote fragment */
1249
+/* parse_blockquote -- handles parsing of a blockquote fragment */
12501250
static size_t parse_blockquote(
12511251
struct Blob *ob,
12521252
struct render *rndr,
12531253
char *data,
12541254
size_t size
@@ -1294,11 +1294,11 @@
12941294
release_work_buffer(rndr, out);
12951295
return end;
12961296
}
12971297
12981298
1299
-/* parse_blockquote -- hanldes parsing of a regular paragraph */
1299
+/* parse_paragraph -- handles parsing of a regular paragraph */
13001300
static size_t parse_paragraph(
13011301
struct Blob *ob,
13021302
struct render *rndr,
13031303
char *data,
13041304
size_t size
@@ -1377,11 +1377,11 @@
13771377
}
13781378
return end;
13791379
}
13801380
13811381
1382
-/* parse_blockquote -- hanldes parsing of a block-level code fragment */
1382
+/* parse_blockcode -- handles parsing of a block-level code fragment */
13831383
static size_t parse_blockcode(
13841384
struct Blob *ob,
13851385
struct render *rndr,
13861386
char *data,
13871387
size_t size
@@ -1813,11 +1813,11 @@
18131813
size_t i = 0, col = 0;
18141814
size_t beg, end, total = 0;
18151815
struct Blob *cells = new_work_buffer(rndr);
18161816
int align;
18171817
1818
- /* skip leading blanks and sperator */
1818
+ /* skip leading blanks and separator */
18191819
while( i<size && (data[i]==' ' || data[i]=='\t') ){ i++; }
18201820
if( i<size && data[i]=='|' ) i++;
18211821
18221822
/* go over all the cells */
18231823
while( i<size && total==0 ){
@@ -2030,11 +2030,11 @@
20302030
static int is_ref(
20312031
char *data, /* input text */
20322032
size_t beg, /* offset of the beginning of the line */
20332033
size_t end, /* offset of the end of the text */
20342034
size_t *last, /* last character of the link */
2035
- struct Blob *refs /* arry of link references */
2035
+ struct Blob *refs /* array of link references */
20362036
){
20372037
size_t i = 0;
20382038
size_t id_offset, id_end;
20392039
size_t link_offset, link_end;
20402040
size_t title_offset, title_end;
20412041
--- src/markdown.c
+++ src/markdown.c
@@ -35,12 +35,12 @@
35 #if INTERFACE
36
37 /* mkd_autolink -- type of autolink */
38 enum mkd_autolink {
39 MKDA_NOT_AUTOLINK, /* used internally when it is not an autolink*/
40 MKDA_NORMAL, /* normal http/http/ftp/etc link */
41 MKDA_EXPLICIT_EMAIL, /* e-mail link with explit mailto: */
42 MKDA_IMPLICIT_EMAIL /* e-mail link without mailto: */
43 };
44
45 /* mkd_renderer -- functions for rendering parsed data */
46 struct mkd_renderer {
@@ -348,11 +348,11 @@
348 if( i>=size || data[i]!='>' || nb!=1 ) return 0;
349 return i+1;
350 }
351
352
353 /* tag_length -- returns the length of the given tag, or 0 is it's not valid */
354 static size_t tag_length(char *data, size_t size, enum mkd_autolink *autolink){
355 size_t i, j;
356
357 /* a valid tag can't be shorter than 3 chars */
358 if( size<3 ) return 0;
@@ -403,11 +403,11 @@
403 }else if( (j = is_mail_autolink(data+i, size-i))!=0 ){
404 *autolink = (i==8) ? MKDA_EXPLICIT_EMAIL : MKDA_IMPLICIT_EMAIL;
405 return i+j;
406 }
407
408 /* looking for sometinhg looking like a tag end */
409 while( i<size && data[i]!='>' ){ i++; }
410 if( i>=size ) return 0;
411 return i+1;
412 }
413
@@ -520,11 +520,11 @@
520 }
521 return 0;
522 }
523
524
525 /* parse_emph1 -- parsing single emphase */
526 /* closed by a symbol not preceded by whitespace and not followed by symbol */
527 static size_t parse_emph1(
528 struct Blob *ob,
529 struct render *rndr,
530 char *data,
@@ -565,11 +565,11 @@
565 }
566 return 0;
567 }
568
569
570 /* parse_emph2 -- parsing single emphase */
571 static size_t parse_emph2(
572 struct Blob *ob,
573 struct render *rndr,
574 char *data,
575 size_t size,
@@ -604,11 +604,11 @@
604 }
605 return 0;
606 }
607
608
609 /* parse_emph3 -- parsing single emphase */
610 /* finds the first closing tag, and delegates to the other emph */
611 static size_t parse_emph3(
612 struct Blob *ob,
613 struct render *rndr,
614 char *data,
@@ -777,11 +777,11 @@
777 return 2;
778 }
779
780
781 /* char_entity -- '&' escaped when it doesn't belong to an entity */
782 /* valid entities are assumed to be anything mathing &#?[A-Za-z0-9]+; */
783 static size_t char_entity(
784 struct Blob *ob,
785 struct render *rndr,
786 char *data,
787 size_t offset,
@@ -1022,11 +1022,11 @@
1022 if( i+1==id_end ){
1023 /* implicit id - use the contents */
1024 id_data = data+1;
1025 id_size = txt_e-1;
1026 }else{
1027 /* explici id - between brackets */
1028 id_data = data+i+1;
1029 id_size = id_end-(i+1);
1030 }
1031
1032 if( get_link_ref(rndr, link, title, id_data, id_size)<0 ){
@@ -1138,11 +1138,11 @@
1138
1139 return 0;
1140 }
1141
1142
1143 /* is_table_sep -- returns wether there is a table separator at the given pos */
1144 static int is_table_sep(char *data, size_t pos){
1145 return data[pos]=='|' && (pos==0 || data[pos-1]!='\\');
1146 }
1147
1148
@@ -1187,11 +1187,11 @@
1187 return 0;
1188 }
1189 }
1190
1191
1192 /* prefix_code -- returns prefix length for block code*/
1193 static size_t prefix_code(char *data, size_t size){
1194 if( size>0 && data[0]=='\t' ) return 1;
1195 if( size>3 && data[0]==' ' && data[1]==' ' && data[2]==' ' && data[3]==' ' ){
1196 return 4;
1197 }
@@ -1244,11 +1244,11 @@
1244 struct render *rndr,
1245 char *data,
1246 size_t size);
1247
1248
1249 /* parse_blockquote -- hanldes parsing of a blockquote fragment */
1250 static size_t parse_blockquote(
1251 struct Blob *ob,
1252 struct render *rndr,
1253 char *data,
1254 size_t size
@@ -1294,11 +1294,11 @@
1294 release_work_buffer(rndr, out);
1295 return end;
1296 }
1297
1298
1299 /* parse_blockquote -- hanldes parsing of a regular paragraph */
1300 static size_t parse_paragraph(
1301 struct Blob *ob,
1302 struct render *rndr,
1303 char *data,
1304 size_t size
@@ -1377,11 +1377,11 @@
1377 }
1378 return end;
1379 }
1380
1381
1382 /* parse_blockquote -- hanldes parsing of a block-level code fragment */
1383 static size_t parse_blockcode(
1384 struct Blob *ob,
1385 struct render *rndr,
1386 char *data,
1387 size_t size
@@ -1813,11 +1813,11 @@
1813 size_t i = 0, col = 0;
1814 size_t beg, end, total = 0;
1815 struct Blob *cells = new_work_buffer(rndr);
1816 int align;
1817
1818 /* skip leading blanks and sperator */
1819 while( i<size && (data[i]==' ' || data[i]=='\t') ){ i++; }
1820 if( i<size && data[i]=='|' ) i++;
1821
1822 /* go over all the cells */
1823 while( i<size && total==0 ){
@@ -2030,11 +2030,11 @@
2030 static int is_ref(
2031 char *data, /* input text */
2032 size_t beg, /* offset of the beginning of the line */
2033 size_t end, /* offset of the end of the text */
2034 size_t *last, /* last character of the link */
2035 struct Blob *refs /* arry of link references */
2036 ){
2037 size_t i = 0;
2038 size_t id_offset, id_end;
2039 size_t link_offset, link_end;
2040 size_t title_offset, title_end;
2041
--- src/markdown.c
+++ src/markdown.c
@@ -35,12 +35,12 @@
35 #if INTERFACE
36
37 /* mkd_autolink -- type of autolink */
38 enum mkd_autolink {
39 MKDA_NOT_AUTOLINK, /* used internally when it is not an autolink*/
40 MKDA_NORMAL, /* normal http/http/ftp link */
41 MKDA_EXPLICIT_EMAIL, /* e-mail link with explicit mailto: */
42 MKDA_IMPLICIT_EMAIL /* e-mail link without mailto: */
43 };
44
45 /* mkd_renderer -- functions for rendering parsed data */
46 struct mkd_renderer {
@@ -348,11 +348,11 @@
348 if( i>=size || data[i]!='>' || nb!=1 ) return 0;
349 return i+1;
350 }
351
352
353 /* tag_length -- returns the length of the given tag, or 0 if it's not valid */
354 static size_t tag_length(char *data, size_t size, enum mkd_autolink *autolink){
355 size_t i, j;
356
357 /* a valid tag can't be shorter than 3 chars */
358 if( size<3 ) return 0;
@@ -403,11 +403,11 @@
403 }else if( (j = is_mail_autolink(data+i, size-i))!=0 ){
404 *autolink = (i==8) ? MKDA_EXPLICIT_EMAIL : MKDA_IMPLICIT_EMAIL;
405 return i+j;
406 }
407
408 /* looking for something looking like a tag end */
409 while( i<size && data[i]!='>' ){ i++; }
410 if( i>=size ) return 0;
411 return i+1;
412 }
413
@@ -520,11 +520,11 @@
520 }
521 return 0;
522 }
523
524
525 /* parse_emph1 -- parsing single emphasis */
526 /* closed by a symbol not preceded by whitespace and not followed by symbol */
527 static size_t parse_emph1(
528 struct Blob *ob,
529 struct render *rndr,
530 char *data,
@@ -565,11 +565,11 @@
565 }
566 return 0;
567 }
568
569
570 /* parse_emph2 -- parsing single emphasis */
571 static size_t parse_emph2(
572 struct Blob *ob,
573 struct render *rndr,
574 char *data,
575 size_t size,
@@ -604,11 +604,11 @@
604 }
605 return 0;
606 }
607
608
609 /* parse_emph3 -- parsing single emphasis */
610 /* finds the first closing tag, and delegates to the other emph */
611 static size_t parse_emph3(
612 struct Blob *ob,
613 struct render *rndr,
614 char *data,
@@ -777,11 +777,11 @@
777 return 2;
778 }
779
780
781 /* char_entity -- '&' escaped when it doesn't belong to an entity */
782 /* valid entities are assumed to be anything matching &#?[A-Za-z0-9]+; */
783 static size_t char_entity(
784 struct Blob *ob,
785 struct render *rndr,
786 char *data,
787 size_t offset,
@@ -1022,11 +1022,11 @@
1022 if( i+1==id_end ){
1023 /* implicit id - use the contents */
1024 id_data = data+1;
1025 id_size = txt_e-1;
1026 }else{
1027 /* explicit id - between brackets */
1028 id_data = data+i+1;
1029 id_size = id_end-(i+1);
1030 }
1031
1032 if( get_link_ref(rndr, link, title, id_data, id_size)<0 ){
@@ -1138,11 +1138,11 @@
1138
1139 return 0;
1140 }
1141
1142
1143 /* is_table_sep -- returns whether there is a table separator at pos */
1144 static int is_table_sep(char *data, size_t pos){
1145 return data[pos]=='|' && (pos==0 || data[pos-1]!='\\');
1146 }
1147
1148
@@ -1187,11 +1187,11 @@
1187 return 0;
1188 }
1189 }
1190
1191
1192 /* prefix_code -- returns prefix length for block code */
1193 static size_t prefix_code(char *data, size_t size){
1194 if( size>0 && data[0]=='\t' ) return 1;
1195 if( size>3 && data[0]==' ' && data[1]==' ' && data[2]==' ' && data[3]==' ' ){
1196 return 4;
1197 }
@@ -1244,11 +1244,11 @@
1244 struct render *rndr,
1245 char *data,
1246 size_t size);
1247
1248
1249 /* parse_blockquote -- handles parsing of a blockquote fragment */
1250 static size_t parse_blockquote(
1251 struct Blob *ob,
1252 struct render *rndr,
1253 char *data,
1254 size_t size
@@ -1294,11 +1294,11 @@
1294 release_work_buffer(rndr, out);
1295 return end;
1296 }
1297
1298
1299 /* parse_paragraph -- handles parsing of a regular paragraph */
1300 static size_t parse_paragraph(
1301 struct Blob *ob,
1302 struct render *rndr,
1303 char *data,
1304 size_t size
@@ -1377,11 +1377,11 @@
1377 }
1378 return end;
1379 }
1380
1381
1382 /* parse_blockcode -- handles parsing of a block-level code fragment */
1383 static size_t parse_blockcode(
1384 struct Blob *ob,
1385 struct render *rndr,
1386 char *data,
1387 size_t size
@@ -1813,11 +1813,11 @@
1813 size_t i = 0, col = 0;
1814 size_t beg, end, total = 0;
1815 struct Blob *cells = new_work_buffer(rndr);
1816 int align;
1817
1818 /* skip leading blanks and separator */
1819 while( i<size && (data[i]==' ' || data[i]=='\t') ){ i++; }
1820 if( i<size && data[i]=='|' ) i++;
1821
1822 /* go over all the cells */
1823 while( i<size && total==0 ){
@@ -2030,11 +2030,11 @@
2030 static int is_ref(
2031 char *data, /* input text */
2032 size_t beg, /* offset of the beginning of the line */
2033 size_t end, /* offset of the end of the text */
2034 size_t *last, /* last character of the link */
2035 struct Blob *refs /* array of link references */
2036 ){
2037 size_t i = 0;
2038 size_t id_offset, id_end;
2039 size_t link_offset, link_end;
2040 size_t title_offset, title_end;
2041

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button