Commit Graph

4305 Commits

Author SHA1 Message Date
gingerBill
35c90fe124 Fix type alias declaration evaluation problem (#854 #1439) 2022-02-03 13:34:31 +00:00
gingerBill
5db603ded2 Minor sanity clean up 2022-02-02 15:39:41 +00:00
gingerBill
78815778ee Add //+private file to complement //+private (//+private package) 2022-02-02 15:28:49 +00:00
gingerBill
eac74631ec Correct debug information logic for procedure parameters 2022-02-01 14:11:19 +00:00
gingerBill
85706d559d Fix typo 2022-01-31 20:19:46 +00:00
gingerBill
67ba05cb7c Correct false positive check in check_unique_package_names 2022-01-31 19:33:02 +00:00
gingerBill
3824937295 Remove debug code 2022-01-27 16:30:22 +00:00
gingerBill
24e7356825 Add #no_type_assert and #type_assert to disable implicit type assertions with x.(T) 2022-01-27 16:08:47 +00:00
gingerBill
32b37f3429 Support built-in procedures for doc format 2022-01-27 00:08:05 +00:00
gingerBill
5808793cae Merge branch 'master' of https://github.com/odin-lang/Odin 2022-01-26 23:31:53 +00:00
gingerBill
7e11f3cc4b Update doc format to allow for aliases 2022-01-26 23:31:47 +00:00
CiD-
498f68c06b avoid segfault on map resize 2022-01-26 14:37:15 -05:00
gingerBill
070b450768 Add ODIN_ERROR_POS_STYLE constant and change runtime.print_caller_location based on that constant 2022-01-26 17:34:39 +00:00
gingerBill
74174eb4ae Remove spurious ) 2022-01-26 16:38:12 +00:00
gingerBill
b190404b21 Fix double map dereference indexing 2022-01-26 16:37:16 +00:00
gingerBill
081a5a52a6 Add ODIN_ERROR_POS_STYLE environment variable
Allowing for two different error message styles:
default or odin
    path(line:column) message
unix
    path:line:column: message
2022-01-26 16:09:22 +00:00
gingerBill
f16f1d932e Fix #1448 2022-01-25 14:24:15 +00:00
gingerBill
a3e7b2baa1 Revert change 2022-01-25 12:42:45 +00:00
gingerBill
f6a087775e Disable early return from check_proc_info 2022-01-25 12:39:06 +00:00
gingerBill
c0479f1564 Handle line comment better 2022-01-24 23:42:04 +00:00
gingerBill
fe0b5bf4e2 Parse comments on enums fields 2022-01-24 23:28:59 +00:00
gingerBill
42ab882db4 Remove debug code 2022-01-24 15:56:26 +00:00
gingerBill
dcc9e61362 Correct string_append_token 2022-01-24 14:52:43 +00:00
gingerBill
2554c72bb2 Update CommentGroup parsing for struct types 2022-01-24 14:47:33 +00:00
gingerBill
49872e40dc Comment out calls 2022-01-24 14:46:56 +00:00
gingerBill
849fe01e70 Add lb_add_debug_local_variable call to procedure arguments 2022-01-24 14:13:24 +00:00
gingerBill
56b4e0a3c3 Fix #1267 2022-01-23 15:40:46 +00:00
gingerBill
3d7d347192 Convert ODIN_OS and ODIN_ARCH to use enums rather than use strings 2022-01-20 19:56:05 +00:00
gingerBill
2b918ada4b Add .Private information to doc-format 2022-01-19 17:15:10 +00:00
gingerBill
ecdaac9921 Unify are_types_identical_unique_tuples 2022-01-19 15:14:15 +00:00
gingerBill
5ff82fc113 Correct tuple name checking for doc writing 2022-01-19 15:11:42 +00:00
gingerBill
28a816ef25 Allow for entity grouping in structs and procedure signatures with the Odin doc-format 2022-01-19 14:57:27 +00:00
gingerBill
fb01dfe048 Improve docs_writer.cpp 2022-01-17 22:17:07 +00:00
gingerBill
cafb6e5587 Correct //+private for odin doc 2022-01-17 21:33:20 +00:00
gingerBill
0d4642825f Correct package docs parsing 2022-01-17 19:07:25 +00:00
gingerBill
686dbb4421 Correct odin doc comment printing 2022-01-17 14:43:42 +00:00
gingerBill
f0529535e0 ODIN_ENDIAN changed to an enum constant; ODIN_ENUM_STRING is the new string version of the old constant 2022-01-15 17:53:18 +00:00
gingerBill
3f59c45740 Remove main creation in llvm_backend.cpp and have it done purely in the runtime package (partial bootstrapping) 2022-01-15 17:42:10 +00:00
gingerBill
29ebe0c3c9 Rename architecture 386 to i386 2022-01-15 17:40:00 +00:00
gingerBill
6c48670819 Make ODIN_BUILD_MODE a enum type 2022-01-15 17:34:35 +00:00
gingerBill
51dcbc80c3 Add LLVMAddMergedLoadStoreMotionPass on -debug -opt:0 2022-01-15 16:26:14 +00:00
gingerBill
9ecbadd457 Simplify procedure parameters callee logic 2022-01-15 16:16:11 +00:00
gingerBill
79f32d7b71 Remove unused lbDefer kind 2022-01-15 16:03:37 +00:00
gingerBill
7501cc2f17 Remove dead code 2022-01-15 16:01:23 +00:00
gingerBill
a390ef41f8 Fix swizzle logic within lb_build_assign_stmt_array 2022-01-15 15:55:01 +00:00
gingerBill
bb9c2f7aad Merge branch 'master' of https://github.com/odin-lang/Odin 2022-01-15 15:38:15 +00:00
gingerBill
6aa80ee8e4 Correct _start as an entry point 2022-01-15 15:38:09 +00:00
oskarnp
c6ed3fa4b5 Fix invalid linker flags passed to clang on macOS 2022-01-14 10:48:41 -05:00
Dale Weiler
ee260986a9 more fixes 2022-01-13 00:19:04 -05:00
gingerBill
3def94505e Add dynamic to error message for -build-mode 2022-01-12 20:28:11 +00:00