mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
gpgscm: Fix detection of unbalanced parenthesis.
* tests/gpgscm/main.c (load): Print error message. * tests/gpgscm/scheme.c (opexe_0): Correctly report nesting level when loading files. Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
213b3cf465
commit
f2249b7370
2 changed files with 9 additions and 0 deletions
|
@ -2592,6 +2592,7 @@ static pointer opexe_0(scheme *sc, enum scheme_opcodes op) {
|
|||
if(sc->file_i == 0)
|
||||
{
|
||||
sc->args=sc->NIL;
|
||||
sc->nesting = sc->nesting_stack[0];
|
||||
s_goto(sc,OP_QUIT);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue