Ignore:
Timestamp:
Sep 3, 2024, 12:08:09 PM (3 months ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
master
Children:
737bf73
Parents:
cdbb909
Message:

Changed the interpritation of () to be no parameters instead of any parameters. This had a lot of little changes because of this and some nearby clean-up. This includes some changes, including changing some generated functions to be fixed-args instead of variable-args, stripping out the place holder void parameter earlier, but it still shows up earlier in some cases that examine the parser directly. Also had to update the function generation tools. Have only tested with one --arch. Hopefully this all works out.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/parser.yy

    rcdbb909 rdb19e1d  
    28892889parameter_list_ellipsis_opt:
    28902890        // empty
    2891                 { $$ = nullptr; }
     2891                { $$ = DeclarationNode::newFromTypeData( build_basic_type( TypeData::Void ) ); }
    28922892        | ELLIPSIS
    28932893                { $$ = nullptr; }
Note: See TracChangeset for help on using the changeset viewer.