Fossil

Check-in [f90ecf89]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix a bug in makeheaders.c found by Seth Kingsley.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: f90ecf892c07e7f2f493f31666fc6828c15558dc5a98bb5d60dd754c6ac15379
User & Date: drh 2018-04-30 00:20:21.329
Context
2018-05-03
16:54
Change the version number to 2.6 and update the change log in preparation for a release. ... (check-in: 98b4cb33 user: drh tags: trunk)
2018-04-30
00:20
Fix a bug in makeheaders.c found by Seth Kingsley. ... (check-in: f90ecf89 user: drh tags: trunk)
2018-04-27
00:52
Fix typo in annotate documentation ... (check-in: 4dcda7d9 user: andygoth tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/makeheaders.c.
1470
1471
1472
1473
1474
1475
1476

1477
1478
1479
1480
1481
1482
1483
    *pReset = ';';
    return 0;
  }

  for(pEnd=pName->pNext; pEnd && pEnd->eType!=TT_Braces; pEnd=pEnd->pNext){
    switch( pEnd->zText[0] ){
      case '(':

      case '*':
      case '[':
      case '=':
      case ';':
        return 0;
    }
  }







>







1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
    *pReset = ';';
    return 0;
  }

  for(pEnd=pName->pNext; pEnd && pEnd->eType!=TT_Braces; pEnd=pEnd->pNext){
    switch( pEnd->zText[0] ){
      case '(':
      case ')':
      case '*':
      case '[':
      case '=':
      case ';':
        return 0;
    }
  }