OSSP CVS Repository

ossp - Check-in [1420]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 1420
Date: 2001-Dec-12 17:52:56 (local)
2001-Dec-12 16:52:56 (UTC)
User:simons
Branch:
Comment: Support the loop construct only if startindex has been set.
Tickets:
Inspections:
Files:
ossp-pkg/var/var.c      1.43 -> 1.44     1 inserted, 1 deleted

ossp-pkg/var/var.c 1.43 -> 1.44

--- var.c        2001/12/12 16:51:20     1.43
+++ var.c        2001/12/12 16:52:56     1.44
@@ -1853,7 +1853,7 @@
     do {
         printf("input(): Parsing string '%s'.\n", begin);
 
-        if (begin != end && *begin == config->startindex)
+        if (begin != end && config->startindex && *begin == config->startindex)
             {
             printf("Found loop construct.\n");
             wcon.lookup = lookup;

CVSTrac 2.0.1