Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clearer comment about _type_table iterator #34

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Clearer comment about _type_table iterator
  • Loading branch information
MBetters authored Apr 30, 2019
commit 6756ae5b216d1d64787cdba0a6a02afcb4892809
2 changes: 1 addition & 1 deletion JaiPrimer.md
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ Jai stores a table of all type information in the data segment of each compiled

```cpp
for _type_table {
// it is the iterator, it is the Type being examined. it_index is the iteration index, it is an integer
// "it" is the iterator and is the Type being examined. "it_index" is the iteration index and is an integer
print("%:\n", it_index);
print(" name: %\n", it.name);
print(" type: %\n", it.type); // type is an enum, INTEGER, FLOAT, BOOL, STRUCT, etc
Expand Down