1# Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 2# Copyright (c) 2009 The Hewlett-Packard Development Company 3# All rights reserved. 4# 5# Redistribution and use in source and binary forms, with or without 6# modification, are permitted provided that the following conditions are 7# met: redistributions of source code must retain the above copyright 8# notice, this list of conditions and the following disclaimer; --- 27 unchanged lines hidden (view full) --- 36 def __init__(self, slicc): 37 self.slicc = slicc 38 39 self.sym_vec = [] 40 self.sym_map_vec = [ {} ] 41 self.machine_components = {} 42 43 pairs = {} |
44 pairs["primitive"] = "yes" 45 pairs["external"] = "yes" 46 location = Location("init", 0, no_warning=not slicc.verbose) 47 void = Type(self, "void", location, pairs) 48 self.newSymbol(void) 49 50 def __repr__(self): 51 return "[SymbolTable]" # FIXME --- 122 unchanged lines hidden --- |