aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/lexer.l
AgeCommit message (Expand)Author
2024-03-09libexpr: Support structured error classeseldritch horrors
2024-03-09decouple parser and EvalStateeldritch horrors
2024-03-09rename ParserState::{makeCurPos -> at}eldritch horrors
2024-03-09move ParseData to own header, rename to ParserStateeldritch horrors
2024-03-07Merge pull request #10074 from lf-/jade/ban-implicit-fallthrougheldritch horrors
2024-03-04Merge pull request #9582 from pennae/misc-optseldritch horrors
2023-07-03libexpr: use `thread_local` to make the parser thread-safeYingchi Long
2022-05-25Handle EOFs in string literals correctlyEelco Dolstra
2022-04-21replace most Pos objects/ptrs with indexes into a position tablepennae
2022-03-24lexer: add error location to lexer errorsSergei Trofimovich
2022-01-19remove ExprIndStrpennae
2022-01-13optimize unescapeStrpennae
2022-01-13don't strdup tokens in the lexerpennae
2021-11-04Optimize primop callsEelco Dolstra
2021-09-29reset yylloc when yyless(0) is calledTaeer Bar-Yam
2021-08-06add antiquotations to pathsTaeer Bar-Yam
2021-07-14libexpr: Fix read out-of-bound on the heapPamplemousse
2020-12-02Remove an `unknown pragma` gcc warningregnat
2020-12-01shut up clang warningsregnat
2020-06-15Remove trailing whitespaceEelco Dolstra
2020-04-22a few more 'format's rremovedBen Burdette
2018-10-27simplify handling of extra '}'Guillaume Maudoux
2018-08-29libexpr: Use int64_t for NixIntaszlig
2018-05-11Don't return negative numbers from the flex tokenizerEelco Dolstra
2018-05-11Revert "Throw a specific error for incomplete parse errors."Eelco Dolstra
2018-03-02libexpr: Recognize newline in more places in lexerTuomas Tynkkynen
2018-02-16libexpr: Pre-reserve space in string in unescapeStr()Tuomas Tynkkynen
2017-11-14Revert "Don't parse "x:x" as a URI"Eelco Dolstra
2017-10-30Don't parse "x:x" as a URIEelco Dolstra
2017-07-30Replace Unicode quotes in user-facing strings by ASCIIJörg Thalheim
2017-05-01lexer: remove catch-all rules hiding real errorsGuillaume Maudoux
2017-05-01Fix lexer to support `$'` in multiline strings.Guillaume Maudoux
2016-12-06Tweak error messageEelco Dolstra
2016-11-27Improve error message on trailing path slashesGuillaume Maudoux
2016-11-13Fix comments parsingGuillaume Maudoux
2016-02-24Throw a specific error for incomplete parse errors.Scott Olson
2016-02-12Merge pull request #762 from ctheune/ctheune-floatsEelco Dolstra
2016-01-20Revert "Revert "next try for "don't abort when given unmatched '}' with 'star...Eelco Dolstra
2016-01-20Revert "next try for "don't abort when given unmatched '}' with 'start-condit...Eelco Dolstra
2016-01-19next try for "don't abort when given unmatched '}' with 'start-condition stac...Fabian Schmitthenner
2016-01-19Revert "don't abort when given unmatched '}' with 'start-condition stack unde...Eelco Dolstra
2016-01-12don't abort when given unmatched '}' with 'start-condition stack underflow'. ...Fabian Schmitthenner
2016-01-05Edge condition: parser did not pick up floats starting exactly with 0.Christian Theune
2016-01-05Fix up float parsing.Christian Theune
2016-01-05Try a simplified version of float lexing that didn't work.Christian Theune
2016-01-05First hit at providing support for floats in the language.Christian Theune
2015-07-03Fix the parsing of "$"'s in strings.Guillaume Maudoux
2015-07-03Fix the hack that resets the scanner state.Guillaume Maudoux
2015-02-19Allow the leading component of a path to be a ~Shea Levy
2014-08-20Use proper quotes everywhereEelco Dolstra