logo       


src/tools/melange parse-conditions.dylan,1.4,1.4.16.1: msg#00144

Subject: src/tools/melange parse-conditions.dylan,1.4,1.4.16.1
Update of /var/lib/cvs/src/tools/melange
In directory cantor:/tmp/cvs-serv15701

Modified Files:
      Tag: gd-2-3-newio
        parse-conditions.dylan 
Log Message:
Update for newio condition reporting.


Index: parse-conditions.dylan
===================================================================
RCS file: /var/lib/cvs/src/tools/melange/parse-conditions.dylan,v
retrieving revision 1.4
retrieving revision 1.4.16.1
diff -u -d -r1.4 -r1.4.16.1
--- parse-conditions.dylan      10 Apr 1999 09:57:09 -0000      1.4
+++ parse-conditions.dylan      25 Feb 2004 22:48:54 -0000      1.4.16.1
@@ -142,31 +142,19 @@
 //  when I catch someone using it. There's too many codepaths in the
 //  Dylan libraries which might use it, and I want to find them all.
 
-define method report-condition
+define method print-message
     (parse-condition :: <format-string-parse-condition>,
-     stream,
+     stream :: <stream>,
      #next next-method)
  => ();
-
-  // Temporary debugging code. Warn me when someone pulls this
-  // stupid stunt.
-  if (stream == #"Cheap-IO")
-    format(*standard-error*, "Somebody's using #\"Cheap-IO\"!\n");
-    force-output(*standard-error*);
-  end if;
-
   describe-source-location(parse-condition.parse-condition-source-location,
                           stream);
-  apply(condition-format, stream, parse-condition.condition-format-string,
+  apply(format, stream, parse-condition.condition-format-string,
        parse-condition.condition-format-arguments);
-  unless (stream == #"Cheap-IO")
-    force-output(stream);
-  end unless;
-end method report-condition;
+end method print-message;
 
 define method default-handler(condition :: <parse-progress-report>)
   if (*show-parse-progress?*)
-    report-condition(condition, *warning-output*);
-    condition-format(*warning-output*, "\n");
+    format(*warning-output*, "%s\n", condition);
   end;
 end method default-handler;

_______________________________________________
Gd-chatter mailing list
Gd-chatter@xxxxxxxxxxxxxxxx
http://www.gwydiondylan.org/mailman/listinfo/gd-chatter



Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
Search:
Java, servers, webhosting, windows, cisco ...
more...
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
encryption.gpg....    ietf.rfc822/199...    freebsd.devel.i...    lang.haskell.li...    mail.squirrelma...    web.zope.plone....    yellowdog.gener...    text.xml.xalan....    recreation.phot...    kde.devel.educa...    hardware.bus.ca...    printing.ghosts...    voip.peering/20...    assembly/2006-0...    org.user-groups...    culture.interne...    network.i2p/200...    boot-loaders.ya...    xfree86.render/...    qnx.openqnx.dev...    jakarta.velocit...    user-groups.pal...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe