Commit Graph

2421 Commits

Author SHA1 Message Date
Mikkel Hjortshoej
48946fe46f Alright, things work. Reverting broken stuff 2020-05-14 14:20:04 +02:00
Mikkel Hjortshoej
0b0e661b62 Another test sorry 2020-05-14 14:18:20 +02:00
Mikkel Hjortshoej
10c3acf37f Remove test for webhook 2020-05-14 14:09:22 +02:00
Mikkel Hjortshoej
e377f5a329 Briefly break master to test webhook 2020-05-14 14:07:33 +02:00
gingerBill
cd4403be0c Fix Assertion failure in ir_print_exact_value #620 2020-05-14 00:34:27 +01:00
gingerBill
f661d34049 Implement Explicit context creation #639 2020-05-14 00:13:26 +01:00
gingerBill
af1d4d6e72 Implement Allow .? operator to unwrap any union #549 2020-05-14 00:00:10 +01:00
gingerBill
f6c7a0c9b8 Fix -llvm-api memset "bug" 2020-05-13 23:51:51 +01:00
gingerBill
c2bfb221f5 Fix #561 where statements that eval to false do not show incorrect usage location 2020-05-13 23:45:55 +01:00
gingerBill
d59fced21b #591 Improve type switch statement error for fallthrough 2020-05-13 23:33:03 +01:00
gingerBill
7c42d4ba75 (#594) Add #config to replace #defined; Restrict #defined within procedure bodies to remove race condition 2020-05-13 23:29:06 +01:00
gingerBill
14ce6d8ed8 Fix #632 behaviour 2020-05-13 23:09:38 +01:00
gingerBill
2630e9ced1 Fix #622 on both backends 2020-05-13 23:00:34 +01:00
gingerBill
482c687462 Fix procedure references in global compound literals in old backend 2020-05-13 22:42:15 +01:00
gingerBill
de8c1165c2 Fix procedure literal declarations at file scope with -llvm-api 2020-05-13 22:30:38 +01:00
gingerBill
d51b98a8d2 Add extra 128 bit integer procedures 2020-05-13 13:46:32 +01:00
gingerBill
6861ff47bc Replace entity_of_ident with entity_of_node 2020-05-12 16:28:22 +01:00
gingerBill
0ba3b5c0bd Fix bug for array-like compounds for LLVM-API 2020-05-12 14:57:37 +01:00
gingerBill
fcdfcfce19 Let -vet ignore intentional declaration shadowing #637 2020-05-12 10:31:49 +01:00
gingerBill
d49ecd9009 Merge pull request #638 from jharler/master
Fixed thread_pool not destroying threads
2020-05-11 17:38:05 +01:00
jharler
72a5030f3d Fixed thread_pool not destroying threads 2020-05-11 12:32:35 -04:00
gingerBill
197a72adde Merge pull request #616 from Tetralux/fix-sync-badopt
Fix potential bad optimization bug in sync.Ticket_Mutex
2020-05-10 10:37:11 +01:00
gingerBill
f043e92650 Add strconv.unquote_string and strconv.unquote_char 2020-05-09 13:58:45 +01:00
gingerBill
e3f3e715e2 Merge pull request #634 from Tetralux/enum_from_name
Add reflect.enum_from_name
2020-05-09 12:57:27 +01:00
gingerBill
e8f2fb58d9 Fix strconv.parse_ usage across other packages 2020-05-09 11:54:36 +01:00
Tetralux
8d2430e54d Add reflect.enum_from_name
Provides a way to go from a enum value name string to an actual enum value.

```
E :: enum { A, B }

// ...

s := "B";
v, ok := enum_from_name(E, s);
assert(ok && v == E.B);
```
2020-05-09 07:30:07 +00:00
gingerBill
dc1b3cc563 Merge branch 'master' of https://github.com/odin-lang/Odin 2020-05-08 16:09:45 +01:00
gingerBill
d52695b077 Fix constant complex arithmetic bug 2020-05-08 16:09:35 +01:00
gingerBill
6adbdb1e0e Merge pull request #633 from Tetralux/fix-parseint-again
Fix parsing of single-digit numbers
2020-05-07 00:35:26 +01:00
Tetralux
7d4f9545a7 Fix parsing of single-digit numbers 2020-05-06 23:21:24 +00:00
gingerBill
4fc60601d3 Fix ABI typo 2020-05-06 20:18:43 +01:00
gingerBill
4f4c3bb03b Add -extra-linker-flags:<string> 2020-05-06 13:41:22 +01:00
gingerBill
8434cb8951 Merge pull request #630 from Tetralux/parseint
Refactor parsing procedures: Return (value, ok) instead
2020-05-05 21:05:13 +01:00
gingerBill
99ebb5af3b Support --flag as redundancy for -flag 2020-05-04 18:23:23 +01:00
gingerBill
45274868c3 Fix -subsystem:windows for normal backend 2020-05-04 18:07:49 +01:00
gingerBill
3ef9566817 Fix typo 2020-05-03 16:18:47 +01:00
gingerBill
3299d6a204 Add -ignore-vs-search 2020-05-02 18:50:38 +01:00
gingerBill
e27f5796d6 Add experimental atom op tables for llvm-backend 2020-05-02 18:45:57 +01:00
gingerBill
ba4363d678 Improve append_elem(s) logic 2020-05-02 12:09:25 +01:00
gingerBill
eb2b3572bb Move TypeProc outside 2020-05-02 11:59:43 +01:00
gingerBill
1a9e75267b Fix rc.exe call 2020-05-02 10:00:34 +01:00
gingerBill
dd0fb744fe Add missing ; 2020-04-30 19:26:31 +01:00
gingerBill
70a66cd559 Add -subsystem to odin build -help 2020-04-30 17:57:21 +01:00
gingerBill
832a586b8d Merge branch 'master' of https://github.com/odin-lang/Odin 2020-04-30 17:48:46 +01:00
gingerBill
117ade0700 Fix errors in package win32 2020-04-30 17:48:35 +01:00
Tetralux
25f77e32ee Fix doc comments 2020-04-29 23:35:26 +01:00
Tetralux
704ee9f851 Return (value: T, ok: bool) instead 2020-04-29 22:37:33 +01:00
Tetralux
190932935c Refactor parse_* procedures: arbitrary bases, and return (value, rest_of_string) 2020-04-29 21:33:33 +01:00
gingerBill
a10d180d81 Merge pull request #627 from zhibog/master
Added #maybe to the builtin parser and ast for Unions
2020-04-25 17:49:06 +01:00
zhibog
c704de8442 Added the #maybe directive to the union struct in the AST. Also added it to the parsing code for a union. 2020-04-25 18:21:32 +02:00