We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"${source[@]}"
hello, I noticed this shell script:
pkgname=sed pkgver=4.9 source=("https://ftp.gnu.org/pub/gnu/sed/$pkgname-$pkgver.tar.xz"{,.sig}) for src in "${source[@]}"; do echo "$src" done
Currently fails to parse with this error:
Error { cause: Syntax( UnclosedParam { opening_location: Location { code: Code { value: RefCell { value: "pkgname=sed\npkgver=4.9\nsource=(\"https://ftp.gnu.org/pub/gnu/sed/$pkgname-$pkgver.tar.xz\"{,.sig})\n\nfor src in \"${source[@]}\"; do\n", }, start_line_number: 1, source: Unknown, }, range: 110..112, }, }, ), location: Location { code: Code { value: RefCell { value: "pkgname=sed\npkgver=4.9\nsource=(\"https://ftp.gnu.org/pub/gnu/sed/$pkgname-$pkgver.tar.xz\"{,.sig})\n\nfor src in \"${source[@]}\"; do\n", }, start_line_number: 1, source: Unknown, }, range: 118..119, }, }
I think this is due to "${source[@]}" which yash-syntax doesn't understand. When executing the script it's expected to print this output:
https://ftp.gnu.org/pub/gnu/sed/sed-4.9.tar.xz https://ftp.gnu.org/pub/gnu/sed/sed-4.9.tar.xz.sig
Thanks for providing this library!
The text was updated successfully, but these errors were encountered:
This syntax is not implemented yet. I intend to implement it, but am not sure exactly when.
Sorry, something went wrong.
No branches or pull requests
hello, I noticed this shell script:
Currently fails to parse with this error:
I think this is due to
"${source[@]}"
which yash-syntax doesn't understand. When executing the script it's expected to print this output:Thanks for providing this library!
The text was updated successfully, but these errors were encountered: