Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site wateng.UUCP Path: utzoo!watmath!wateng!ksbszabo From: ksbszabo@wateng.UUCP (Kevin S. B. Szabo) Newsgroups: net.sources Subject: Small bug found in CALLS, here's the fix---- Message-ID: <1243@wateng.UUCP> Date: Fri, 20-Jul-84 14:01:27 EDT Article-I.D.: wateng.1243 Posted: Fri Jul 20 14:01:27 1984 Date-Received: Sat, 21-Jul-84 02:38:12 EDT Organization: U of Waterloo, Ontario Lines: 20 Many thanks to Sanjay Radia for finding and fixing this one: When scanning for #defines, calls does not check for \s. Thus a #define spawning multi-line with {s & }s will generate bracket obverflow/underflow errors EG: #define a() {} #define b() {\ } <--- will cause error. FIX: 161c145,147 < while ((c= getch()) != '\n'); --- > while ((c= getch()) != '\n') > if (c == '\\') > getch(); Kevin -- Kevin Szabo watmath!wateng!ksbszabo (Elec Eng, U of Waterloo)