aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/parsing
Commit message (Collapse)AuthorAgeFilesLines
* Fix licensing headersVoR02202016-11-239-36/+36
| | | | Signed-off-by: VoR0220 <rj@erisindustries.com>
* Fix parser for function type disambiguity.chriseth2016-11-161-1/+12
|
* Function type state variables.chriseth2016-11-162-31/+68
|
* Function types.chriseth2016-11-162-33/+64
|
* parsing: ban empty enum definition.Yoichi Hirai2016-11-121-0/+2
|
* Add support for do/while loopsRhett Aultman2016-11-102-1/+19
| | | | | | | 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.
* Merge pull request #1016 from ethereum/reservedchriseth2016-09-062-1/+12
|\ | | | | Report the usage of reserved keywords more nicely
| * Raise proper error on reserved keywordsAlex Beregszaszi2016-09-061-1/+11
| |
| * Introduce isReservedKeyword()Alex Beregszaszi2016-09-061-0/+1
| |
* | Reserve view and pure as keywordsAlex Beregszaszi2016-09-061-0/+2
|/
* Merged in changes from chriseth/payableAlex Beregszaszi2016-09-061-6/+6
|
* Support payable keyword for functionsAlex Beregszaszi2016-09-062-1/+8
|
* Require ";" after "_"chriseth2016-09-051-1/+1
|
* Version pragma.chriseth2016-09-013-0/+35
|
* Introduce hex literals (#832)Alex Beregszaszi2016-08-163-0/+37
| | | | | | | | | | * Introduce hex keyword token * Support hex literals * Include tests for hex literals * Document hex literals
* Reserved keywords update (#833)Alex Beregszaszi2016-08-161-2/+6
| | | | | | | | * Reserve abstract, interface and payable keywords * Keywords as and using aren't reserved anymore - they're used * Reserve the static keyword
* Revert "Change After to a deprecated token"Denton Liu2016-08-111-5/+1
| | | | This reverts commit 91c97f73b50fc87662b5490b2fe6de1c6ef376c7.
* Change After to a deprecated tokenDenton Liu2016-08-111-1/+5
|
* Remove after from Token.hDenton Liu2016-08-111-2/+2
|
* Rename addUnicodeChar to addUnicodeAsUTF8Alex Beregszaszi2016-08-052-3/+3
|
* Support Unicode escape characters in string literals ('\uUUUU')Alex Beregszaszi2016-08-052-0/+45
| | | | Fixes #638
* Fix isCompareOp()Denton Liu2016-07-211-1/+1
|
* Move `in` as a keyword to reserved word sectionDenton Liu2016-07-211-1/+1
|
* Fix Token::isBitOp to exclude shift operatorsAlex Beregszaszi2016-06-081-1/+1
|
* updated algorithm for bit finding...now to figure out literal valueVoR02202016-05-101-1/+1
| | | | | | | | | | | | tiny fixups changed location of the check got rid of extra space and fixed a couple of things added binary results bits change back literal value
* got exponents up and working with their inverse, changed a few of the ↵RJ Catalano2016-05-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 infinite loop still happening but it's somewhere in the fixedPoint methodd fractional bits needed algo improved! Eliminated 2 errors Corrected problems with the previous commit. No infinite loops. Actually appear to have corrected an error
* fixed problem with var...probably a conversion problem for fixed in size ↵RJ Catalano2016-05-101-2/+2
| | | | | | | | capabilities adding fixed type tests Removing bitshift and regrouping fixed type tests together
* fix for token bug, also quick fix for the wei and secondsRJ Catalano2016-05-101-1/+1
|
* initial work for fixed types...potentially needing a constant literal type ↵RJ Catalano2016-05-101-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-123-3/+0
|
* readding conditionals but with slight changesVoR02202016-04-011-3/+2
|
* solAsserts added and some changes rolled back.VoR02202016-03-312-2/+3
|
* helper function in scanner and corresponding edits to parserBaseVoR02202016-03-313-12/+13
|
* Got it working exactly like you wanted ;)VoR02202016-03-312-25/+76
|
* change lexical cast to unsigned intVoR02202016-03-311-1/+1
|
* Fix for Token::name and token::toStringVoR02202016-03-311-4/+3
|
* Code generation (missing external access and source locations).chriseth2016-03-301-8/+9
|
* Parsing for inline assembly.chriseth2016-03-302-0/+21
|
* Remove timestamp again and some fixes for ufixed parsing.chriseth2016-03-122-15/+18
|
* added keyword type and some tests, changes in lexical castRJ Catalano2016-03-122-11/+12
|
* stylistic change, and got lexical cast to work with an iterator rangeRJ Catalano2016-03-122-5/+6
|
* - inline and assembly keywords addedLianaHus2016-03-123-8/+10
| | | | - some style fixes
* changed documentation and using lexical castRJ Catalano2016-03-122-11/+3
|
* changed extractUnsigned to handle iterators rather than a stringRJ Catalano2016-03-122-5/+5
|
* changed 1 to 0 in invalid argument catch blockRJ Catalano2016-03-122-2/+2
|
* needed this one string of notationRJ Catalano2016-03-121-0/+1
|
* added from identifier or keyword handling of fixed typesRJ Catalano2016-03-122-6/+37
|
* fixed keyword added in for token typeRJ Catalano2016-03-121-2/+4
|
* Buildfix.chriseth2016-02-231-3/+1
|
* Move reusable parser components into base class.chriseth2016-02-234-100/+183
|
* further optimization, splitting function into piecesRJ Catalano2016-02-192-14/+18
| | | | generating strings on the fly, changed name, and added two tests
* added const correctness to extract functions in TokenRJ Catalano2016-02-193-107/+44
| | | | | | | | | | optimizations added in more elegant solution created for m declaration ubuntu wants to get rid of 0 <= first statement...so I will change returnToken to token
* added two functions in Token to handle long identifiers, redid ↵RJ Catalano2016-02-195-55/+138
| | | | fromIdentifierOrKeyword, and made complementary changes in scanner and parser
* tests added and changes madeRJ Catalano2016-02-194-67/+79
| | | | | | 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 Catalano2016-02-195-125/+114
| | | | | | | | 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
* Fix uint178 problem.chriseth2016-01-261-2/+2
|
* [cond-expr] fixup according to code reviewLu Guanqun2016-01-231-1/+1
|
* [cond-expr] parse _ ? _ : _ into conditional AST nodeLu Guanqun2016-01-231-6/+19
|
* Remove unnecesary std::movePaweł Bylica2016-01-151-1/+1
|
* Use paths instead of simple identifiers wherever possible.chriseth2015-12-222-15/+18
|
* Merge pull request #311 from guanqun/correct-boolean-literal-positionchriseth2015-12-191-0/+1
|\ | | | | correct true/false literal's source
| * correct true/false literal's sourceLu Guanqun2015-12-181-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.chriseth2015-12-181-1/+1
| |
* | Parse complex import directives.chriseth2015-12-181-19/+68
| |
* | changed error messageRJ Catalano2015-12-171-1/+1
| |
* | updated tests and much simpler algorithm for parsing errorsRJ Catalano2015-12-171-7/+6
| |
* | added one more test and realized that there was one last change before the ↵RJ Catalano2015-12-171-1/+1
| | | | | | | | parser is perfect
* | Parsing is completeRJ Catalano2015-12-171-3/+3
| |
* | changed a couple of small nuances, made an attempt at fixing the parsing in ↵RJ Catalano2015-12-171-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 Catalano2015-12-161-4/+6
| | | | | | | | things to do
* | fixed case statementsRJ Catalano2015-12-161-1/+2
| |
* | updated attempt...still a bit more work to do but here's what's currentRJ Catalano2015-12-161-0/+1
|\ \
| * | Inline array declarations completeRJ Catalano2015-12-151-0/+22
| |/
* / updated attempt, a couple of more things to sort through and changeRJ Catalano2015-12-161-4/+6
|/
* Added the `using x for y` directive.chriseth2015-11-272-0/+21
|
* Do not store elements of a contract by AST node type.chriseth2015-11-261-18/+8
|
* Fix MSVC errors and warnings.chriseth2015-11-261-1/+1
|
* Allow "new expressions" also for general type names.chriseth2015-11-261-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.chriseth2015-10-272-35/+45
|
* Store docstrings in AST annotations.chriseth2015-10-262-0/+211
|
* more correctionsLianaHus2015-10-231-4/+14
|
* modified error msgLianaHus2015-10-231-1/+7
|
* File reorganisation.chriseth2015-10-216-0/+2900