Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Parse time options



On Feb 16, 11:36am, Sebastian Gniazdowski wrote:
}
} for i in "${STRESS_TEST_OPTIONS[@]}"; do
}     setopt "$i"
}     zcompile -R "$fname" 2>/dev/null
}    unsetopt "$i"
} done

Presumably you're starting from a state where none of these options are
set, so that it's correct to unsetopt them again?

} This seems to work fine with NO_SHORT_LOOPS and IGNORE_BRACES. Is
} there one other option that would break zcompile in case of some
} forbidden (by the option) syntax? Except maybe for the CSH_* options.

Well, there's NO_BARE_GLOB_QUAL, IGNORE_CLOSE_BRACES, MULTI_FUNC_DEF,
maybe C_PRECEDENCES, possibly POSIX_IDENTIFIERS.



Messages sorted by: Reverse Date, Date, Thread, Author