chriseth
4fb4846d1f
Changelog.
2018-09-06 16:44:59 +02:00
chriseth
6a40048aa4
Tests.
2018-09-06 16:42:59 +02:00
chriseth
0b7b8162ca
This fixes several bugs with regards to line breaks and comments:
...
- any unicode line break (line feed, vertical tab, form feed, carriage
return, NEL, LS and PS) is considered to terminate a single-line
comment. The line break itself is considered to be the next token
after the comment, leading to a parser error if it is not an
ascii character (i.e. for NEL, LS and PS).
- unterminated multiline comments are considered illegal tokens
- '/** /' is considered an unterminated multiline comment
(previously, whitespace was allowed before the last '/'
2018-09-06 16:42:59 +02:00
chriseth
977ac9c390
Refactor handling of whitespace.
2018-09-06 16:42:59 +02:00
Daniel Kirchner
f19cddd59e
Merge pull request #4917 from ethereum/parserCleanup
...
Parser cleanup.
2018-09-06 16:01:44 +02:00
Daniel Kirchner
f020f96b6c
More consistently use parse*() functions without argument in the parser.
2018-09-06 14:55:07 +02:00
chriseth
dec5785909
Merge pull request #4846 from ethereum/docs-4574-infofeed
...
Update Infofeed example code and explanation
2018-09-05 21:49:04 +02:00
chriseth
522174890f
Merge pull request #4872 from bakaoh/issue4716
...
Crash when array index value is too large
2018-09-05 21:47:42 +02:00
chriseth
08a7a51f07
Merge pull request #4887 from ethereum/addressSplit
...
Split IntegerType into IntegerType and AddressType.
2018-09-05 21:40:49 +02:00
Chris Ward
7fc496b6ab
Remove unneeded paragraph
2018-09-05 15:48:19 +02:00
Daniel Kirchner
87804b6419
Split IntegerType into IntegerType and AddressType.
2018-09-05 12:19:14 +02:00
chriseth
9cb72fe6ca
Merge pull request #4889 from liangdzou/develop
...
add more vim temp files to gitignore file
2018-09-05 11:08:43 +02:00
liangdzou
7982a75deb
change the vim temp files pattern to more accurate version
2018-09-05 16:45:05 +08:00
chriseth
a996ea266c
Merge pull request #4590 from ethereum/msgValueModifier
...
Warn if modifier uses msg.value in non-payable function
2018-09-05 10:32:10 +02:00
bakaoh
a7ffff6a29
Fix #4716 : Crash when array index value is too large
2018-09-05 10:54:38 +07:00
chriseth
e6aa15bae1
Merge pull request #4895 from ethereum/abidecodesingle
...
Fix abi.decode returning single value.
2018-09-04 23:47:56 +02:00
chriseth
85debe77d9
Merge pull request #4866 from bakaoh/issue4743
...
Fix#4743: Incorrect source location for nameless parameters
2018-09-04 20:21:03 +02:00
chriseth
c9f50b36aa
Merge pull request #4883 from ethereum/docs_json_urls_allow_paths
...
Mention in docs that standard json url files need --allow-paths
2018-09-04 20:11:23 +02:00
chriseth
3c804fd576
Merge pull request #4880 from ethereum/fix_cmdlineTest_tmpdir
...
Rename TMPDIR to SOLTMPDIR in cmdlineTests
2018-09-04 20:08:25 +02:00
chriseth
926085fc71
Merge pull request #4878 from federicobond/patch-1
...
Add hex numbers with uppercase X to grammar.txt
2018-09-04 19:44:23 +02:00
chriseth
8da1f25030
Merge pull request #4897 from ethereum/trailingWhitespaceDetection
...
Trailing whitespace detection script and circleci job.
2018-09-04 18:20:57 +02:00
chriseth
624dbbe142
Fix abi.decode returning single value.
2018-09-04 18:19:00 +02:00
chriseth
47f67f3567
Merge pull request #4890 from ethereum/msvcVersionFix
...
Use wildcards for MSVC version in scripts/release.bat.
2018-09-04 18:18:40 +02:00
Daniel Kirchner
1ae6ec9038
Remove trailing whitespace.
2018-09-04 17:43:04 +02:00
Daniel Kirchner
1cd96b2dc4
Trailing whitespace detection script and circleci job.
2018-09-04 17:36:47 +02:00
chriseth
9daac90cf7
Merge pull request #4888 from ethereum/disallow_single_statement_vardecl_if_while_for
...
Disallow single statement var decl in if/while/for without blocks
2018-09-04 17:24:06 +02:00
Daniel Kirchner
9695d7b38d
Use wildcards for MSVC version in scripts/release.bat.
2018-09-04 16:35:25 +02:00
chriseth
cc7daf7b47
Merge pull request #4829 from ethereum/callBytesReturn
...
Add return data to bare calls.
2018-09-04 16:31:25 +02:00
Daniel Kirchner
e3097b30da
Add another end-to-end test.
2018-09-04 15:34:21 +02:00
chriseth
d88e5039cc
Merge pull request #4856 from ethereum/fix_docs_remix_url
...
Fix local remix-ide url in docs
2018-09-04 14:12:59 +02:00
chriseth
fbeb663741
Merge pull request #4836 from ethereum/docs-1532-remapping
...
Clarify remapping
2018-09-04 14:12:43 +02:00
Leonardo Alt
2f258b005e
Fix remix-ide url in docs
2018-09-04 14:10:25 +02:00
Chris Ward
448118caec
Clarify remapping
...
Update layout-of-source-files.rst
2018-09-04 13:49:01 +02:00
Daniel Kirchner
cf69433f23
Update documentation.
2018-09-04 13:31:10 +02:00
Daniel Kirchner
0011f8aef9
Update compilation tests.
2018-09-04 13:31:10 +02:00
Daniel Kirchner
82f512a7d4
Add return data to bare calls.
2018-09-04 13:31:10 +02:00
Leonardo Alt
ac8892e0e3
Review suggestions
2018-09-04 12:14:04 +02:00
chriseth
f27d7edfd6
Merge pull request #4882 from ethereum/removeTrailingWhitespace
...
Remove trailing whitespace for all files in the repository.
2018-09-04 12:03:41 +02:00
Leonardo Alt
17176871ab
Changed error message and added tests
2018-09-04 11:48:58 +02:00
Daniel Kirchner
b4a02522a4
Update generation of bugs_by_version.json.
2018-09-04 11:30:30 +02:00
Daniel Kirchner
a102f3b783
Remove trailing whitespace for all files in the repository.
2018-09-04 11:30:30 +02:00
liangdzou
f0ec2ce3ba
add more vim temp files to gitignore file
2018-09-04 15:58:08 +08:00
chriseth
2783905bab
Merge pull request #4837 from chase1745/default-to-unspecified
...
Rename `Location::Default` to `Location::Unspecified`
2018-09-03 18:44:41 +02:00
chriseth
de9f566a7c
Update changelog.
2018-09-03 18:37:51 +02:00
Leonardo Alt
b7c6e53d3d
Fix endToEnd test
2018-09-03 18:35:57 +02:00
chriseth
431c2fbcf3
Turn warning into error.
2018-09-03 18:35:57 +02:00
Erik Kundt
75a92b0ffd
Warns if modifier uses msg.value in non-payable function.
2018-09-03 18:35:57 +02:00
chriseth
378f691608
Merge pull request #4578 from aj07/patch-1
...
Update README.md
2018-09-03 18:28:48 +02:00
Ankit Raj
52ea1c66a3
Update README.md
...
Upgradation of readme page in standard format of https://github.com/RichardLitt/standard-readme
There i have added few sections like maintainers, examples and made it more user freindly.
I have taken help from wiki page of solidity and read the docs regarding content
ethereum#4491
2018-09-03 18:27:29 +02:00
Leonardo Alt
4522c804f3
Disallow single statement var decl in if/while/for without blocks
2018-09-03 18:21:57 +02:00