• Martin Blix Grydeland's avatar
    Check for VRT_fail before setting handling on return() in VCL · 9e6f8a33
    Martin Blix Grydeland authored
    The compound statement doing return() in VCL may have failed for some
    reason, for example running out of workspace while putting together the
    reason field. The fail handling would be overwritten by the forced
    handling at the end of the generated code for a return statement.
    
    This patch adds a test for the failure condition before forcing the
    handling to the result of the return statement.
    
    Conflicts:
        lib/libvcc/vcc_action.c
    9e6f8a33
Name
Last commit
Last update
..
Makefile.am Loading commit data...
flint.lnt Loading commit data...
flint.sh Loading commit data...
generate.py Loading commit data...
vcc_acl.c Loading commit data...
vcc_action.c Loading commit data...
vcc_backend.c Loading commit data...
vcc_backend_util.c Loading commit data...
vcc_compile.c Loading commit data...
vcc_compile.h Loading commit data...
vcc_expr.c Loading commit data...
vcc_parse.c Loading commit data...
vcc_storage.c Loading commit data...
vcc_symb.c Loading commit data...
vcc_token.c Loading commit data...
vcc_types.c Loading commit data...
vcc_utils.c Loading commit data...
vcc_var.c Loading commit data...
vcc_vmod.c Loading commit data...
vcc_xref.c Loading commit data...
vmodtool.py Loading commit data...
vsctool.py Loading commit data...