Free Hero Mesh

Check-in [b93ef3c599]
Login
This is a mirror of the main repository for Free Hero Mesh. New tickets and changes will not be accepted at this mirror.
Overview
Comment:Correct parsing instructions to write to global variables
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: b93ef3c5994e0c25fa5ed338db773ca4896ee728
User & Date: user on 2021-03-24 22:17:04
Other Links: manifest | tags
Context
2021-03-24
22:17
Implement warping in move_dir check-in: 20c6a757c5 user: user tags: trunk
22:17
Correct parsing instructions to write to global variables check-in: b93ef3c599 user: user tags: trunk
04:23
Add some missing documentation of From/Arg1/Arg2/Arg3 values of some messages. check-in: 0797afdd8b user: user tags: trunk
Changes

Modified class.c from [2180751321] to [e332480536].

523
524
525
526
527
528
529

530
531
532
533
534
535
536
      tokent=TF_NAME|TF_ABNORMAL|fl;
      tokenv=OP_LOCAL;
      break;
    case '@':
      if(fl&TF_COMMA) ParseError("Invalid use of , in token\n");
      tokent=TF_NAME|fl;
      tokenv=look_hash(glohash,HASH_SIZE,0x2800,0x2FFF,num_globals+0x2800,"user global variables")?:(num_globals++)+0x2800;

      break;
    case '#':
      if(fl) ParseError("Invalid use of , and = in token\n");
      tokent=TF_NAME;
      tokenv=look_message_name()+0xC000;
      break;
    case ':':







>







523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
      tokent=TF_NAME|TF_ABNORMAL|fl;
      tokenv=OP_LOCAL;
      break;
    case '@':
      if(fl&TF_COMMA) ParseError("Invalid use of , in token\n");
      tokent=TF_NAME|fl;
      tokenv=look_hash(glohash,HASH_SIZE,0x2800,0x2FFF,num_globals+0x2800,"user global variables")?:(num_globals++)+0x2800;
      if(fl&TF_EQUAL) tokenv+=0x1000;
      break;
    case '#':
      if(fl) ParseError("Invalid use of , and = in token\n");
      tokent=TF_NAME;
      tokenv=look_message_name()+0xC000;
      break;
    case ':':