aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/SolidityScanner.cpp
Commit message (Collapse)AuthorAgeFilesLines
* liblangutil: Scanner: remove superfluous sourceName field (it's in ↵Christian Parpart2018-12-011-14/+14
| | | | | | | CharStream already) Also, ParserBase::sourceName() was dead code. Eliminating it should increase test coverage (how sneaky) :-)
* liblangutil: extends CharStream to know about the respective (file-)name ↵Christian Parpart2018-11-291-67/+67
| | | | (and adapt codebase to it)
* Adapting tests to Scanner's lexical error diagnostics change.Christian Parpart2018-11-241-23/+25
|
* adapt to latest code changesLazaridis2018-11-241-16/+19
|
* 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-1/+1
|
* provide general hex-literal error message, fixes #1802Lazaridis2018-10-091-4/+8
| | | | dummy
* Disallow uppercase X in hex number literalshydai2018-09-191-0/+5
|
* Tests.chriseth2018-09-061-0/+98
|
* This fixes several bugs with regards to line breaks and comments:chriseth2018-09-061-0/+8
| | | | | | | | | | | - any unicode line break (line feed, vertical tab, form feed, carriage return, NEL, LS and PS) is considered to terminate a single-line comment. The line break itself is considered to be the next token after the comment, leading to a parser error if it is not an ascii character (i.e. for NEL, LS and PS). - unterminated multiline comments are considered illegal tokens - '/** /' is considered an unterminated multiline comment (previously, whitespace was allowed before the last '/'
* Cleanup & polish numbers-with-underscores parsing, also improving tests.Christian Parpart2018-08-081-134/+38
|
* Add stricter hex underscore rulesBalajiganapathi S2018-08-081-1/+1
|
* Allow underscores in numbers.Balajiganapathi S2018-08-081-0/+166
|
* Scanner tests for all shiftsAlex Beregszaszi2018-07-251-1/+10
|
* Scanner tests for all escapesAlex Beregszaszi2018-07-251-0/+8
|
* Disallow trailing dots that are not followed by a numberLeonardo Alt2018-05-301-0/+20
|
* Add tests for scientific notationAlex Beregszaszi2017-03-151-1/+16
|
* Disallow octal literals.chriseth2017-03-071-0/+18
|
* Fix licensing headersVoR02202016-11-231-4/+4
| | | | Signed-off-by: VoR0220 <rj@erisindustries.com>
* Introduce hex literals (#832)Alex Beregszaszi2016-08-161-0/+36
| | | | | | | | | | * Introduce hex keyword token * Support hex literals * Include tests for hex literals * Document hex literals
* Remove After test caseDenton Liu2016-08-111-6/+0
|
* Include Unicode tests in the scannerAlex Beregszaszi2016-08-051-0/+40
|
* File reorganisation.chriseth2015-10-211-1/+1
|
* - added tests to test empty commentLianaHus2015-09-101-0/+10
| | | | | - fixed skipSingleLineComment - some style fixes
* renamed getter functionsLianaHus2015-09-081-56/+56
|
* Move Solidity tests.chriseth2015-08-201-0/+288