Changeset d33b67a in git


Ignore:
Timestamp:
16/01/14 03:46:46 (6 years ago)
Author:
Olly Betts <olly@…>
Branches:
line_contents, master, stereo, travis-osx
Children:
da6367cd
Parents:
dd83970
Message:

lib/extract-msgs.pl: Fix to handle there being a comment before the
comment with the message in.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    rdd83970 rd33b67a  
     1Thu Jan 16 03:46:23 GMT 2014  Olly Betts <olly@survex.com>
     2
     3        * lib/extract-msgs.pl: Fix to handle there being a comment before the
     4          comment with the message in.
     5
    16Thu Jan 16 03:17:24 GMT 2014  Olly Betts <olly@survex.com>
    27
  • lib/extract-msgs.pl

    rdd83970 rd33b67a  
    1414    while (m!/\*(.*?)\*/(\d+)\b!g) {
    1515        my ($msg, $msgno) = ($1, $2);
     16        # Handle there being a comment before the comment with the message in.
     17        $msg =~ s!.*/\*!!;
    1618        if (exists $msgs{$msgno}) {
    1719            if ($msgs{$msgno} ne $msg) {
Note: See TracChangeset for help on using the changeset viewer.