Commit Graph

10027 Commits

Author SHA1 Message Date
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
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
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
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
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
chriseth
2968639406 Removed signed shift right from the utilities. 2018-04-30 20:34:43 +01:00
Alex Beregszaszi
52c9441879 Do not use SAR instead of SDIV in shifts because it rounds differently 2018-04-30 20:34:43 +01:00
Alex Beregszaszi
c3608eaf90 Use native shift instructions in ABIFunctions on Constantinople 2018-04-30 20:34:43 +01:00
Alex Beregszaszi
22bfd3da41 Use native shift instructions on Constantinople 2018-04-30 20:34:43 +01:00
Alex Beregszaszi
5cce2e552b
Merge pull request #4026 from ethereum/prepareyul
Remove desugaring
2018-04-30 18:51:23 +01:00
Alex Beregszaszi
d569ad91e4 Restrict assembly tags to 32-bit 2018-04-30 18:47:57 +01:00
chriseth
e27669811d Remove desugaring 2018-04-30 19:18:06 +02:00
chriseth
d26b6b64c0
Merge pull request #3996 from ethereum/refactorParser
Refactor parser.
2018-04-30 19:15:11 +02:00
chriseth
15024154ab
Merge pull request #4018 from ethereum/disable-bytes0
Disable FixedBytesType(0) aka bytes0
2018-04-30 18:19:07 +02:00
Alex Beregszaszi
05248f5a1b
Merge pull request #3999 from ethereum/subasm
Fix sub assembly tag handling on certain boost / compiler combinations
2018-04-30 17:13:58 +01:00
Alex Beregszaszi
52cc416a3f
Merge pull request #4001 from Magicking/fix_docs_date
docs: Update configuration from 2017 to 2018
2018-04-30 16:17:51 +01:00
chriseth
eb9dd24e50
Merge pull request #3975 from sledrho/develop
Updated StateVariable Grammar rule #3974
2018-04-30 17:12:35 +02:00
chriseth
ede6ee8776
Merge pull request #4023 from ethereum/exampledocs
Update some examples to remove warnings.
2018-04-30 16:58:24 +02:00
chriseth
565b4a0f11
Merge pull request #4022 from ethereum/docslin
Update documentation about C3 linearization.
2018-04-30 16:58:11 +02:00
Alex Beregszaszi
3ac3018e1d Ensure that subId and tag handling is correct on all compilers in AssemblyItem 2018-04-30 15:57:17 +01:00
chriseth
65d8e5446c Update some examples to remove warnings. 2018-04-30 16:21:55 +02:00
chriseth
8782508e0b Update documentation about C3 linearization. 2018-04-30 16:15:41 +02:00
chriseth
9e61b25dc4
Merge pull request #3958 from meowingtwurtle/fixedPointTypes
Types class changes for fixed points
2018-04-30 15:56:55 +02:00