# | Line 138 | Line 138 | int Globals::componentAssign( event* the_event ){ | |
---|---|---|
138 | switch( the_event->evt.asmt.asmt_type ){ | |
139 | ||
140 | case STRING: | |
141 | < | current_component->assignString( the_event->evt.asmt.lhs, |
142 | < | the_event->evt.asmt.rhs.sval ); |
143 | < | return 1; |
141 | > | return current_component->assignString( the_event->evt.asmt.lhs, |
142 | > | the_event->evt.asmt.rhs.sval, |
143 | > | &(the_event->err_msg)); |
144 | break; | |
145 | ||
146 | case DOUBLE: | |
147 | < | current_component->assignDouble( the_event->evt.asmt.lhs, |
148 | < | the_event->evt.asmt.rhs.dval ); |
149 | < | return 1; |
147 | > | return current_component->assignDouble( the_event->evt.asmt.lhs, |
148 | > | the_event->evt.asmt.rhs.dval, |
149 | > | &(the_event->err_msg)); |
150 | break; | |
151 | ||
152 | case INT: | |
153 | < | current_component->assignInt( the_event->evt.asmt.lhs, |
154 | < | the_event->evt.asmt.rhs.ival ); |
155 | < | return 1; |
153 | > | return current_component->assignInt( the_event->evt.asmt.lhs, |
154 | > | the_event->evt.asmt.rhs.ival, |
155 | > | &(the_event->err_msg)); |
156 | break; | |
157 | ||
158 | default: | |
# | Line 812 | Line 812 | void Globals::addHash( char* text, int token ){ | |
812 | key = hash( text ); | |
813 | the_element->setNext( command_table[key] ); | |
814 | command_table[key] = the_element; | |
815 | < | }; |
815 | > | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |