aboutsummaryrefslogtreecommitdiffhomepage
path: root/src-cslul/tree.c
AgeCommit message (Expand)AuthorFilesLines
2024-05-11Update copyright yearsSamuel Lidén Borell1-1/+1
2024-03-03Add assert()'s to silence some gcc -fanalyzer warningsSamuel Lidén Borell1-0/+2
2024-03-02Detect type-confusion of structs in SLUL_DEBUG modeSamuel Lidén Borell1-0/+1
2023-10-01Check version when binding identifiers across modulesSamuel Lidén Borell1-4/+5
2023-09-17Add tree_search_node() and tree_search_tok() for easier tree lookupSamuel Lidén Borell1-0/+7
2023-09-16Avoid some strlen callsSamuel Lidén Borell1-2/+1
2023-07-15Update copyright yearsSamuel Lidén Borell1-1/+1
2023-04-30Parsing and basic checks of literal struct values with named fieldsSamuel Lidén Borell1-0/+7
2022-08-14Update copyright yearsSamuel Lidén Borell1-1/+1
2022-05-07Move checking of versioned definitions to tlverify.cSamuel Lidén Borell1-1/+1
2022-04-24Fixes for building/running on WindowsSamuel Lidén Borell1-1/+1
2022-04-09Avoid most usages of identifiers reserved for future use in CSamuel Lidén Borell1-1/+1
2022-03-06Parsing of definitions of type identifiersSamuel Lidén Borell1-13/+30
2022-02-16Add cppcheck target to Makefile and fix warningsSamuel Lidén Borell1-13/+2
2022-02-13Refactor tree_insert to store new/existing status in returned nodeSamuel Lidén Borell1-7/+13
2022-01-29Fix standards-violating usage of memset'ed data as NULL pointersSamuel Lidén Borell1-7/+13
2022-01-23Binding of types across modules (part 1)Samuel Lidén Borell1-3/+3
2022-01-02Rename structs/enums to avoid all-caps typesSamuel Lidén Borell1-5/+5
2021-12-19Add tree iteratorSamuel Lidén Borell1-0/+57
2021-11-26Revert "Remove dead code in tree.c"Samuel Lidén Borell1-8/+16
2021-11-02Use non-zero pattern for memset in testsSamuel Lidén Borell1-1/+9
2021-10-31Rename aalloc_strndup to aalloc_memzdup. Refactor code to use itSamuel Lidén Borell1-1/+1
2021-08-28Add testing of out-of-memory handling, and fix bugsSamuel Lidén Borell1-3/+7
2021-08-21Replace standard-violating memsets with NULL assignments. Prefix a #defineSamuel Lidén Borell1-0/+10
2021-08-20Remove dead code in tree.cSamuel Lidén Borell1-16/+8
2021-07-28Replace strncmp on known-length strings with memcmpSamuel Lidén Borell1-1/+1
2021-07-27Beginnings of a verifierSamuel Lidén Borell1-0/+2
2021-07-26Track source locations of identifier declarationsSamuel Lidén Borell1-3/+5
2021-07-23Parser cleanups and optimizations. Update profiling rules in MakefileSamuel Lidén Borell1-1/+1
2021-07-21Forbid Windows special device names in filenamesSamuel Lidén Borell1-1/+1
2021-07-18Increase unit test coverage, and fix bugs foundSamuel Lidén Borell1-1/+1
2021-07-18Compile with more warning options, and fix found bugsSamuel Lidén Borell1-1/+1
2021-06-29Add "tcc -b" (bounds check) target for unittests, and fix errorsSamuel Lidén Borell1-2/+2
2021-06-28Add "aallocp" shorthand for allocating with pointer-sized alignmentSamuel Lidén Borell1-1/+1
2021-05-02Parsing of reference and identifier typesSamuel Lidén Borell1-0/+3
2021-05-02Fix handling of already used and already declared identifiersSamuel Lidén Borell1-20/+31
2021-04-17Fix AVL rotated subtree pointer updateSamuel Lidén Borell1-13/+6
2021-04-03Replace [targets] with "type" attribute. Add check of name and version syntaxSamuel Lidén Borell1-1/+1
2021-04-03Add source filenames to a tree and detect duplicatesSamuel Lidén Borell1-6/+24
2021-04-03Implement AVL tree rebalancingSamuel Lidén Borell1-83/+132
2021-04-02Basic tree data structure without re-balancingSamuel Lidén Borell1-0/+199