Commit Graph

10196 Commits

Author SHA1 Message Date
chriseth
150d226603
Merge pull request #4063 from ethereum/emit-non-event
Show proper error when trying to emit a non-event
2018-05-04 15:02:04 +02:00
Alex Beregszaszi
840ed1e88a Update parser test expectations 2018-05-04 13:31:56 +01:00
Alex Beregszaszi
cc10839073 Have more uniform parser errors 2018-05-04 13:27:05 +01:00
Alex Beregszaszi
c7ee649d80 More user friendly output in case of Identifier and Token keywords 2018-05-04 13:27:05 +01:00
Alex Beregszaszi
882248ce75 Remove code duplication in expectToken 2018-05-04 13:27:05 +01:00
Alex Beregszaszi
252bde8542 Introduce Token::friendlyName() helper 2018-05-04 13:11:23 +01:00
Alex Beregszaszi
e3279d8af8 Display nicer error messages in the parser (display tokens and not internal names) 2018-05-04 12:39:37 +01:00
chriseth
81d61ca086
Merge pull request #4059 from ethereum/parser-simplify
Simplify the parser expectations
2018-05-04 12:50:12 +02:00
Alex Beregszaszi
ffe7f224a6 Show proper error when trying to emit a non-event 2018-05-04 12:47:01 +02:00
Alex Beregszaszi
a244f1a383
Merge pull request #4038 from danieljoonlee/develop
Change m_bytes to unsigned in FixedBytesType
2018-05-03 23:40:06 +01:00
daniel
aa1542a9e1 Change bytes to unsigned in FixedBytesType 2018-05-03 23:11:34 +01:00
Alex Beregszaszi
ed9f80690b Simplify expectIdentifierToken by using expectToken 2018-05-03 22:10:51 +01:00
Alex Beregszaszi
73c99d15cd Remove useless helper expectAssignmentOperator in parser 2018-05-03 21:35:38 +01:00
GuessWho
3db17d8b04 remove variables 2018-05-03 10:41:40 +02:00
Wenbin Wu
18b31a9bbe
Update appveyor.yml 2018-05-03 09:15:39 +02:00
chriseth
5738f93704
Merge pull request #4041 from kylewu/3764-vs-2017
Update windows build docs
2018-05-03 08:50:53 +02:00
chriseth
650244f619
Merge pull request #4053 from ethereum/parser-syntax-tests
Move some parser tests to syntax tests
2018-05-03 08:35:00 +02:00
Alex Beregszaszi
b34428249a Change numBits to unsigned IntegerType 2018-05-02 23:22:25 -07:00
Alex Beregszaszi
2c00ebbee1 Change totalBits and fractionalDigits to unsigned in FixedPointType 2018-05-02 23:22:25 -07:00
Alex Beregszaszi
72c3b3a242
Merge pull request #4046 from ethereum/deprecateYears
State that years has been deprecated.
2018-05-03 04:18:09 +01:00
GuessWho
212956fa05 run both vs 2015 and vs 2017 in appveyor 2018-05-02 23:15:03 +02:00
Alex Beregszaszi
07e765a2f1 Move some parser tests to syntax tests 2018-05-02 21:21:11 +01:00
chriseth
42d6547bde
Merge pull request #4048 from JonnyBurger/develop
Improve documentation and CLI help for `--run` parameter
2018-05-02 17:54:51 +02:00
GuessWho
4d550e2c66 vs 2017 in install doc 2018-05-02 17:39:54 +02:00
chriseth
d2145428c5 Fix test case strings. 2018-05-02 17:39:42 +02:00
chriseth
ca9fa053b7 Optimize number of moves. 2018-05-02 17:39:42 +02:00
chriseth
12b47a6e0b Assert function hoister and grouper has been used. 2018-05-02 17:39:42 +02:00
chriseth
d3c11a49e5 Move NameDispenser into its own file. 2018-05-02 17:39:42 +02:00
chriseth
78945e81e4 Test the removal of the result variable. 2018-05-02 17:39:42 +02:00
chriseth
bf27e86984 Extend pop(0)-remover to any movable expression. 2018-05-02 17:39:42 +02:00
chriseth
c7245ba362 Replace pop(0)-statements by empty blocks. 2018-05-02 17:39:42 +02:00
chriseth
4370bf5c40 Inline functions returning nothing. 2018-05-02 17:39:42 +02:00
chriseth
5cd84a630c Tests. 2018-05-02 17:39:42 +02:00
chriseth
0a366fd453 Full inliner. 2018-05-02 17:39:42 +02:00
chriseth
79c415b104 Use hoisting. 2018-05-02 17:36:10 +02:00
chriseth
e681f4ee79
Merge pull request #4028 from ethereum/asm-tags-32bit
Restrict assembly tags to 32-bit
2018-05-02 17:34:13 +02:00
Jonny Burger
1367fedfd0 Improve documentation and CLI help for --run parameter 2018-05-02 17:10:30 +02:00
chriseth
a856135bbf
Merge pull request #3797 from ethereum/shift-constantinople
Use native shift instructions on Constantinople
2018-05-02 16:50:15 +02:00
chriseth
a1a7653c70 State that years has been deprecated. 2018-05-02 16:24:19 +02:00
chriseth
de2c8fd684
Merge pull request #4000 from ethereum/circleMacOS
macOS on CircleCI
2018-05-02 16:10:19 +02:00
chriseth
64fc3d5d00
Merge pull request #4042 from ethereum/revert-4003-bool_vars_comparison
Revert "BREAKING: Bool variables should not allow arithmetic comparison"
2018-05-02 15:57:16 +02:00
chriseth
8debded743
Revert "BREAKING: Bool variables should not allow arithmetic comparison" 2018-05-02 15:56:59 +02:00
chriseth
42289b642f
Merge pull request #4003 from ethereum/bool_vars_comparison
BREAKING: Bool variables should not allow arithmetic comparison
2018-05-02 15:56:06 +02:00
chriseth
451e8edb1a
Merge pull request #3992 from davesque/improve-abi-spec
A couple of ABI spec improvements
2018-05-02 15:50:10 +02:00
chriseth
06adcb5e81 Rename and compress. 2018-05-02 15:42:34 +02:00
chriseth
dc18cde66f
Merge pull request #4040 from aarlt/virtual-destructors
Add virtual destructors on base classes.
2018-05-02 15:27:16 +02:00
Alexander Arlt
f94b793472 Add virtual destructors on base classes. 2018-05-02 13:29:16 +02:00
Erik Kundt
743a714f21 Adds CircleCI config for macOS.
Does not run ipc and smt tests.
2018-05-01 03:23:07 +02:00
Alex Beregszaszi
971941b3f6 Update source location test expectations 2018-04-30 21:23:08 +01:00
Alex Beregszaszi
059e232e69 Support shifts in gas estimator 2018-04-30 21:22:59 +01:00