aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/parsing/Token.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Isolating files shared between Yul- and Solidity language frontend.Christian Parpart2018-11-221-207/+0
|
* Refactor `solidity::Token` into an `enum class` with `TokenTraits` helper ↵Christian Parpart2018-10-221-41/+57
| | | | namespace
* Remove trailing whitespace for all files in the repository.Daniel Kirchner2018-09-041-2/+2
|
* Allow ``memory`` suffix for internal elementary type parsing.chriseth2018-04-051-1/+1
|
* Cleanup fixed point type changeschriseth2017-07-201-1/+1
|
* Change fixed point types to have digit countVoR02202017-07-201-7/+3
| | | | Signed-off-by: VoR0220 <rj@erisindustries.com>
* Fix licensing headersVoR02202016-11-231-4/+4
| | | | Signed-off-by: VoR0220 <rj@erisindustries.com>
* 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
* readding conditionals but with slight changesVoR02202016-04-011-3/+2
|
* solAsserts added and some changes rolled back.VoR02202016-03-311-1/+1
|
* helper function in scanner and corresponding edits to parserBaseVoR02202016-03-311-0/+3
|
* change lexical cast to unsigned intVoR02202016-03-311-1/+1
|
* Fix for Token::name and token::toStringVoR02202016-03-311-4/+3
|
* Remove timestamp again and some fixes for ufixed parsing.chriseth2016-03-121-14/+18
|
* added keyword type and some tests, changes in lexical castRJ Catalano2016-03-121-8/+8
|
* stylistic change, and got lexical cast to work with an iterator rangeRJ Catalano2016-03-121-4/+5
|
* changed documentation and using lexical castRJ Catalano2016-03-121-6/+2
|
* changed extractUnsigned to handle iterators rather than a stringRJ Catalano2016-03-121-4/+4
|
* changed 1 to 0 in invalid argument catch blockRJ Catalano2016-03-121-1/+1
|
* added from identifier or keyword handling of fixed typesRJ Catalano2016-03-121-2/+32
|
* further optimization, splitting function into piecesRJ Catalano2016-02-191-14/+16
| | | | generating strings on the fly, changed name, and added two tests
* added const correctness to extract functions in TokenRJ Catalano2016-02-191-88/+23
| | | | | | | | | | 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-191-29/+93
| | | | fromIdentifierOrKeyword, and made complementary changes in scanner and parser
* tests added and changes madeRJ Catalano2016-02-191-31/+52
| | | | | | 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-191-1/+39
| | | | | | | | 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
* File reorganisation.chriseth2015-10-211-0/+100