ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-3.0/src/io/BASS_parse.c
(Generate patch)

Comparing trunk/OOPSE-3.0/src/io/BASS_parse.c (file contents):
Revision 1930 by gezelter, Wed Jan 12 22:41:40 2005 UTC vs.
Revision 2204 by gezelter, Fri Apr 15 22:04:00 2005 UTC

# Line 1 | Line 1
1 < /*
1 > /*
2   * Copyright (c) 2005 The University of Notre Dame. All Rights Reserved.
3   *
4   * The University of Notre Dame grants you ("Licensee") a
# Line 57 | Line 57 | unsigned short is_initialized = 0; // tells whether to
57  
58   //*** Global functions, variables, and structures ************
59  
60 < unsigned short is_initialized = 0; // tells whether to init the linked list
60 >    unsigned short is_initialized = 0; // tells whether to init the linked list
61  
62   // reserved word elements for the hash table
63   struct res_element{
# Line 88 | Line 88 | struct defined_element** defined_list = NULL; // the d
88   //*** The Functions *******************************************
89  
90  
91 < /*
92 <  function to initialize the list of reserved words into memory.
93 < */
91 >  /*
92 >    function to initialize the list of reserved words into memory.
93 >  */
94  
95   void initialize_res_list(){
96    
# Line 125 | Line 125 | void initialize_res_list(){
125  
126  
127   /*
128 <   checks for reserved words.
129 <   If a reserved word is found, returns the token,
130 <   else returns 0.
128 >  checks for reserved words.
129 >  If a reserved word is found, returns the token,
130 >  else returns 0.
131   */
132  
133   int res_word( char* text ){
# Line 189 | Line 189 | int is_defined( char* text ){
189    key = hash( text );
190  
191    if( defined_list != NULL ){
192 <        def_ptr = defined_list[key];
192 >    def_ptr = defined_list[key];
193      
194      while( def_ptr != NULL ){
195        

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines