diff options
| author | welinder@troll.com <welinder@troll.com> | 2004-11-16 11:15:36 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-07 21:04:30 -0700 |
| commit | f6e1744364df87858d9fd1f54cb038733c56ff78 (patch) | |
| tree | c21f9f18e5e81de5b732832982c789eb4cbdedcd /cgcc | |
| parent | 184dbe28ce530df2d9df7b88dbd0c5806475cc58 (diff) | |
| download | sparse-dev-f6e1744364df87858d9fd1f54cb038733c56ff78.tar.gz | |
check.c:
Teach check that "-" is stdin.
cgcc:
Teach cgcc that "-" is a file.
Diffstat (limited to 'cgcc')
| -rw-r--r-- | cgcc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -16,6 +16,9 @@ foreach (@ARGV) { # with arguments, but it seems to do the job.) $do_check = 1 if /^[^-].*\.c$/; + # Ditto for stdin. + $do_check = 1 if $_ eq '-'; + $m64 = 1 if /^-m64$/; if (/^-specs=(.*)$/) { |
