Commit Graph

49 Commits

Author SHA1 Message Date
chriseth
436696d3b6 Update assembly grammar part. 2018-11-30 18:24:15 +01:00
hydai
b409faa675
Disallow uppercase X in hex number literals 2018-09-19 22:01:15 +08:00
Daniel Kirchner
1ce3581a52 Accept `address payable` during parsing. 2018-09-11 14:52:23 +02:00
Federico Bond
f2f1462585
Add hex numbers with uppercase X to grammar.txt 2018-09-02 12:57:21 -03:00
Alex Beregszaszi
9436fd9363 grammar: remove stray IdentifierList rule
This was left in #4274 (dbd0723)
2018-07-31 00:28:01 +01:00
Alex Beregszaszi
582ab4eab4 grammar: rename AssemblyLocalBinding to AssemblyVariableDeclaration 2018-07-25 00:08:42 +01:00
Alex Beregszaszi
258e8caa59 grammar: introduce AssemblyExpression and use it in Assignment/LocalBinding 2018-07-25 00:08:08 +01:00
Alex Beregszaszi
ed4022fbca grammar: support all assignment stataments in inline assembly 2018-07-25 00:05:19 +01:00
Daniel Kirchner
f7153ee58a Update documentation. 2018-07-03 15:31:34 +02:00
Christian Parpart
dbd0723a6d grammar: removes the var-keyword from the grammar 2018-07-03 10:53:09 +02:00
mingchuan
b7cafcbdf9
Allow using calldata keyword to specify data location 2018-05-30 18:05:55 +08:00
chriseth
6c8f78fb8f Update documentation for multi variable declaration statement. 2018-05-16 03:52:24 +02:00
sledrho
0da8f1e1e4 Updated StateVariableGrammar rule #3974 2018-04-23 10:04:43 +01:00
Alex Beregszaszi
b540ba527a Disallow empty structs 2018-03-27 15:49:41 +01:00
chriseth
388718b59f Introduce emit statement. 2018-02-22 15:17:30 +01:00
Federico Bond
be065a1243 grammar.txt: Add optional storage location to parameters 2018-01-04 01:47:07 -03:00
Alex Beregszaszi
f22ac8fc96
Merge pull request #3204 from frangio/grammar-incomplete-tuples
Make tuple components optional in documented grammar
2017-11-22 02:22:38 +00:00
Federico Bond
58a0f09f8e Improve rule for decimal numbers in grammar.txt 2017-11-15 17:11:45 -03:00
Francisco Giordano
0b3ef5bbc7 Make tuple components optional in documented grammar 2017-11-14 16:35:50 -03:00
walter-weinmann
afef6faeb6 grammar.txt: spelling error uixed. 2017-10-14 15:48:14 +02:00
Alex Beregszaszi
23c791e4df Add pure to grammar 2017-08-24 13:46:18 +01:00
Alex Beregszaszi
9e8d2a561f Update grammar with view 2017-08-22 18:24:22 +01:00
Alex Beregszaszi
d5f01460f9 Allow constant modifier on state variables in grammar 2017-08-16 21:22:59 +01:00
Alex Beregszaszi
47b6aa1f5b Update grammar to reflect state mutability 2017-08-16 21:19:09 +01:00
Alex Beregszaszi
4acc552e66 Fix the grammar for fixed point types 2017-08-16 16:47:49 +01:00
Federico Bond
9fc4c877d3 Fix and improve grammar.txt 2017-06-22 13:55:08 -03:00
Federico Bond
f0f1e5abfa grammar.txt: Fix grammar for f.gas(p).value(q)() style calls 2017-06-22 13:54:05 -03:00
Federico Bond
1e3b45d61e Fix grammar for tuple expressions 2017-06-19 17:16:45 -03:00
Alex Beregszaszi
eb73015fd2 Support dialect of assembly in grammar 2017-06-15 00:43:19 +01:00
Alex Beregszaszi
9e1d24a7eb Support interface contracts 2017-06-15 00:41:00 +01:00
Alex Beregszaszi
4970d89f3b Support AssemblyLabel in grammar 2017-06-15 00:40:01 +01:00
Alex Beregszaszi
1ceb735fe1 Fix AssemblyAssignment in grammar 2017-06-15 00:39:46 +01:00
Federico Bond
1fc42d733d grammar.txt: Add rule for tuple destructuring 2017-02-08 12:00:30 -05:00
chriseth
0b01678bc3 Correct identifier regex 2017-01-20 19:29:43 +01:00
Federico Bond
26eff0e0d8 grammar.txt: Replace Identifier for Typename in NewExpression 2017-01-11 01:35:29 -03:00
Federico Bond
c15b0fb596 grammar.txt: Add named function arguments 2017-01-11 01:33:55 -03:00
Federico Bond
d61b911a3a grammar.txt: Move StorageLocation? up to VariableDeclaration 2017-01-11 01:33:33 -03:00
chriseth
50c1cfa348 Merge pull request #1527 from federicobond/elementarytypenameconversion
Add ElementaryTypeNameExpression to grammar.txt
2017-01-03 10:36:16 +01:00
Federico Bond
82b9797428 Add ElementaryTypeNameExpression to grammar.txt 2017-01-02 11:45:12 -03:00
chriseth
75a596aba2 Merge pull request #1529 from federicobond/right-shifts
Add missing right-hand side expression for shifts
2017-01-02 12:25:30 +01:00
Federico Bond
1f80dbb39a Add missing right-hand side expression for shifts 2016-12-28 12:53:40 -03:00
Federico Bond
28550ac9ff Add UserDefinedTypeName to grammar.txt 2016-12-27 23:08:57 -03:00
Federico Bond
890a8818b5 Add unimplemented functions to grammar 2016-12-26 22:57:00 -03:00
Federico Bond
507525be5f Fix NumberLiteral rule for hex numbers 2016-12-24 13:10:51 -03:00
Federico Bond
2a7b01982c Fix StorageLocation position for ArrayTypeName rule in grammar 2016-12-24 13:00:11 -03:00
Federico Bond
926a252961 Remove duplicate Identifier from AssemblyItem grammar rule 2016-12-07 22:00:16 -03:00
Yoichi Hirai
d94fd636b7
grammar.txt: define inline assembly 2016-12-02 12:20:06 +01:00
Yoichi Hirai
50bcc60e6e
grammar.txt: remove a space from payable keyword 2016-12-02 11:52:11 +01:00
Alex Beregszaszi
2962426d53 Include the grammar verbatim in the documentation 2016-11-30 12:20:13 +00:00