gingerBill
|
d23453811d
|
Improve semicolon checking rules when parsing
|
2025-02-24 13:13:36 +00:00 |
|
gingerBill
|
de755f95ec
|
Minor rearrange for parsing field lists
|
2025-02-22 17:58:14 +00:00 |
|
gingerBill
|
875dbf3140
|
Disallow syntax: proc(x,:T)
|
2025-02-22 17:56:42 +00:00 |
|
gingerBill
|
328d893cb5
|
#unroll(N) for
|
2025-01-10 12:22:18 +00:00 |
|
gingerBill
|
7da7d4e410
|
Allow #+ tags on single files
|
2025-01-05 15:41:51 +00:00 |
|
gingerBill
|
bca08d3b85
|
Make -no-dynamic-literals the default now
|
2025-01-05 13:33:06 +00:00 |
|
gingerBill
|
2efe4c2d68
|
Add #+feature dynamic-literals
|
2025-01-05 13:19:10 +00:00 |
|
gingerBill
|
b3d1d7b835
|
Make #relative types an error in parsing
|
2024-11-14 16:08:53 +00:00 |
|
bobsayshilol
|
b59647084b
|
Plug a memory leak
The call to |array_make()| always allocates and since this variable was
unused it lead to a leak. Simply plug it by removing it.
|
2024-10-27 22:02:34 +00:00 |
|
gingerBill
|
a7d7c92a53
|
#min_field_align & #max_field_align; deprecate #field_align in favour of #min_field_align
|
2024-09-30 13:05:28 +01:00 |
|
Feoramund
|
84700e09c9
|
Forbid parsing more fields if no separator was found
Fixes #4278
|
2024-09-20 19:02:00 -04:00 |
|
Karl Zylinski
|
29fedc1808
|
Changed some recently added //+ usages to #+ and also fixed some //+ usages in some code generators.
|
2024-09-17 19:39:48 +02:00 |
|
Karl Zylinski
|
093ade0504
|
Merge branch 'master' into file-tags-without-comments
|
2024-09-17 19:36:17 +02:00 |
|
gingerBill
|
19c1ed154c
|
Add -vet-packages:<comma-separated-string-array>
|
2024-09-17 11:01:26 +01:00 |
|
Karl Zylinski
|
c24e18bf10
|
Fix incorrect syntax error in parse_file
|
2024-09-14 14:36:33 +02:00 |
|
Karl Zylinski
|
8b84b9a4a2
|
Docs are generated as expected again.
|
2024-09-14 14:32:46 +02:00 |
|
Karl Zylinski
|
86e291235d
|
Merge remote-tracking branch 'origin/master' into file-tags-without-comments
|
2024-09-14 11:26:41 +02:00 |
|
Karl Zylinski
|
580f0599cd
|
parse_file: Removed some nesting and removed probable incorrect safety check.
|
2024-09-09 21:24:41 +02:00 |
|
Karl Zylinski
|
cc724ff5d2
|
Made error handling code in parse_file clearer.
|
2024-09-09 21:13:39 +02:00 |
|
Karl Zylinski
|
957cd64699
|
Rename process_file_tag -> parse_file_tag
|
2024-09-09 21:06:43 +02:00 |
|
Karl Zylinski
|
3637dcbd04
|
Simplified error messages in parse_build_tag, removed the idea of making multiple notted operating systems since it was misinformed.
|
2024-09-09 21:03:28 +02:00 |
|
Karl Zylinski
|
73e4954346
|
Better #+build tag error messages: Error when using more than one !notted operating system per build line. Error when using more than one operating system within a 'kind', such as writing #+build windows linux.
|
2024-09-08 03:13:21 +02:00 |
|
Karl Zylinski
|
dc767da12b
|
Make tags use #+ syntax instead of //+ syntax so it no longer looks like a comment. Old style still works but is deprecated with a warning. Using unknown tags is now an error instead of a warning. There is a new token for #+ which consumes the whole line (or until it hits a comment). The tags are parsed like before. There are errors to tell you if you use something invalid in the pre-package-line block.
|
2024-09-08 01:50:56 +02:00 |
|
Laytan
|
1a7c1d107a
|
set -rpath to \$ORIGIN and expect libraries next to executable just like Windows
|
2024-09-04 22:19:46 +02:00 |
|
avanspector
|
43ec2b9253
|
checker: delay foreign block checking
if file scope, otherwise as before
|
2024-08-26 20:59:16 +02:00 |
|
gingerBill
|
8ba87e01bd
|
Improve parse_enforce_tabs usage
|
2024-08-24 13:56:30 +01:00 |
|
gingerBill
|
b6d9a0c32e
|
Manually implement tail-recursion for parse_if_stmt
|
2024-08-24 13:16:55 +01:00 |
|
gingerBill
|
a4cc207022
|
Add a recursion depth limit for #3987 with a consideration to use a switch statement or refactor the code to not use a large if-else chain
|
2024-08-24 12:59:17 +01:00 |
|
Jeroen van Rijn
|
9553bc3689
|
If missing type is newline, print "newline", not \n
Turns:
W:/Odin/bug/bug.odin(3:27) Syntax Error: Expected a type, got '
'
Storage :: distinct map[]
Into:
W:/Odin/bug/bug.odin(3:27) Syntax Error: Expected a type, got newline
Storage :: distinct map[]
|
2024-08-17 17:25:52 +02:00 |
|
Jeroen van Rijn
|
07d2aba310
|
Simplify exe path check.
|
2024-07-22 16:36:21 +02:00 |
|
Jeroen van Rijn
|
90a4d12b30
|
Fix .exe path is directory check.
|
2024-07-22 16:11:33 +02:00 |
|
Jeroen van Rijn
|
39657e4d96
|
Fix #3473
Fix the problem where the initial package's directory name ended in .odin.
|
2024-07-22 15:15:51 +02:00 |
|
gingerBill
|
a45e05bb18
|
Remove need for BlockingMutex in Arena
|
2024-07-15 01:36:54 +01:00 |
|
gingerBill
|
018026d844
|
Use gb_zero_* calls
|
2024-07-15 00:36:00 +01:00 |
|
gingerBill
|
139c1bcdda
|
Comment out debug code
|
2024-07-15 00:25:41 +01:00 |
|
gingerBill
|
edc793d7c1
|
Add #no_capture args: ..T to reuse the backing array stack memory
|
2024-07-14 11:39:05 +01:00 |
|
gingerBill
|
36301d0359
|
Give better syntax error messages for things like #define Example 123
|
2024-07-10 13:03:38 +01:00 |
|
gingerBill
|
886ee66e7f
|
Cache files, env, and args
|
2024-07-09 14:16:56 +01:00 |
|
gingerBill
|
1eb0bc1408
|
Remove *_test.odin; always compile it for all targets
|
2024-07-04 14:43:57 +01:00 |
|
gingerBill
|
8b49549fd3
|
Merge pull request #3859 from laytan/wasm-stbtt-object-linking-preopens
wasm: support `vendor:stb/truetype` and `vendor:fontstash`
|
2024-07-02 22:14:54 +01:00 |
|
Laytan Laats
|
6f1cc8071c
|
wasm: add foreign import and linking of wasm object files
|
2024-07-02 15:28:08 +02:00 |
|
gingerBill
|
fb0b95bcad
|
Merge pull request #3760 from Feoramund/refactor-show-error-on-line
Refactor `show_error_on_line`
|
2024-07-01 11:03:29 +01:00 |
|
gingerBill
|
34fce83d66
|
Improve -strict-style rules for if-else statements
|
2024-06-29 20:04:34 +01:00 |
|
gingerBill
|
b1a1da6618
|
Add -vet-tabs
|
2024-06-29 19:54:31 +01:00 |
|
gingerBill
|
2187f3e7ff
|
-strict-style enforce 1TBS (mostly)
|
2024-06-29 19:14:24 +01:00 |
|
gingerBill
|
906afa4154
|
Allow for when x in y { (minor oversight in syntax)
|
2024-06-29 10:13:15 +01:00 |
|
gingerBill
|
67e9a6fd9b
|
Improve error reporting on "Failed to parse fail" and show the line error if possible
|
2024-06-28 10:04:08 +01:00 |
|
gingerBill
|
862a04376f
|
Improve tokenizing wrong number literals
|
2024-06-28 09:16:01 +01:00 |
|
gingerBill
|
c098739484
|
Remove @(warning) and #warning(...)
|
2024-06-25 09:36:59 +01:00 |
|
gingerBill
|
dab3c832e0
|
Add #warning(<string>) builtin compile time procedure
|
2024-06-20 15:32:30 +01:00 |
|