]> thyrsus.com Git - mad.git/commitdiff
Nuke another global.
authorEric S. Raymond <esr@thyrsus,com>
Thu, 19 Feb 2004 03:17:59 +0000 (03:17 +0000)
committerEric S. Raymond <esr@thyrsus,com>
Thu, 19 Feb 2004 03:17:59 +0000 (03:17 +0000)
mad

diff --git a/mad b/mad
index 0fc7a15bfca7ba66a98f8217631913db7066a9d5..3350d28236ba3bec56583cdf4e2be22d493f2fec 100755 (executable)
--- a/mad
+++ b/mad
@@ -125,7 +125,6 @@ sourceline = 0              # Current source line for error messages
 deck = []              # List of tuples generated by parsing
 targets = {}           # Dictionary of targets of TRANSFERs
 headers = []           # Required .h file basenames
-funcnames = ["main."]  # List of function names
 dimensions = {}                # Dictionary of array depths
 arraydepths = {}       # Dictionary of array dimensions
 returntypes = {"main.":'int'}  # Dictionary of function returntypes
@@ -248,7 +247,6 @@ def p_intlist_continue(t):
 def p_internal(t):
     "statement : INTERNAL FUNCTION FUNCALL application EQUALS expression"
     t[0] = ('internal', t[3], tuple(t[4]), t[6])
-    funcnames.append(t[3])
 
 ## NORMAL MODE IS
 def p_normal(t):