Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #5180 from ethereum/cpp-cleanup | chriseth | 2018-10-10 | 1 | -2/+2 |
|\ | | | | | Some C++ cleanup | ||||
| * | Do not require ctype/stdio if not needed | Alex Beregszaszi | 2018-10-10 | 1 | -1/+1 |
| | | |||||
| * | Use empty() instead of size() == 0 | Alex Beregszaszi | 2018-10-09 | 1 | -1/+1 |
| | | |||||
* | | provide general hex-literal error message, fixes #1802 | Lazaridis | 2018-10-09 | 1 | -0/+3 |
|/ | | | | dummy | ||||
* | Accept ``address payable`` during parsing. | Daniel Kirchner | 2018-09-11 | 1 | -4/+26 |
| | |||||
* | More consistently use parse*() functions without argument in the parser. | Daniel Kirchner | 2018-09-06 | 1 | -42/+60 |
| | |||||
* | Merge pull request #4866 from bakaoh/issue4743 | chriseth | 2018-09-05 | 1 | -4/+5 |
|\ | | | | | Fix#4743: Incorrect source location for nameless parameters | ||||
| * | Fix#4743: Incorrect source location for nameless parameters | bakaoh | 2018-08-28 | 1 | -4/+5 |
| | | |||||
* | | Rename Location::Default to Location::Unspecified. | Chase McDermott | 2018-08-18 | 1 | -2/+2 |
|/ | |||||
* | Disallows old constructor syntax. | Erik Kundt | 2018-07-18 | 1 | -16/+14 |
| | |||||
* | Remove constant keyword from parser. | Daniel Kirchner | 2018-07-03 | 1 | -2/+9 |
| | |||||
* | Introduces emit token and removes identifier workaround. | Erik Kundt | 2018-06-12 | 1 | -3/+6 |
| | |||||
* | Allow using `calldata` keyword to specify data location | mingchuan | 2018-05-30 | 1 | -5/+16 |
| | |||||
* | Add assert about source location. | chriseth | 2018-05-16 | 1 | -0/+1 |
| | |||||
* | Parse multi variable declaration statement. | chriseth | 2018-05-16 | 1 | -8/+75 |
| | |||||
* | Assert integrity of empty IndexAccessPath structure. | chriseth | 2018-05-09 | 1 | -0/+10 |
| | |||||
* | Further refactor. | chriseth | 2018-05-09 | 1 | -13/+35 |
| | |||||
* | Refactor expression parser. | chriseth | 2018-05-09 | 1 | -16/+16 |
| | |||||
* | Have more uniform parser errors | Alex Beregszaszi | 2018-05-04 | 1 | -1/+1 |
| | |||||
* | Simplify expectIdentifierToken by using expectToken | Alex Beregszaszi | 2018-05-04 | 1 | -19/+2 |
| | |||||
* | Remove useless helper expectAssignmentOperator in parser | Alex Beregszaszi | 2018-05-04 | 1 | -14/+2 |
| | |||||
* | Refactor parser. | chriseth | 2018-04-26 | 1 | -58/+61 |
| | |||||
* | Fix internal compiler error when parsing ``var`` declaration without identifier. | Daniel Kirchner | 2018-04-12 | 1 | -2/+4 |
| | |||||
* | Properly cope with constructor headers. | chriseth | 2018-04-12 | 1 | -3/+6 |
| | |||||
* | Warn if modifiers are applied to functions without implementation. | chriseth | 2018-04-12 | 1 | -4/+4 |
| | |||||
* | Fix state variable parsing. | chriseth | 2018-04-12 | 1 | -0/+8 |
| | |||||
* | Error when using no parentheses in modifier-style constructor calls. | Daniel Kirchner | 2018-04-10 | 1 | -3/+3 |
| | |||||
* | Error when using empty parenthesis for base class constructors that require ↵ | Daniel Kirchner | 2018-04-05 | 1 | -3/+3 |
| | | | | arguments. | ||||
* | Set isConstructor to false unconditionally and update to true later for ↵ | Daniel Kirchner | 2018-04-04 | 1 | -6/+4 |
| | | | | constructors. | ||||
* | Set header.isConstructor for old style constructors in parseFunctionHeader ↵ | Daniel Kirchner | 2018-04-04 | 1 | -5/+11 |
| | | | | as well. | ||||
* | Constructors are defined using the ``constructor`` keyword. | Daniel Kirchner | 2018-04-04 | 1 | -6/+20 |
| | |||||
* | Introduce emit statement. | chriseth | 2018-02-22 | 1 | -1/+35 |
| | |||||
* | Expect end of string at end of top-level block for assembly parser. | chriseth | 2018-02-21 | 1 | -1/+1 |
| | |||||
* | Fix event parsing. Refs #3175 | Federico Bond | 2017-11-23 | 1 | -9/+5 |
| | |||||
* | Fix source location of VariableDeclarationStatement. | chriseth | 2017-09-28 | 1 | -0/+1 |
| | |||||
* | Better error message for unexpected trailing comma in parameter lists | wadeAlexC | 2017-09-25 | 1 | -0/+2 |
| | |||||
* | Crash fix, parseTypeName can return null. | chriseth | 2017-08-28 | 1 | -1/+4 |
| | |||||
* | Move the break in switch for readability | Alex Beregszaszi | 2017-08-25 | 1 | -3/+3 |
| | |||||
* | Remove two other fall-through cases in Parser | Alex Beregszaszi | 2017-08-25 | 1 | -2/+4 |
| | |||||
* | Remove fallthrough from literal parsing | Alex Beregszaszi | 2017-08-25 | 1 | -6/+9 |
| | |||||
* | Introduce pure specifier on functions | Alex Beregszaszi | 2017-08-24 | 1 | -0/+2 |
| | |||||
* | Merge pull request #2770 from ethereum/recursionInAsm | chriseth | 2017-08-24 | 1 | -32/+0 |
|\ | | | | | Also prevent too much recursion in the assembly parser. | ||||
| * | Check recursion depth in assembly parser. | chriseth | 2017-08-22 | 1 | -32/+0 |
| | | |||||
* | | Introduce view (and keep constant as an alias) | Alex Beregszaszi | 2017-08-23 | 1 | -1/+2 |
|/ | |||||
* | Mark appropriate constructors explicit | Alex Beregszaszi | 2017-08-22 | 1 | -2/+2 |
| | |||||
* | Prevent too deep recursion in parser. | chriseth | 2017-08-15 | 1 | -0/+75 |
| | |||||
* | Replace constant/payable with StateMutability in AST | Alex Beregszaszi | 2017-08-14 | 1 | -23/+31 |
| | |||||
* | Enforce commas in tuple syntax | Federico Bond | 2017-08-12 | 1 | -2/+3 |
| | |||||
* | Make toString(visibility) a helper | Alex Beregszaszi | 2017-08-09 | 1 | -20/+2 |
| | |||||
* | Show previous visibility specifier in parser error | Alex Beregszaszi | 2017-08-09 | 1 | -2/+28 |
| | |||||
* | Add test for multiple visibilites on functions | Alex Beregszaszi | 2017-08-09 | 1 | -1/+1 |
| | |||||
* | Rename Token::Const to Token::Constant | Alex Beregszaszi | 2017-08-09 | 1 | -2/+2 |
| | |||||
* | Update parser error for pragma/import/contract | Alex Beregszaszi | 2017-07-19 | 1 | -1/+1 |
| | |||||
* | Merge pull request #2409 from federicobond/trailing-commas-2 | chriseth | 2017-06-19 | 1 | -3/+9 |
|\ | | | | | Improve error reporting of trailing commas | ||||
| * | Improve error reporting of trailing commas | Federico Bond | 2017-06-16 | 1 | -3/+9 |
| | | |||||
* | | Display error if payable or constant is specified multiple times | Federico Bond | 2017-06-17 | 1 | -0/+6 |
| | | |||||
* | | Try to recover from parser errors where possible | Federico Bond | 2017-06-16 | 1 | -13/+22 |
|/ | |||||
* | Forbid trailing commas in named arguments | Federico Bond | 2017-06-14 | 1 | -4/+9 |
| | |||||
* | Refactor error reporting | Rhett Aultman | 2017-05-30 | 1 | -3/+3 |
| | | | | | | | | | This commit introduces ErrorReporter, a utility class which consolidates all of the error logging functionality into a common set of functions. It also replaces all direct interactions with an ErrorList with calls to an ErrorReporter. This commit resolves issue #2209 | ||||
* | Pull out common code to a helper | Alex Beregszaszi | 2017-05-27 | 1 | -24/+14 |
| | |||||
* | Remove duplicate code | Alex Beregszaszi | 2017-05-27 | 1 | -20/+18 |
| | |||||
* | Move Solidity specific methods from ParserBase to the Solidity Parser | Alex Beregszaszi | 2017-05-27 | 1 | -0/+56 |
| | |||||
* | Rename InterfaceHandler to Natspec | Alex Beregszaszi | 2017-05-19 | 1 | -1/+0 |
| | |||||
* | Factor out tokenToContractKind | Alex Beregszaszi | 2017-03-18 | 1 | -15/+17 |
| | |||||
* | Support interface (contract) keyword in the parser | Alex Beregszaszi | 2017-03-18 | 1 | -4/+20 |
| | |||||
* | Add ContractKind to ContractDefinition | Alex Beregszaszi | 2017-03-18 | 1 | -1/+1 |
| | |||||
* | Rename contractName to typeName when parsing new expression | Federico Bond | 2017-01-05 | 1 | -3/+3 |
| | |||||
* | Fix licensing headers | VoR0220 | 2016-11-23 | 1 | -4/+4 |
| | | | | Signed-off-by: VoR0220 <rj@erisindustries.com> | ||||
* | Fix parser for function type disambiguity. | chriseth | 2016-11-16 | 1 | -1/+12 |
| | |||||
* | Function type state variables. | chriseth | 2016-11-16 | 1 | -31/+66 |
| | |||||
* | Function types. | chriseth | 2016-11-16 | 1 | -33/+50 |
| | |||||
* | parsing: ban empty enum definition. | Yoichi Hirai | 2016-11-12 | 1 | -0/+2 |
| | |||||
* | Add support for do/while loops | Rhett Aultman | 2016-11-10 | 1 | -1/+18 |
| | | | | | | | This commit adds support for a standard do <statement> while <expr>; form of statement. While loops were already being supported; supporting a do/while loop mostly involves reusing code from while loops but putting the conditional checking last. | ||||
* | Merged in changes from chriseth/payable | Alex Beregszaszi | 2016-09-06 | 1 | -6/+6 |
| | |||||
* | Support payable keyword for functions | Alex Beregszaszi | 2016-09-06 | 1 | -0/+7 |
| | |||||
* | Require ";" after "_" | chriseth | 2016-09-05 | 1 | -1/+1 |
| | |||||
* | Version pragma. | chriseth | 2016-09-01 | 1 | -0/+33 |
| | |||||
* | Remove log.h from solidity. | chriseth | 2016-04-12 | 1 | -1/+0 |
| | |||||
* | Code generation (missing external access and source locations). | chriseth | 2016-03-30 | 1 | -8/+9 |
| | |||||
* | Parsing for inline assembly. | chriseth | 2016-03-30 | 1 | -0/+20 |
| | |||||
* | Move reusable parser components into base class. | chriseth | 2016-02-23 | 1 | -75/+0 |
| | |||||
* | added two functions in Token to handle long identifiers, redid ↵ | RJ Catalano | 2016-02-19 | 1 | -7/+19 |
| | | | | fromIdentifierOrKeyword, and made complementary changes in scanner and parser | ||||
* | tests added and changes made | RJ Catalano | 2016-02-19 | 1 | -1/+1 |
| | | | | | | fixed some silly problems in Token.cpp windows error fix | ||||
* | changes to redefine the token list, the scanner, and the parser and how they ↵ | RJ Catalano | 2016-02-19 | 1 | -11/+15 |
| | | | | | | | | pass around variable types of different sizes not ready for change to FixedPoint just yet made this more const correct and added a switch statement for easier reading | ||||
* | [cond-expr] fixup according to code review | Lu Guanqun | 2016-01-23 | 1 | -1/+1 |
| | |||||
* | [cond-expr] parse _ ? _ : _ into conditional AST node | Lu Guanqun | 2016-01-23 | 1 | -6/+19 |
| | |||||
* | Remove unnecesary std::move | Paweł Bylica | 2016-01-15 | 1 | -1/+1 |
| | |||||
* | Use paths instead of simple identifiers wherever possible. | chriseth | 2015-12-22 | 1 | -15/+17 |
| | |||||
* | Merge pull request #311 from guanqun/correct-boolean-literal-position | chriseth | 2015-12-19 | 1 | -0/+1 |
|\ | | | | | correct true/false literal's source | ||||
| * | correct true/false literal's source | Lu Guanqun | 2015-12-18 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before: Literal, token: true value: true Type: bool Source: "true;" After: Literal, token: true value: true Type: bool Source: "true" Extra token is removed. | ||||
* | | Simple aliasing during import. | chriseth | 2015-12-18 | 1 | -1/+1 |
| | | |||||
* | | Parse complex import directives. | chriseth | 2015-12-18 | 1 | -19/+68 |
| | | |||||
* | | changed error message | RJ Catalano | 2015-12-17 | 1 | -1/+1 |
| | | |||||
* | | updated tests and much simpler algorithm for parsing errors | RJ Catalano | 2015-12-17 | 1 | -7/+6 |
| | | |||||
* | | added one more test and realized that there was one last change before the ↵ | RJ Catalano | 2015-12-17 | 1 | -1/+1 |
| | | | | | | | | parser is perfect | ||||
* | | Parsing is complete | RJ Catalano | 2015-12-17 | 1 | -3/+3 |
| | | |||||
* | | changed a couple of small nuances, made an attempt at fixing the parsing in ↵ | RJ Catalano | 2015-12-17 | 1 | -3/+6 |
| | | | | | | | | the inline arrays case (fails), and added test for inline arrays per Chriseth request | ||||
* | | now is compiling and passing soltest...but I think there may be a few more ↵ | RJ Catalano | 2015-12-16 | 1 | -4/+6 |
| | | | | | | | | things to do | ||||
* | | fixed case statements | RJ Catalano | 2015-12-16 | 1 | -1/+2 |
| | | |||||
* | | updated attempt...still a bit more work to do but here's what's current | RJ Catalano | 2015-12-16 | 1 | -0/+1 |
|\ \ | |||||
| * | | Inline array declarations complete | RJ Catalano | 2015-12-15 | 1 | -0/+22 |
| |/ | |||||
* / | updated attempt, a couple of more things to sort through and change | RJ Catalano | 2015-12-16 | 1 | -4/+6 |
|/ | |||||
* | Added the `using x for y` directive. | chriseth | 2015-11-27 | 1 | -0/+20 |
| | |||||
* | Do not store elements of a contract by AST node type. | chriseth | 2015-11-26 | 1 | -18/+8 |
| | |||||
* | Fix MSVC errors and warnings. | chriseth | 2015-11-26 | 1 | -1/+1 |
| | |||||
* | Allow "new expressions" also for general type names. | chriseth | 2015-11-26 | 1 | -1/+1 |
| | | | | | | | Breaking change: If you want to send value with a contract creation, you have to use parentheses now: `(new ContractName).value(2 ether)(arg1, arg2)` | ||||
* | Allow docstrings for statements. | chriseth | 2015-10-27 | 1 | -30/+38 |
| | |||||
* | more corrections | LianaHus | 2015-10-23 | 1 | -4/+14 |
| | |||||
* | modified error msg | LianaHus | 2015-10-23 | 1 | -1/+7 |
| | |||||
* | File reorganisation. | chriseth | 2015-10-21 | 1 | -0/+1234 |