summaryrefslogtreecommitdiff
path: root/bin/sh/parser.c
AgeCommit message (Expand)Author
2009-01-18fix -Wsign-compare issueslukem
2008-11-08and if you don't succeed twice, try again.christos
2008-11-07Try a different fix for PR/11317: Don't ignore errors in list().christos
2008-11-07Break PR/11317 again. The counting parentheses fix does not handle casechristos
2008-11-05PR/11317: Hubert Feyrer: Recognize mismatched parentheses inside old stylechristos
2008-08-23Fix here documents that end abruptly without NL before EOF.christos
2008-04-25Detect unmatched quotes inside old style command substitution.christos
2008-02-27Change spaces to tabs for consistency with adjacent lines.dsl
2007-12-15convert __attribute__s to applicable cdefs.h macrosperry
2007-06-07Fix sh -c 'true && ! true | false; echo $?'dsl
2007-01-13PR/35410: Valeriy E. Ushakov: /bin/sh mishandles shell function definitionschristos
2006-10-16sprinkle volatile.christos
2006-10-04Prefix "Syntax Error" with the program name, if the command name is notchristos
2006-06-20PR/33775: YAMAMOTO Takashi: /bin/sh doesn't accept "(" before case patternschristos
2006-05-10quell GCC 4.1 uninitialised variable warnings.mrg
2005-03-21Back out previous, amongst other things it breaks $((0x10))dsl
2005-03-20Treat $((x)) as equivalent to $(($x)) - posix seems to require this now.dsl
2004-06-27Fix treatment of ' inside a 'here document' with a quoted EOF marker.dsl
2004-06-26Correctly apply IFS to unquoted text in ${x-text}.dsl
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
2002-11-24Fixes from David Laight:christos
2002-05-15implement noclobber. From Ben Harris, with minor tweaks from me. Twochristos
2002-02-20enami convinced me that it is a good idea to use the first word ofchristos
2002-02-12Since we should be able to handle nested double quotes, don't usechristos
2002-02-12back this directory up a day, systems won't even boot (rc.subr splodes)ross
2002-02-11PR/15579: Alan Barrett: }'s inside variable specs were taken into accountchristos
2001-11-02Fix switch alias handling. Inspired from FreeBSD, but corrected to handlechristos
2001-04-03PR/12533: Koji Mori: eval gets misparsed when it has a trailing semi-colon.christos
2001-02-04remove redundant declarations and nexted externs.christos
2000-07-27un-__P functions declared in parser.h. host programs include parser.h,cgd
2000-01-27Fix bin/9184, bin/9194, bin/9265, bin/9266christos
1999-07-09compile with WARNS = 2christos
1999-02-04PR/4966: Joel Reicher: Implement <> redirections which are documented inchristos
1999-01-25Patches from Tor Egge (via Havard Eidnes) to fix various bugs in fieldmycroft
1998-09-26Fixed memory leak on old style command substitutionitohy
1998-07-28Be more retentive about use of NOTREACHED and noreturn.mycroft
1998-03-29- change "extern" variables into int'smrg
1997-07-15Fix Sparcworks warnings.christos
1997-07-04Fix compiler warnings.christos
1997-03-14NO_HISTORY->SMALLchristos
1997-01-26Fix parsing problem introduced in the previous ${10} fix, where $#digitchristos
1997-01-24enable parsing of multi-digit positional arguments i.e. ${10} works and itchristos
1997-01-11kill 'register'tls
1996-11-25- fix parsing bug reported by mycroft: ! was only recognized in the beginningchristos
1996-10-16PR/2808: - detect eof inside backquoteschristos
1996-05-09Close PR/2384 backquoted backslash-newline was not eaten.christos
1996-03-05- parser.c: Fix prompting in old style backquote expansion. Fixes PR/2139christos
1995-10-19- fix PR1620, -DNO_HISTORY did not work.christos
1995-05-17Fixed bug where ${#} was interpreted incorrectly as ${#var} and thuschristos
1995-05-11Merge in my changes from vangogh, and fix the x=`false`; echo $? == 0christos