aboutsummaryrefslogtreecommitdiff
path: root/src/parser.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Go through loads of `TODO`sgingerBill2023-08-011-2/+0
|
* Remove `-strict-style-init-only`gingerBill2023-08-011-2/+0
|
* Add `-vet-style` and `-vet-semicolon`gingerBill2023-08-011-31/+44
|
* Improve `//+vet`; remove `using` in many places; add `//+vet !using-stmt` ↵gingerBill2023-07-311-8/+13
| | | | where necessary
* Add separate `-vet` flags; `-vet-using-*` flags; `//+vet` file flagsgingerBill2023-07-311-0/+80
|
* Allow named arguments variadic expansion `..`gingerBill2023-06-211-2/+8
|
* Separate out logic for checking mixture of named and unnamed parametersgingerBill2023-06-141-2/+0
|
* Fix #2572gingerBill2023-06-071-1/+5
|
* Parse leading comment above attribute for value declarationsgingerBill2023-05-301-2/+6
|
* Basic support for `#reverse for in` on normal arraysgingerBill2023-05-291-0/+11
|
* Fix #2560gingerBill2023-05-291-2/+12
|
* Minor change to handling of propagation of errors with `---` as a valuegingerBill2023-05-221-7/+7
|
* Patch "no_copy" typo in parser.cppmatias2023-05-101-1/+1
|
* Add extra nullptr checkgingerBill2023-04-271-1/+1
|
* Require parentheses around certain uses of `or_return` expressionsgingerBill2023-04-271-3/+47
|
* Add `struct #no_copy`gingerBill2023-04-151-2/+9
|
* Fix `allow_field_separator` for `foreign import`dev-2023-04gingerBill2023-04-031-3/+5
|
* Fix typo in warning message in parserAlexander Goussas2023-03-241-1/+1
|
* Correctly handle end comment for doc generationgingerBill2023-03-211-1/+12
|
* Change trailing comma require to `-strict-style` onlygingerBill2023-03-211-1/+1
|
* Fix potential race condition when determining the package namegingerBill2023-01-161-1/+5
|
* Remove `auto_cast` procedure field flaggingerBill2023-01-161-4/+0
| | | | Fixes #2285
* Minor changes to `StringMap` allocationgingerBill2023-01-141-1/+1
|
* Add `+ignore` along with `+build ignore`gingerBill2023-01-031-0/+2
|
* Minimize calling of `Ast::thread_safe_file()` when cloninggingerBill2023-01-031-141/+143
|
* General improves to `alloc_ast_node` and other unnecessary checksgingerBill2023-01-031-3/+1
|
* Use heap_allocator for all hash set typesgingerBill2023-01-031-1/+1
|
* Remove `global_` prefix from `global_thread_pool_*` proceduresgingerBill2023-01-021-3/+3
|
* Use C++ style `for` loop over `for_array` macro in parser.cpp where posiblegingerBill2023-01-011-45/+50
|
* Remove the synchronization primitive init/destroy callsgingerBill2023-01-011-11/+0
|
* Remove need the MPMC in single threaded casegingerBill2022-12-221-1/+1
|
* Clean up mutex usage in the parsergingerBill2022-12-221-32/+30
|
* Revert "Change `tav` to be a pointer internally"gingerBill2022-12-221-6/+2
| | | | This reverts commit e98f1a28e68e82753728f58b3465793192b74f9d.
* Change `tav` to be a pointer internallygingerBill2022-12-221-2/+6
|
* Set the file's filename and directory in `init_ast_file`gingerBill2022-12-201-2/+4
|
* Use `*_set_update` where possiblegingerBill2022-12-201-2/+1
|
* Clarify ThreadPool interface; Move `import_mutex` guarding to just the ↵gingerBill2022-12-201-8/+6
| | | | string set
* Use `fetch_add` rather than `+=`gingerBill2022-12-181-1/+1
|
* Remove dead code in the compilergingerBill2022-12-181-36/+0
|
* `gb_internal` a lotgingerBill2022-12-181-230/+230
|
* Improve error handling for trailing commas #2136gingerBill2022-11-211-4/+15
|
* Merge pull request #1544 from FancyKillerPanda/build_ignoregingerBill2022-11-031-0/+2
|\ | | | | Changed `//+ignore` to `//+build ignore` and emit a warning for unknown tags
| * Emit a parser warning when encountering an unknown tag.FancyKillerPanda2022-02-241-0/+2
| |
* | Fix -verbose-error source lines from having last char cut offZac Nowicki2022-09-151-1/+0
| | | | | | | | Fixes #1226
* | Replace `#optional_second` with `#optional_allocator_error`gingerBill2022-09-121-1/+1
| |
* | Add `ODIN_BUILD_PROJECT_NAME` and `//+build-project-name`gingerBill2022-09-081-1/+50
| | | | | | | | | | | | | | | | | | | | | | | | This allows for condition inclusion of files, similar to `+build` or `ODIN_BUILD`, but relies on the directory name of the project to be the same as specified Example: odin build foo/bar/baz ODIN_BUILD_PROJECT_NAME == "baz" //+build_project_name baz
* | Add `#soa` pointer type to aid with refactoring to `#soa` data typesgingerBill2022-08-081-2/+4
| | | | | | | | | | | | | | | | a: #soa[16]Foo p := &a[6] #assert(type_of(p) == #soa^#soa[16]Foo) p^.x = 123 p.x = 123
* | Remove dead `#maybe` codegingerBill2022-08-011-9/+3
| |
* | Simplify parser logic for field prefixesgingerBill2022-08-011-34/+19
| |
* | Fix minor issue with a lack of a trailing commagingerBill2022-07-251-2/+3
| |