diff --git a/CITATION b/CITATION index 24237f4..604a7e1 100644 --- a/CITATION +++ b/CITATION @@ -1,3 +1,12 @@ -Python-air was not released yet. Please wait for the Zenodo link to appear shortly. -http://www.github.com/cwi-swat/python-air +Jurgen J. Vinju. (2024). cwi-swat/python-air. Zenodo. https://doi.org/10.5281/zenodo.10628962 + +```bibtex +@software{jurgen_j_vinju_2024_10628962, + author = {Jurgen J. Vinju}, + doi = {10.5281/zenodo.10628962}, + title = {cwi-swat/python-air}, + url = {https://doi.org/10.5281/zenodo.10628962}, + year = 2024, +} +``` diff --git a/src/lang/python/Parse.rsc b/src/lang/python/Parse.rsc index 1a11737..8b13c60 100644 --- a/src/lang/python/Parse.rsc +++ b/src/lang/python/Parse.rsc @@ -55,7 +55,7 @@ public list[loc] pythonPath() { + [ f | e <- readTextValueString(#list[str], lst), e != "", loc f := |file:///| + e, exists(f)]; } -@doc{this global caches the offsets for every line number during the processing of a single Python input string} +@synopsis{this global caches the offsets for every line number during the processing of a single Python input string} private map[int line, int offset] OFFSETS = (); @synopsis="parses a python expression producing an AST of type Expression"