From: Eric S. Raymond Date: Thu, 22 Jan 2004 17:58:48 +0000 (+0000) Subject: Make filtering work. X-Git-Tag: 1.0~177 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=872526b767c94b1bb53cdfb5ff58f9d689911ec6;p=mad.git Make filtering work. --- diff --git a/mad b/mad index 33f2bcb..42f0192 100755 --- a/mad +++ b/mad @@ -546,7 +546,7 @@ if __name__ == '__main__': # Perform global analysis analyze(deck) # Generate code - if arguments == ('-',): + if arguments == ['-']: generate(sys.stdout) elif len(arguments) == 1: out = open(arguments[0][:-4] + ".c", "w")