Diff for /parser3/src/include/pa_array.h between versions 1.102 and 1.104

version 1.102, 2024/12/23 16:59:17 version 1.104, 2025/05/28 00:58:02
Line 318  public: Line 318  public:
         inline size_t index() {          inline size_t index() {
                 return fcurrent - farray.felements;                  return fcurrent - farray.felements;
         }          }
   
         // returns the current index string value of the iterator  
         inline char *key() {  
                 return pa_uitoa(index());  
         }  
 };  };
   
 // Slower array iterator for arrays that can be modified during iteration  // Slower array iterator for arrays that can be modified during iteration
Line 349  public: Line 344  public:
         inline size_t index() {          inline size_t index() {
                 return findex;                  return findex;
         }          }
   
         inline char* key() {  
                 return pa_uitoa(findex);  
         }  
 };  };
   
 // Robust as used for arrays that can be modified during iteration  // Robust as used for arrays that can be modified during iteration
Line 375  public: Line 366  public:
         inline size_t index() {          inline size_t index() {
                 return findex;                  return findex;
         }          }
   
         inline char *key() {  
                 return pa_uitoa(index());  
         }  
 };  };
 #endif  #endif

Removed from v.1.102  
changed lines
  Added in v.1.104


E-mail: