aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/SolidityParser.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Type is not reserved anymore.chriseth2019-01-181-1/+0
|
* Move unsatisfied_version test from SolidityNameAndTypeResolution to ↵Alex Beregszaszi2018-12-181-0/+8
| | | | SolidityParser
* Add version pragma parsing to ParserAlex Beregszaszi2018-12-181-0/+9
|
* liblangutil: extends CharStream to know about the respective (file-)name ↵Christian Parpart2018-11-291-1/+1
| | | | (and adapt codebase to it)
* Introduce namespace `langutil` in liblangutil directory.Christian Parpart2018-11-221-0/+1
| | | | | | | Also: - Use {}-style list initialisation for SourceLocation construction - Introduce new system includes - Changes the API of the Scanner to take source as value (with move) as opposed to as a reference
* Isolating files shared between Yul- and Solidity language frontend.Christian Parpart2018-11-221-2/+2
|
* Updates unit test to specify visibility.Erik Kundt2018-07-041-8/+8
|
* Add new reserved keywords.Daniel Kirchner2018-06-121-2/+20
|
* Move more parser tests to syntax testsAlex Beregszaszi2018-05-221-642/+0
|
* Tidy up tests to always have closing braces on the proper lineAlex Beregszaszi2018-05-161-14/+28
|
* Move couple of parser tests to syntax tests.Alex Beregszaszi2018-05-161-132/+0
|
* Replace constant with view in the tests.Daniel Kirchner2018-05-091-34/+0
|
* Update parser test expectationsAlex Beregszaszi2018-05-041-1/+1
|
* Simplify expectIdentifierToken by using expectTokenAlex Beregszaszi2018-05-041-1/+1
|
* Move some parser tests to syntax testsAlex Beregszaszi2018-05-031-319/+0
|
* Fix internal compiler error when parsing ``var`` declaration without identifier.Daniel Kirchner2018-04-121-22/+0
|
* Adds parsing sub-directory in syntaxTests and moves two example tests from ↵Daniel Kirchner2018-04-041-20/+0
| | | | SolidityParser.cpp to test contracts.
* test: Rename test/TestHelper.* to test/Options.* and add Options::validate().Daniel Kirchner2018-03-141-2/+2
|
* Parser: Add test case for reserved keywords.Daniel Kirchner2018-03-021-0/+30
|
* Parser test.chriseth2018-02-221-0/+13
|
* Fix event parsing. Refs #3175Federico Bond2017-11-231-0/+10
|
* Better error message for unexpected trailing comma in parameter listswadeAlexC2017-09-251-0/+84
|
* Cleanup test helper macros.chriseth2017-09-221-11/+11
|
* Crash fix, parseTypeName can return null.chriseth2017-08-281-0/+12
|
* Introduce pure specifier on functionsAlex Beregszaszi2017-08-241-0/+10
|
* Update tests for viewAlex Beregszaszi2017-08-231-0/+5
|
* Prevent too deep recursion in parser.chriseth2017-08-151-0/+12
|
* Tests for recursion exploit in parser.chriseth2017-08-151-0/+24
|
* Update parser testsAlex Beregszaszi2017-08-141-8/+9
|
* Enforce commas in tuple syntaxFederico Bond2017-08-121-0/+12
|
* Show previous visibility specifier in parser errorAlex Beregszaszi2017-08-091-2/+2
|
* Add test for multiple visibilites on functionsAlex Beregszaszi2017-08-091-1/+6
|
* Display error if payable or constant is specified multiple timesFederico Bond2017-06-171-0/+18
|
* Forbid trailing commas in named argumentsFederico Bond2017-06-141-0/+11
|
* Refactor error reportingRhett Aultman2017-05-301-2/+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
* Add tests for interfacesAlex Beregszaszi2017-03-181-0/+9
|
* Add tests for fractional numbers in exponential notationAlex Beregszaszi2017-03-151-0/+1
|
* Add tests for scientific notationAlex Beregszaszi2017-03-151-0/+14
|
* Moved test.chriseth2017-01-261-14/+0
|
* Add test for shadowing inline assembly instructionAlex Beregszaszi2017-01-251-0/+13
|
* test: check error messages in parser testsYoichi Hirai2016-12-071-23/+48
|
* Merge pull request #1458 from federicobond/r-literalschriseth2016-12-011-280/+372
|\ | | | | Use more R string literals in tests
| * Use more R string literals in testsFederico Bond2016-12-011-280/+372
| |
* | parser: recognize an end of comment of the form `**/` at the end of a ↵Yoichi Hirai2016-12-011-0/+13
|/ | | | | | multi-line doc comment This fixes #1433
* Fix licensing headersVoR02202016-11-231-4/+4
| | | | Signed-off-by: VoR0220 <rj@erisindustries.com>
* Fix parser for function type disambiguity.chriseth2016-11-161-0/+11
|
* Tests.chriseth2016-11-161-2/+5
|
* Add a parser test for arrays containing functionsYoichi Hirai2016-11-161-0/+10
|
* Add tests around calling functions returning functions returning functionsYoichi Hirai2016-11-161-0/+15
|
* Function type state variables.chriseth2016-11-161-1/+20
|
* Function types.chriseth2016-11-161-0/+51
|
* parsing: ban empty enum definition.Yoichi Hirai2016-11-121-1/+1
|
* Merged in changes from chriseth/payableAlex Beregszaszi2016-09-061-0/+10
|
* Require ";" after "_"chriseth2016-09-051-4/+12
|
* Fix syntax errorDenton Liu2016-08-311-1/+1
|
* Make tests more consistent in styleDenton Liu2016-08-271-1/+1
|
* initial work for fixed types...potentially needing a constant literal type ↵RJ Catalano2016-05-101-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for this notation Rational implemented...trying to figure out exponential fix for token bug, also quick fix for the wei and seconds fixed problem with var...probably a conversion problem for fixed in size capabilities adding fixed type tests Removing bitshift and regrouping fixed type tests together size capabilities functioning properly for fixed types got exponents up and working with their inverse, changed a few of the tests....something is working that likely shouldn't be slight changes to how to flip the rational negative around...still trying to figure it out tests added updated tests odd differences in trying soltest from solc binary, let me know if you can replicate test not working for odd reason fixed test problem with fixed literals...still need a way to log this error broken up the tests, added some, changed some things in types and began compiler work moar tests and prepping for rebuilding much of the types.cpp file further fixing initial work for fixed types...potentially needing a constant literal type for this
* Remove log.h from solidity.chriseth2016-04-121-1/+0
|
* Fixed Windows warningsBob Summerwill2016-03-181-1/+1
|
* cond-expr: add more unit testsLu Guanqun2016-01-231-14/+0
|
* [cond-expr] add another parser expressionLu Guanqun2016-01-231-0/+1
|
* [cond-expr] add parser test casesLu Guanqun2016-01-231-0/+80
|
* add a test case for decayed tuple expression as left valueLu Guanqun2016-01-041-0/+1
|
* Parse complex import directives.chriseth2015-12-181-0/+21
|
* updated tests and much simpler algorithm for parsing errorsRJ Catalano2015-12-171-21/+8
|
* added one more test and realized that there was one last change before the ↵RJ Catalano2015-12-171-5/+32
| | | | parser is perfect
* changed a couple of small nuances, made an attempt at fixing the parsing in ↵RJ Catalano2015-12-171-6/+20
| | | | the inline arrays case (fails), and added test for inline arrays per Chriseth request
* updated attempt, a couple of more things to sort through and changeRJ Catalano2015-12-161-0/+14
|
* Added the `using x for y` directive.chriseth2015-11-271-0/+15
|
* Fix smart pointer lifetime issue in tests.chriseth2015-11-261-16/+15
|
* Do not store elements of a contract by AST node type.chriseth2015-11-261-8/+8
|
* File reorganisation.chriseth2015-10-211-3/+3
|
* Correctly parse ambiguities like `A.B[10] x` and `x.y[10] = 3`.chriseth2015-10-161-0/+18
|
* Some fixes taking other pull requests into account.chriseth2015-10-161-1/+1
|
* Tuple expressions.chriseth2015-10-151-1/+16
|
* some more style fixesLianaHus2015-10-151-4/+4
|
* mainly style fixes/renamingLianaHus2015-10-151-1/+1
|
* fixed new testsLianaHus2015-10-151-1/+1
|
* errors instead of exceptionsLianaHus2015-10-151-89/+135
| | | | | | | | | Conflicts: libsolidity/CompilerStack.cpp libsolidity/NameAndTypeResolver.cpp libsolidity/NameAndTypeResolver.h libsolidity/TypeChecker.cpp test/libsolidity/SolidityNameAndTypeResolution.cpp
* added Error class for all kind of errorsLianaHus2015-10-151-1/+1
| | | | | Conflicts: libsolidity/Exceptions.h
* Some more tests and typos fixed.chriseth2015-10-131-0/+2
|
* Multi-variable declarations.chriseth2015-10-131-12/+0
|
* Introduced tuple type and added multi variable declarations to typechriseth2015-10-101-0/+12
| | | | checker.
* Tests for multi variable declaration.chriseth2015-10-091-0/+18
|
* Parsing and type checking of libraries without inheritance.chriseth2015-09-111-0/+10
|
* - added tests to test empty commentLianaHus2015-09-101-0/+10
| | | | | - fixed skipSingleLineComment - some style fixes
* renamed getter functionsLianaHus2015-09-081-13/+13
|
* Move Solidity tests.chriseth2015-08-201-0/+921