@@ -2209,10 +2209,10 @@ def p_save_data(p):
22092209 else :
22102210 length = make_number (entry .type_ .size , lineno = p .lineno (4 ))
22112211 else :
2212- access = SYMBOL_TABLE .access_id ('.ZXBASIC_USER_DATA' , p .lineno (3 ))
2212+ access = SYMBOL_TABLE .access_label ('.ZXBASIC_USER_DATA' , p .lineno (3 ), 0 )
22132213 start = make_unary (p .lineno (3 ), 'ADDRESS' , access , type_ = TYPE .uinteger )
22142214
2215- access = SYMBOL_TABLE .access_id ('.ZXBASIC_USER_DATA_LEN' , p .lineno (3 ))
2215+ access = SYMBOL_TABLE .access_label ('.ZXBASIC_USER_DATA_LEN' , p .lineno (3 ), 0 )
22162216 length = make_unary (p .lineno (3 ), 'ADDRESS' , access , type_ = TYPE .uinteger )
22172217
22182218 p [0 ] = make_sentence (p [1 ], p [2 ], start , length )
@@ -2278,10 +2278,10 @@ def p_load_data(p):
22782278 else :
22792279 length = make_number (entry .type_ .size , lineno = p .lineno (4 ))
22802280 else :
2281- entry = SYMBOL_TABLE .access_id ('.ZXBASIC_USER_DATA' , p .lineno (3 ))
2281+ entry = SYMBOL_TABLE .access_label ('.ZXBASIC_USER_DATA' , p .lineno (3 ), 0 )
22822282 start = make_unary (p .lineno (3 ), 'ADDRESS' , entry , type_ = TYPE .uinteger )
22832283
2284- entry = SYMBOL_TABLE .access_id ('.ZXBASIC_USER_DATA_LEN' , p .lineno (3 ))
2284+ entry = SYMBOL_TABLE .access_label ('.ZXBASIC_USER_DATA_LEN' , p .lineno (3 ), 0 )
22852285 length = make_unary (p .lineno (3 ), 'ADDRESS' , entry , type_ = TYPE .uinteger )
22862286
22872287 p [0 ] = make_sentence (p [1 ], p [2 ], start , length )
0 commit comments