(self)
return common_scalars, common_arrays
Get all COMMON declarations.
Get all COMMON declarations.
Get all COMMON declarations .
def gather_commons(self):
        """Get all COMMON declarations."""
        common_scalars = set()
        common_arrays = set()
        current = self._program_code.tell()
        self._program_code.seek(0)
        while self._program_code.skip_to_token(tk.COMMON):
            self._program_code.read(len(tk.COMMON))
            self._add_common_vars(common_scalars, common_arrays)
        self._program_code.seek(current)
        return common_scalars, common_arrays
def gather_commons ( self ) : common_scalars = set ( ) common_arrays = set ( ) current = self . _program_code . tell ( ) self . _program_code . seek ( 0 ) while self . _program_code . skip_to_token ( tk . COMMON ) : self . _program_code . read ( len ( tk . COMMON ) ) self . _add_common_vars ( common_scalars , common_arrays ) self . _program_code . seek ( current ) return common_scalars , common_arrays