about summary refs log tree commit diff
path: root/Src/parse.c
Commit message (Collapse)AuthorAgeFilesLines
* 33346: another bit of the 33345 repairBart Schaefer2014-10-031-1/+2
|
* 33345: fix anonymous function complex command handling.Peter Stephenson2014-10-031-83/+84
| | | | | | Longstanding problem caused simple anonymous function incorrectly to reset the overall "complext" state, causing wordcode to be diverted into execsimple(), which caused a crash 'cos ist wasn't simple.
* unposted: comments in previous commit were reversedPeter Stephenson2014-10-031-4/+4
|
* 33343: Variant anonymous function synax with arguments.Peter Stephenson2014-10-031-7/+24
| | | | Don't expand arguments as if in command position. Test.
* 33285: apply function definition redirections at executionPeter Stephenson2014-09-291-9/+78
|
* 33242: tokens following if, for, repeat, while aren't in command positionPeter Stephenson2014-09-261-2/+14
|
* 32609: [[ $var ]] behaves as [[ -n $var ]] for bash/ksh compatibilityBarton E. Schaefer2014-05-131-13/+28
| | | | | | Also restore ksh [ -t ] compatibility when POSIX_BUILTINS is not set, and allow operators defined by modules to be called with no arguments, although this affects only runtime interpretation, not parsing.
* 32552 (updated by 32560): fix segfault when using process substitution in ↵Andrew Waldron2014-04-181-2/+2
| | | | | | anonymous function argument list Also disallow process substitution in function name position.
* 31696: In "test" No One Can Hear If You Shriek.Peter Stephenson2013-09-041-3/+11
| | | | Treat ! as a string in "test ! -a ..." and "test ! -o ...".
* 31574: alternative fix for bad fd if no FD_CLOEXEC.Peter Stephenson2013-07-251-8/+16
| | | | Remove dump records more consistently in that case.
* 31545: Use of FD_CLOEXEC to remove possibility of fd reuse.Peter Stephenson2013-07-201-0/+7
| | | | | File descriptors of mmap'd dump files are closed if and only if an exec is performed.
* this prevent process-based features from working in their argumentsPeter Stephenson2012-12-211-2/+4
|
* 30735: array substitutions aren't simple:Peter Stephenson2012-10-251-0/+5
| | | | prevent crash on process substitution therein
* 30726: make shell options passed to emulate stick along with the emulationPeter Stephenson2012-10-111-1/+1
|
* 30715: use enum lextok for variables containing lexical tokensPeter Stephenson2012-10-051-22/+25
|
* 29633: more care with anonymous and other functionsPeter Stephenson2011-08-031-2/+8
|
* 29626: arguments to anonymous functions shouldn't be parsed as command wordsPeter Stephenson2011-07-281-0/+2
|
* 29492: add argument handling to anonymous functionsPeter Stephenson2011-06-191-2/+28
|
* 29491: remove some variables set but not usedPeter Stephenson2011-06-191-2/+2
|
* Paul 28538 / me 28540 / couple of unposted casts:Peter Stephenson2010-12-201-4/+4
| | | | use char * for pointer arithmetic rather than void *
* 28338: keep =~ from inverting sense of subsequent tests (after &&/||)pdpennock2010-10-101-1/+2
|
* 28259: Finally fix some ancient problems with here-documentsPeter Stephenson2010-09-141-7/+24
|
* Check the return value of all pipe(), read(), and write() calls.Wayne Davison2009-12-161-5/+5
| | | | | | Gets rid of all the remaining "ignoring return value" compiler warnings, and makes some read/write operations safer by ensuring that an EINTR is handled.
* 27284: better use of movefd()Peter Stephenson2009-09-221-0/+2
|
* users/14240: assignment before a function definition is an errorPeter Stephenson2009-07-171-1/+7
|
* 27092: missing then-clause for if wasn't an errorPeter Stephenson2009-07-061-0/+4
|
* c.f. 26586: rename yylex to zshlex and yytext to zshlextextPeter Stephenson2009-02-251-98/+98
|
* 26546, 26556: sticky emulation for functions defined in emulate ... -c ...Peter Stephenson2009-02-111-0/+1
| | | | environments, plus documentation
* 26061: fix clash between process subst and numeric globPeter Stephenson2008-11-181-4/+5
| | | | 26062: additional compmatch change, missed from 26047
* users/13295, tweaked: dont reset line numbers when parsing strings, sometimesPeter Stephenson2008-09-291-1/+1
|
* users/13288: Src/parse.c: don't report parse errors on aborted linesPeter Stephenson2008-09-241-6/+8
|
* 25641: add emulation option (NO_)MULTI_FUNC_DEFPeter Stephenson2008-09-111-0/+3
|
* 25587: fix a==(stuff) and associated stuff.Peter Stephenson2008-09-011-0/+12
|
* 25571: when parsing use line numbers for the start of a token, not the endPeter Stephenson2008-08-311-1/+1
| | | | add test and move debug trap tests to new file
* 25247 with further modifications: add $funcsourcetracePeter Stephenson2008-08-111-4/+8
|
* 25262: suspicious error checking in braceless function definitionPeter Stephenson2008-07-011-2/+1
|
* 24711: fix re-presentation of here-documents munged internallyPeter Stephenson2008-03-141-1/+5
| | | | to here-strings
* users/12412: check for extra arguments in test and [Peter Stephenson2008-01-101-0/+6
|
* 23670: rationalise some linked list functionsPeter Stephenson2007-06-271-1/+1
|
* Phil Pennock: 23480: typoPeter Stephenson2007-05-291-1/+1
| | | | Also typo in mod_stat.yo
* 23375: Phil Pennock: =~, zsh/regex etc. etc.Peter Stephenson2007-05-011-0/+6
|
* unposted: fix error message for short ZWC filePeter Stephenson2007-04-231-1/+1
|
* 23313: fix test for incorrect version in ZWC filePeter Stephenson2007-04-231-2/+3
|
* parse.cPeter Stephenson2007-04-231-1/+1
|
* 23312: fix versioning and initialisation of word code headersPeter Stephenson2007-04-231-0/+2
|
* 23115: ";|" at end of case clause causes later patterns to be testedPeter Stephenson2007-01-191-5/+7
|
* 22586: fix warnings spotted on CygwinPeter Stephenson2006-08-041-0/+7
|
* 22546: fix {myfd}>... bug and tweak testsPeter Stephenson2006-07-111-1/+1
|
* 22544: Improve use of ztype tests for multibyte characters. AddPeter Stephenson2006-07-101-4/+1
| | | | | POSIX_IDENTIFIERS option to control allowability of multibyte alphanumeric characters in parameter and module names.
* 22542: deoverenthuse cmdpoppingPeter Stephenson2006-07-091-1/+0
|