Skip to content

Commit

Permalink
Merge pull request #1355 from GaijinEntertainment/empty_table
Browse files Browse the repository at this point in the history
also empty tables
  • Loading branch information
borisbat authored Nov 5, 2024
2 parents 077129d + fc9e683 commit 54630ca
Show file tree
Hide file tree
Showing 7 changed files with 33,691 additions and 33,537 deletions.
2 changes: 2 additions & 0 deletions examples/test/misc/hello_world.das
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,8 @@ def test_tables() {
let c : table<int;int> <- { 1=>1, 2=>2, 3=>3, 4=>4, 5=>5 }; // table of integers, key-value pairs
let d : table<int;int> <- table<int;int>(1=>1,2=>2,3=>3,4=>4,5=>5); // table of integers, key-value pairs
let D : table<int;int> <- table(1=>1,2=>2,3=>3,4=>4,5=>5); // table of integers, key-value pairs
let e : table<int> <- table<int>(); // empty table of integers
let f : table<int;int> <- table<int;int>(); // empty table of integers, key-value pairs
}

/////////////////
Expand Down
6,180 changes: 3,108 additions & 3,072 deletions src/parser/ds2_parser.cpp

Large diffs are not rendered by default.

Loading

0 comments on commit 54630ca

Please sign in to comment.