Andreas Rumpf
426306eeb4
fixes #3882
2016-05-28 17:43:47 +02:00
Andreas Rumpf
a406ebbac9
cleanup of #4113
2016-05-28 17:19:44 +02:00
Andreas Rumpf
d3fe4a2db1
Merge pull request #4113 from jcosborn/gettypeinst
...
getTypeInst
2016-05-28 17:14:52 +02:00
Andreas Rumpf
0b84ee167b
fixes #2159
...
Hints and warnings are only emitted for the main package that is compiled
2016-05-28 17:12:51 +02:00
Andreas Rumpf
0134a51a7c
fixes critical 'do' parsing bug
2016-05-28 02:17:13 +02:00
Andrei Formiga
c439ef2e71
Fix issue #4001 : invalid pragma {. hint[]: off .}
...
The bug was in processNote, module pragmas. The code assumed that
a nkBracketExpr AST node always had two children (without testing
this), and tried to access elements with index 0 and 1 in the sons
array of the nkBracketExpr node.
The code that triggered the bug was just {. hint[]: off .}
by itself in a module; in this case the nkBracketExpr has only
one children in the sons array, so the code in processNote caused
an out-of-bounds array access.
This commit also adds a test to guarantee that this pragma is
rejected, as is.
2016-05-27 19:03:15 -03:00
Andreas Rumpf
51c62a211b
remove funny debug output
2016-05-27 21:25:13 +02:00
Andreas Rumpf
8f43e9d18c
fixes #4225
2016-05-27 19:35:48 +02:00
Andreas Rumpf
6d76df8454
fixes #4227
2016-05-27 19:18:08 +02:00
Andreas Rumpf
6ff66bfd51
improve error messages for mismatched templates involving 'untyped' and stmts
2016-05-27 19:18:08 +02:00
Yuriy Glukhov
4d0d2d69f3
Fixes #4222
2016-05-26 08:49:56 +03:00
Andreas Rumpf
bcc91a319c
Nimscript knows about the command line defines
2016-05-24 23:35:39 +02:00
Andreas Rumpf
fc4038fade
allow to check verbosity level via compileOption
2016-05-24 20:25:37 +02:00
Andreas Rumpf
fcb5cdcc9f
Merge pull request #4083 from vegansk/vm_readfile
...
Add ``readFile`` implementation for nimvm
2016-05-24 00:09:54 +02:00
Andreas Rumpf
e00f15aa2a
Nim check defines 'nimcheck' conditional symbol
2016-05-24 00:07:59 +02:00
Andreas Rumpf
2ecf4633f4
Merge branch 'prim-gc' into devel
2016-05-22 15:01:36 +02:00
Yuriy Glukhov
0d5c8b32e7
4066 fixup
2016-05-19 12:34:18 +03:00
Andreas Rumpf
2ac3e12372
fixes #4066
2016-05-18 12:40:01 +02:00
Andreas Rumpf
3ac6bd8ae1
refactoring: flags instead of bools
2016-05-18 12:40:01 +02:00
Andreas Rumpf
d8bce8b83d
GC with primitive MS
2016-05-16 00:28:00 +02:00
Andreas Rumpf
74aab132bd
refactoring: flags instead of bools
2016-05-15 23:34:30 +02:00
Andreas Rumpf
746132d696
PHP codegen improvements
2016-05-13 00:47:18 +02:00
Andreas Rumpf
8e2528ebbc
fixes #4148
2016-05-12 01:05:41 +02:00
Andreas Rumpf
909a161ad2
fixes #4146
2016-05-12 00:57:43 +02:00
Andreas Rumpf
5bdde429e7
fixes #4147
2016-05-12 00:43:57 +02:00
Andreas Rumpf
a9c251b8e0
fixes #3763
2016-05-12 00:38:15 +02:00
Andreas Rumpf
eae30d1961
fixes #950
2016-05-12 00:38:15 +02:00
Andreas Rumpf
4f9083268f
fixes #4145
2016-05-11 21:56:56 +02:00
Andreas Rumpf
1ae95310ad
fixes #3992
2016-05-11 21:34:54 +02:00
Andreas Rumpf
ac1a753aff
fixes #3956
2016-05-11 21:20:53 +02:00
Andreas Rumpf
685b8963da
fixes #4110
2016-05-11 21:16:26 +02:00
Andreas Rumpf
11d0f3f7ec
fixes #4034
2016-05-11 20:50:03 +02:00
Andreas Rumpf
38040e7691
fixes #4040
2016-05-11 20:00:28 +02:00
Andreas Rumpf
299351a909
fixes #4070
2016-05-11 18:16:25 +02:00
Andreas Rumpf
95ffeb6079
fixes #177
2016-05-11 17:39:37 +02:00
Andreas Rumpf
61700861d3
fixes #4144
2016-05-11 15:59:51 +02:00
Araq
b654aa399a
better debugging support for native debuggers; changed name mangling; fixes #3471
2016-05-10 22:03:07 +02:00
Araq
875132bf46
fixes a varargs[untyped] bug that kept strscans from compiling
2016-05-10 22:03:07 +02:00
Araq
724cd631d8
allow tabs in multi-line comments
2016-05-10 22:03:07 +02:00
Araq
2024e1335f
generate typedefs for bitsets for better debugging support
2016-05-10 22:03:07 +02:00
Araq
c912ae6cb3
enums are mapped to a typedef for better debugging support
2016-05-10 22:03:07 +02:00
Araq
0dc92960d2
include statement is not restricted to top level statements anymore
2016-05-10 22:03:07 +02:00
James Osborn
0356f53b56
getTypeInst and getTypeImpl mostly working now and added test
2016-05-04 00:24:44 -05:00
James Osborn
c89397f821
changed getTypeInst handling for distinct types
2016-05-04 00:24:44 -05:00
James Osborn
d462cca21f
added getTypeInst which includes generic parameters
2016-05-04 00:24:44 -05:00
Andreas Rumpf
f348671ba7
fixes #3544
2016-04-30 01:12:36 +02:00
Andreas Rumpf
e04f319540
fixes #4084
2016-04-29 22:30:00 +02:00
Andreas Rumpf
c870e831c8
fixes #4124
2016-04-29 20:56:30 +02:00
Andreas Rumpf
b48e178969
JS target improvements
2016-04-29 17:56:06 +02:00
Andreas Rumpf
55aa4c2689
fixes a critical PHP codegen bug
2016-04-29 09:09:49 +02:00