Changeset 8bca531 in git


Ignore:
Timestamp:
20/09/11 13:41:16 (8 years ago)
Author:
Olly Betts <olly@…>
Branches:
svn/1.0, svn/tags/1.0.40
Children:
cdb3741
Parents:
f95f93d
Message:

Backport changes from 1.2.0:
src/listpos.c: In "Station X referred to by *entrance or *export but
never used" warning, give file and linenumber where the *entrance or
*export occurred.
src/listpos.c: In "Station X referred to just once, with an explicit
prefix - typo?" warning, give file and linenumber where the *equate
occurred.

git-svn-id: file:///home/survex-svn/survex/branches/1.0@3714 4b37db11-9a0c-4f06-9ece-9ab7cdaee568

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    rf95f93d r8bca531  
     1Tue Sep 20 12:39:41 GMT 2011  Olly Betts <olly@survex.com>
     2
     3        * Backport changes from 1.2.0:
     4        * src/listpos.c: In "Station X referred to by *entrance or *export but
     5          never used" warning, give file and linenumber where the *entrance or
     6          *export occurred.
     7        * src/listpos.c: In "Station X referred to just once, with an explicit
     8          prefix - typo?" warning, give file and linenumber where the *equate
     9          occurred.
     10
    111Tue Sep 20 12:37:25 GMT 2011  Olly Betts <olly@survex.com>
    212
  • src/listpos.c

    rf95f93d r8bca531  
    8383              * because of an error.
    8484              */
    85              warning(/*Station `%s' referred to by *entrance or *export but never used*/190,
     85             warning_in_file(p->filename, p->line,
     86                     /*Station `%s' referred to by *entrance or *export but never used*/190,
    8687                     sprint_prefix(p));
    8788         }
     
    101102
    102103      if (TSTBIT(p->sflags, SFLAGS_SUSPECTTYPO)) {
    103          warning(/*Station `%s' referred to just once, with an explicit prefix - typo?*/70,
     104         warning_in_file(p->filename, p->line,
     105                 /*Station `%s' referred to just once, with an explicit prefix - typo?*/70,
    104106                 sprint_prefix(p));
    105107      }
Note: See TracChangeset for help on using the changeset viewer.