Changeset 958de16 in mainline for tools/checkers/vcc.py


Ignore:
Timestamp:
2010-02-26T12:40:56Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e0b0c25
Parents:
a000878c
Message:

slightly better code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/checkers/vcc.py

    ra000878c r958de16  
    7070                # Ignore preprocessor directives
    7171                if (line.startswith('#')):
    72                         continue       
     72                        continue
    7373               
    7474                tmpf.write("%s\n" % line)
     
    107107                srcfname = arg[0]
    108108                tgtfname = arg[1]
     109                tool = arg[2]
     110                category = arg[3]
    109111                base = arg[4]
    110112                options = arg[5]
     
    119121               
    120122                # Only C files are interesting for us
    121                 if (arg[2] != "cc"):
     123                if (tool != "cc"):
    122124                        continue
    123125               
Note: See TracChangeset for help on using the changeset viewer.