summaryrefslogtreecommitdiff
path: root/src/token.cc
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright yearAlexis Hildebrandt2023-02-021-1/+1
| | | | [skip ci]
* Disallow numbers in function namesJohn Wiegley2023-01-251-1/+1
|
* Update copyright statement for 2022Alexis Hildebrandt2022-07-021-1/+1
|
* Use correct int return type for stream input operationskanreki2021-12-081-53/+52
| | | | | | | | This makes it safe to compare results to -1 to indicate EOF, regardless of whether char is considered signed or unsigned; and so eliminates compiler warnings on platforms such as ARM. Fixes bug #2058.
* Drop support for gcc 2 and earlierTim Landscheidt2019-01-251-2/+2
|
* [misc] Update year in copyright notice to 2017Alexis Hildebrandt2018-01-271-1/+1
| | | | [ci skip]
* [misc] Update year in copyright notice to 2017Alexis Hildebrandt2017-01-051-1/+1
| | | | [ci skip]
* Increase maximum length for regexMartin Michlmayr2016-02-151-2/+2
| | | | Fixes bug #981
* [misc] Update year in copyright notice to 2016Alexis Hildebrandt2016-01-021-1/+1
| | | | [ci skip]
* Bump copyright notice to 2015Alexis Hildebrandt2014-12-271-1/+1
| | | | | | The following script makes it a no-brainer: % NEXT_YEAR=2015; ag -l 'Copyright.*Wiegley' \ | xargs sed -i '' -e "s/\(Copyright.*\)-20[0-9]\{2\}/\1-${NEXT_YEAR}/"
* Fix a compiler warningJohn Wiegley2014-03-281-1/+2
|
* Bump copyright information to 2014Alexis Hildebrandt2014-02-021-1/+1
|
* Bump copyright information to 2013John Wiegley2013-02-181-1/+1
|
* Switch to using Boost.FormatJohn Wiegley2012-05-141-13/+13
|
* Improved detection of iostream's eof() conditionJohn Wiegley2012-05-141-1/+3
|
* Made some of the value term parsing code more resilientJohn Wiegley2012-04-281-5/+7
|
* Allow identifier names to begin with _John Wiegley2012-03-071-1/+1
|
* Removed an old commentJohn Wiegley2012-03-021-3/+0
|
* Increased file copyrights to 2012John Wiegley2012-02-291-1/+1
|
* Removed unneeded default casesJohn Wiegley2012-02-171-4/+0
|
* Corrections to the query language parserJohn Wiegley2011-11-101-3/+1
| | | | Fixes #552
* Report an error in the case of '(1' (missing rparen)John Wiegley2011-11-101-7/+97
| | | | Fixes #557
* Added casts necessary for building under Visual StudioJohn Wiegley2011-03-031-1/+1
|
* Fixed a bug preventing g++ 4.6 from workingJohn Wiegley2011-02-041-0/+7
|
* Fixes for compilation as C++0x codeJohn Wiegley2011-02-041-1/+6
|
* Added initial support for lambda functionsJohn Wiegley2010-09-061-1/+10
|
* Minor simplifications to valexpr parserJohn Wiegley2010-09-051-14/+8
| | | | | The most significant change is the way CONS sequences are parsed, and that now instead of =/:=, the operators are ==/=.
* Changes for building with Visual Studio 2008John Wiegley2010-06-151-2/+2
|
* Untabified all source filesJohn Wiegley2010-06-111-66/+66
|
* Moved a misplaced parenthesisJohn Wiegley2010-06-021-1/+1
|
* Improved error reporting in the expression parserJohn Wiegley2010-05-221-11/+36
| | | | Fixes 15A80F68-F233-49D9-AF0C-9908BB6903BA
* Updated copyrights to 2003-2010John Wiegley2010-03-051-1/+1
|
* The new period parser is passing all testsJohn Wiegley2009-11-181-2/+3
|
* Redesigned the expr_t, predicate_t, query_t classesJohn Wiegley2009-11-091-10/+9
|
* Revert "Added % suffix operator, as in "$1.00 * 10%""John Wiegley2009-06-211-5/+0
| | | | This reverts commit 0e9f782a05ab9bc892af40abef84346a16d3baec.
* Added % suffix operator, as in "$1.00 * 10%"John Wiegley2009-05-261-0/+5
|
* First iteration of the new date_interval_t rewriteJohn Wiegley2009-03-151-2/+5
|
* Enabled use of pre-compiled headers by defaultJohn Wiegley2009-03-101-0/+2
|
* Added ; as a sequencing operator in valexprsJohn Wiegley2009-03-031-0/+5
|
* Made error reporting while parsing more resilientJohn Wiegley2009-03-031-1/+1
|
* Added Python-style if/else expression keywordsJohn Wiegley2009-03-031-1/+22
|
* Corrected warnings g++-4.3.3 was complaining aboutJohn Wiegley2009-02-281-11/+11
|
* Marked all strings needing internationalizationJohn Wiegley2009-02-251-14/+13
| | | | | | | | | | | | | | | | These strings are now collected automagically in the file po/ledger.pot. If you'd like to produce a translation, just run this command after building Ledger: msginit -l LOCALE -o LANG.po -i po/ledger.pot Where LOCALE is a string like de or en_GB, and LANG is a short descriptive word for your language. Then send me this .po file so I can commit it to the Ledger sources (alternatively, you could maintain the file in a fork on GitHub), and setup the build script to format and install your new message catalog during a "make install".
* Correctly accept "false" as a keywordJohn Wiegley2009-02-221-2/+2
|
* Don't allow '-' as part of an identifier tokenJohn Wiegley2009-02-211-1/+1
|
* Parse '/' in an operator context as "div"John Wiegley2009-02-151-8/+3
|
* Added support for value expression definitions.John Wiegley2009-02-081-0/+9
| | | | | | | | Example: ] expr f(x) := x + 100 ] expr f(100) 200
* Use seekg, in place of multiple ungets.John Wiegley2009-02-071-6/+0
|
* Added support for metadata and tagging, and made regexs a first-class type.John Wiegley2009-02-011-4/+8
|
* Stubbed out the new definition for token_t::rewind(), which was failing.John Wiegley2009-01-311-0/+6
|