Araq
7be092bba5
VM: minor fixes to make lexim work
2015-04-20 11:36:13 +02:00
Araq
dc3a0bc009
added macros.newTree proc (why didn't we do this earlier?)
2015-04-20 11:34:18 +02:00
Araq
9abfc60db4
parse 'of' branches for macros properly
2015-04-19 14:25:16 +02:00
Araq
89cbf092b2
fixes a serious codegen bug that caused to emit wrong barriers in rare cases
2015-04-19 13:36:22 +02:00
Araq
5cea6807e1
fixes #2476
2015-04-19 02:43:19 +02:00
Araq
751232dc7c
implements .goto support for variables
2015-04-19 02:42:40 +02:00
Araq
5146624f0d
disabled JS test
2015-04-18 01:18:23 +02:00
Araq
caef835fe4
fixes #2568
2015-04-17 21:21:02 +02:00
Araq
28ecf72f79
fixes #2498
2015-04-11 10:01:13 +02:00
Araq
06feaef64a
fixes #1658
2015-04-11 10:01:12 +02:00
Araq
a1b937ab33
fixes #1691
2015-04-11 10:01:11 +02:00
Araq
c8dbeaa09b
make test green
2015-04-11 10:01:11 +02:00
Araq
d89a20cc1d
fixes #2509
2015-04-11 10:01:10 +02:00
Araq
670367e13b
fixes #2508
2015-04-11 10:01:10 +02:00
Araq
65e01c8b68
make test green
2015-04-11 10:01:09 +02:00
Araq
1406f92a5f
re-enable git hash compiler info
2015-04-11 10:01:08 +02:00
reactormonk
e4ee6ef4a3
Merge pull request #2516 from novist/doc-compiletime-variable
...
Doc: compileTime pragma can be used on variable
2015-04-11 12:53:43 +05:00
novist
b8189cd770
Doc: compileTime pragma can be used on variable
2015-04-11 10:35:43 +03:00
Araq
4d8750ae8c
fixes #2448
2015-04-10 14:40:53 +02:00
Araq
8ddb58aecc
fixes bootstrapping on windows
2015-04-10 14:17:07 +02:00
Araq
49471440eb
fixes #2481
2015-04-10 14:03:49 +02:00
Araq
10c1d7f519
minor lexer cleanups; fixes #2504
2015-04-10 14:03:48 +02:00
Araq
3a9500f7b1
fixes #2500
2015-04-10 14:03:47 +02:00
Andreas Rumpf
6e6c6446a4
Merge pull request #2329 from def-/readline
...
Speed up readLine by using getc_unlocked
2015-04-10 14:02:22 +02:00
Andreas Rumpf
badd1a79f0
Merge pull request #2493 from arnetheduck/more-comp-ropes
...
More comp ropes
2015-04-10 13:59:35 +02:00
Andreas Rumpf
2b8f8bbf19
Merge pull request #2502 from def-/pcre
...
Fix infinite loop in re.findAll
2015-04-10 01:16:01 +02:00
def
08575e2aec
Add test case for infinite loop in RE
2015-04-09 17:28:26 +02:00
def
69d38f82a5
Fix infinite loop in findAll
2015-04-09 17:22:44 +02:00
def
ce0c4a8b58
Clean up re module a bit
2015-04-09 17:22:33 +02:00
Andreas Rumpf
15b5f52e8c
Merge pull request #2494 from JosephTurner/fix-matching-error
...
Fixes matching error #2418
2015-04-09 16:37:47 +02:00
Andreas Rumpf
a2d3dff690
Merge pull request #2491 from ReneSac/strongSpacesFix
...
Apply strongSpaces to keyword operators too. Fix #1894 .
2015-04-09 09:44:16 +02:00
Andreas Rumpf
4d0ee66f29
Merge pull request #2496 from BlaXpirit/js-header-comma
...
Fix JS codegen: proc header with compiletime arguments
2015-04-09 09:37:45 +02:00
Andreas Rumpf
fdadc177d4
Merge pull request #2499 from JosephTurner/fix-uint-segv
...
Fixes #1986 when calling sameConstant on uint
2015-04-09 09:37:05 +02:00
Andreas Rumpf
cb1c621a05
Merge pull request #2426 from def-/fix-1460
...
Fix #1460
2015-04-09 09:36:18 +02:00
Joseph Turner
e336da9dd9
Adds test file, for bug #1986
2015-04-09 05:00:11 +01:00
Joseph Turner
0fa82763fe
Fixes #1986 when calling sameConstant on uint
...
The problem was saveConstant only checked the range
`nkCharLit..nkInt64Lit`, but not up to UInt. This lead to the sonsLen
method being called, where sons was never declared.
This commit changes it to `nkCharLit..nkUint64Lit`, to match the case
statements in the type definition of TNode, in ast.nim.
2015-04-09 03:59:08 +01:00
reactormonk
a4796e5f86
Merge pull request #2497 from BlaXpirit/intsets-import
...
Remove unneeded import os from intsets
2015-04-09 07:38:21 +05:00
Joseph Turner
54d945c512
Adds note about change to news
2015-04-09 02:53:03 +01:00
Oleh Prypin
1d7fc5fcda
Don't add a comma too soon
...
Fixes #2495
2015-04-09 04:21:55 +03:00
Oleh Prypin
57250ad281
Test JS proc header codegen
2015-04-09 04:21:50 +03:00
Oleh Prypin
27071319c6
Remove unneeded import os from intsets
2015-04-09 03:48:35 +03:00
Joseph Turner
7ee6c72b51
Adds test case to is isMainModule block
...
Adds the test case that originally caused the bug, issue #2418 .
2015-04-08 21:58:31 +01:00
Joseph Turner
13e5a9ea6c
Fixes matching error #2418
...
Fixes the split iterator, the main problem was with the incrementation
of 'last'. Last was first incremented to the index of the first
character after the match, but was then incremented again at the
beginning of the while loop. This caused a problem if that character
after the first match, also matched the regular expression.
2015-04-08 17:00:28 +01:00
Jacek Sieka
76a316bd35
lib_ropes: better buffering in equalsFile, cleanups
2015-04-08 23:30:11 +08:00
Jacek Sieka
ff914b89d3
compiler_ropes: more lib_ropes porting
2015-04-08 23:30:03 +08:00
Andreas Rumpf
b48f9c4e14
Merge pull request #2484 from yglukhov/macos-sigpipe
...
Fixed SIGPIPE on MacOS
2015-04-08 16:03:32 +02:00
Araq
2176ea759f
fixes #2489
2015-04-08 15:13:58 +02:00
Araq
4b382940f0
minor doc improvements
2015-04-08 13:49:16 +02:00
yglukhov
c2a52a9849
Fixed SIGPIPE on MacOS
2015-04-08 11:24:53 +03:00
Andreas Rumpf
dfc3f9dcd7
Merge pull request #2486 from endragor/rational-hash
...
Add hash proc for Rational
2015-04-08 09:58:06 +02:00