Adam Strzelecki
8a6df889d0
Parser: Use colcom(...) when possible
...
This make parsing obligatory colon more consistent across the parser's code.
2015-04-20 21:06:03 +02:00
Araq
2b4e233510
Merge branch 'devel' of https://github.com/Araq/Nim into devel
2015-04-20 11:44:54 +02:00
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
Andreas Rumpf
b4e938ca21
Merge pull request #2503 from ReneSac/arrowLike
...
Restrict arrow-like operators to those ending with `->`, `~>` or `=>`
2015-04-15 19:24:44 +02:00
Andreas Rumpf
86b37f7fc7
Merge pull request #2555 from def-/fix-2552
...
Make peekExitCode on Posix use WIFEXITED to determine exit
2015-04-15 17:41:01 +02:00
Andreas Rumpf
e14e5be998
Merge pull request #2549 from fowlmouth/patch-2
...
fixes for macros.getType()
2015-04-15 17:33:26 +02:00
Andreas Rumpf
97cb0eb694
Merge pull request #2560 from BlaXpirit/re-nre-hint
...
Add a hint about NRE library to 're' module
2015-04-15 17:32:21 +02:00
Andreas Rumpf
8e73978c68
Merge pull request #2546 from BlaXpirit/rst-link-underscore
...
Make RST recognize hyperlinks with two underscores
2015-04-15 17:31:18 +02:00
Andreas Rumpf
09b7619d9c
Merge pull request #2558 from BlaXpirit/deprecate-const-regexes
...
Deprecate constant regular expression strings
2015-04-15 17:30:19 +02:00
Oleh Prypin
aa327efa98
Add a hint about NRE to 're' module
2015-04-14 23:26:53 +03:00
Oleh Prypin
ff25c1272f
Deprecate constant regular expression strings
2015-04-14 22:30:21 +03:00
def
2025a0f482
Make peekExitCode on Posix use WIFEXITED to determine exit
...
This fixes #2552
2015-04-14 12:58:17 +02:00
reactormonk
e281d41370
Merge pull request #2553 from winksaville/fix-importc-atomic_compare_exchange
...
The importc for atomicCompareExchange is incorrectly defined.
2015-04-14 09:50:54 +05:00
Wink Saville
b0b3a2500a
The importc for atomicCompareExchange is incorrectly defined.
...
The .importc: was referring to __atomic_compare_exchange_n this corrects
it to be __atomic_compare_exchange.
2015-04-13 20:39:01 -07:00
Zahary Karadjov
6fb372d96b
The getSubsystem<T> example in the manual currently fails with a codegen error
...
A faulty proc declaration is generated:
N_NIMCALL(System::Input*, SystemManager::getSubsystem<'*0>())(void);
The manual has been edited to add a nodecl pragma, which alleviates the issue
Fix a typo in the vector_iterator example from the previous commit.
2015-04-14 00:03:31 +03:00
Zahary Karadjov
1ebf1aaa80
importing of C++ nested generics like std::vector<T>::iterator, using the apostrophe operator
2015-04-13 23:49:41 +03:00
fowlmouth
9700298d07
concept types are represented with getType()
2015-04-13 14:57:23 -05:00
Oleh Prypin
81d2be4aa6
Make RST recognize hyperlinks with two underscores
...
Fixes #2538
2015-04-13 19:51:27 +03:00
Varriount
6c78f1a43d
Merge pull request #2531 from endragor/lexing-doc-typo
...
Fix typo in lexing.txt: UINT8_LIT -> UINT_LIT
2015-04-12 23:56:03 -04:00
Ruslan Mustakov
0f8a6cbbe4
Fixed typo in lexing.txt: UINT8_LIT -> UINT_LIT
2015-04-12 13:12:40 +06:00
ReneSac
06617bbb76
Minor fixes for arrow like change patch
...
Don't use ^ operator yet for compatibility with older compilers.
Moved arrow like explanation, and fix precedence description on the text in the manual.
Fixed typo in news.
2015-04-11 17:22:09 -03: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
ReneSac
34997292f4
Changing the rule for arrow like operators again.
2015-04-10 23:59:17 -03:00
fowlmouth
f852988d11
Merge branch 'devel' of github.com:Araq/Nim into patch2
2015-04-10 09:23:33 -05: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
ReneSac
d71f1b98e0
Restore newline at the end of the file.
2015-04-09 18:51:30 -03:00
ReneSac
8490699224
Updated arrow like and strongSpaces in the manual
...
Also added `-` to the first character table and standartized spaces there.
2015-04-09 17:31:56 -03:00