Fossil SCM
Fix some errors/inconsistancies in SYSTAX error messages
Commit
ccc7724a511fad30331e4d77f609ce8858e72da8
Parent
13e2c73aec7fa12…
1 file changed
+5
-5
+5
-5
| --- src/manifest.c | ||
| +++ src/manifest.c | ||
| @@ -900,28 +900,28 @@ | ||
| 900 | 900 | if( !seenZ ) SYNTAX("missing Z-card in ticket"); |
| 901 | 901 | p->type = CFTYPE_TICKET; |
| 902 | 902 | }else if( p->zEventId ){ |
| 903 | 903 | if( p->rDate<=0.0 ) SYNTAX("missing date for event"); |
| 904 | 904 | if( p->zWikiTitle!=0 ) SYNTAX("L-card in event"); |
| 905 | - if( p->zWiki==0 ) SYNTAX("W-card in event"); | |
| 905 | + if( p->zWiki==0 ) SYNTAX("missing W-card in event"); | |
| 906 | 906 | if( p->zAttachName ) SYNTAX("A-card in event"); |
| 907 | 907 | for(i=0; i<p->nTag; i++){ |
| 908 | 908 | if( p->aTag[i].zName[0]!='+' ) SYNTAX("propagating tag in event"); |
| 909 | 909 | if( p->aTag[i].zUuid!=0 ) SYNTAX("non-self-referential tag in event"); |
| 910 | 910 | } |
| 911 | - if( !seenZ ) SYNTAX("Z-card missing in event"); | |
| 911 | + if( !seenZ ) SYNTAX("missing Z-card in event"); | |
| 912 | 912 | p->type = CFTYPE_EVENT; |
| 913 | 913 | }else if( p->zWiki!=0 || p->zWikiTitle!=0 ){ |
| 914 | - if( p->rDate<=0.0 ) SYNTAX("date missing on wiki"); | |
| 914 | + if( p->rDate<=0.0 ) SYNTAX("missing date on wiki"); | |
| 915 | 915 | if( p->nTag>0 ) SYNTAX("T-card in wiki"); |
| 916 | 916 | if( p->zWiki==0 ) SYNTAX("missing W-card in wiki"); |
| 917 | - if( p->zWikiTitle==0 ) SYNTAX("L-card in wiki"); | |
| 917 | + if( p->zWikiTitle==0 ) SYNTAX("missing L-card in wiki"); | |
| 918 | 918 | if( p->zAttachName ) SYNTAX("A-card in wiki"); |
| 919 | 919 | if( !seenZ ) SYNTAX("missing Z-card on wiki"); |
| 920 | 920 | p->type = CFTYPE_WIKI; |
| 921 | 921 | }else if( p->nTag>0 ){ |
| 922 | - if( p->rDate<=0.0 ) SYNTAX("date missing on tag"); | |
| 922 | + if( p->rDate<=0.0 ) SYNTAX("missing date on tag"); | |
| 923 | 923 | if( p->nParent>0 ) SYNTAX("P-card on tag"); |
| 924 | 924 | if( p->zAttachName ) SYNTAX("A-card in tag"); |
| 925 | 925 | if( p->zMimetype ) SYNTAX("N-card in tag"); |
| 926 | 926 | if( !seenZ ) SYNTAX("missing Z-card on tag"); |
| 927 | 927 | for(i=0; i<p->nTag; i++){ |
| 928 | 928 |
| --- src/manifest.c | |
| +++ src/manifest.c | |
| @@ -900,28 +900,28 @@ | |
| 900 | if( !seenZ ) SYNTAX("missing Z-card in ticket"); |
| 901 | p->type = CFTYPE_TICKET; |
| 902 | }else if( p->zEventId ){ |
| 903 | if( p->rDate<=0.0 ) SYNTAX("missing date for event"); |
| 904 | if( p->zWikiTitle!=0 ) SYNTAX("L-card in event"); |
| 905 | if( p->zWiki==0 ) SYNTAX("W-card in event"); |
| 906 | if( p->zAttachName ) SYNTAX("A-card in event"); |
| 907 | for(i=0; i<p->nTag; i++){ |
| 908 | if( p->aTag[i].zName[0]!='+' ) SYNTAX("propagating tag in event"); |
| 909 | if( p->aTag[i].zUuid!=0 ) SYNTAX("non-self-referential tag in event"); |
| 910 | } |
| 911 | if( !seenZ ) SYNTAX("Z-card missing in event"); |
| 912 | p->type = CFTYPE_EVENT; |
| 913 | }else if( p->zWiki!=0 || p->zWikiTitle!=0 ){ |
| 914 | if( p->rDate<=0.0 ) SYNTAX("date missing on wiki"); |
| 915 | if( p->nTag>0 ) SYNTAX("T-card in wiki"); |
| 916 | if( p->zWiki==0 ) SYNTAX("missing W-card in wiki"); |
| 917 | if( p->zWikiTitle==0 ) SYNTAX("L-card in wiki"); |
| 918 | if( p->zAttachName ) SYNTAX("A-card in wiki"); |
| 919 | if( !seenZ ) SYNTAX("missing Z-card on wiki"); |
| 920 | p->type = CFTYPE_WIKI; |
| 921 | }else if( p->nTag>0 ){ |
| 922 | if( p->rDate<=0.0 ) SYNTAX("date missing on tag"); |
| 923 | if( p->nParent>0 ) SYNTAX("P-card on tag"); |
| 924 | if( p->zAttachName ) SYNTAX("A-card in tag"); |
| 925 | if( p->zMimetype ) SYNTAX("N-card in tag"); |
| 926 | if( !seenZ ) SYNTAX("missing Z-card on tag"); |
| 927 | for(i=0; i<p->nTag; i++){ |
| 928 |
| --- src/manifest.c | |
| +++ src/manifest.c | |
| @@ -900,28 +900,28 @@ | |
| 900 | if( !seenZ ) SYNTAX("missing Z-card in ticket"); |
| 901 | p->type = CFTYPE_TICKET; |
| 902 | }else if( p->zEventId ){ |
| 903 | if( p->rDate<=0.0 ) SYNTAX("missing date for event"); |
| 904 | if( p->zWikiTitle!=0 ) SYNTAX("L-card in event"); |
| 905 | if( p->zWiki==0 ) SYNTAX("missing W-card in event"); |
| 906 | if( p->zAttachName ) SYNTAX("A-card in event"); |
| 907 | for(i=0; i<p->nTag; i++){ |
| 908 | if( p->aTag[i].zName[0]!='+' ) SYNTAX("propagating tag in event"); |
| 909 | if( p->aTag[i].zUuid!=0 ) SYNTAX("non-self-referential tag in event"); |
| 910 | } |
| 911 | if( !seenZ ) SYNTAX("missing Z-card in event"); |
| 912 | p->type = CFTYPE_EVENT; |
| 913 | }else if( p->zWiki!=0 || p->zWikiTitle!=0 ){ |
| 914 | if( p->rDate<=0.0 ) SYNTAX("missing date on wiki"); |
| 915 | if( p->nTag>0 ) SYNTAX("T-card in wiki"); |
| 916 | if( p->zWiki==0 ) SYNTAX("missing W-card in wiki"); |
| 917 | if( p->zWikiTitle==0 ) SYNTAX("missing L-card in wiki"); |
| 918 | if( p->zAttachName ) SYNTAX("A-card in wiki"); |
| 919 | if( !seenZ ) SYNTAX("missing Z-card on wiki"); |
| 920 | p->type = CFTYPE_WIKI; |
| 921 | }else if( p->nTag>0 ){ |
| 922 | if( p->rDate<=0.0 ) SYNTAX("missing date on tag"); |
| 923 | if( p->nParent>0 ) SYNTAX("P-card on tag"); |
| 924 | if( p->zAttachName ) SYNTAX("A-card in tag"); |
| 925 | if( p->zMimetype ) SYNTAX("N-card in tag"); |
| 926 | if( !seenZ ) SYNTAX("missing Z-card on tag"); |
| 927 | for(i=0; i<p->nTag; i++){ |
| 928 |