aboutsummaryrefslogtreecommitdiff
path: root/bin/sh/parser.c
Commit message (Expand)AuthorAgeFilesLines
* sh: Handle empty hostname and $PWD when building promptEric van Gyzen2016-05-041-2/+3
* sh: Write LINENO value to stack string directly.Jilles Tjoelker2016-04-161-4/+6
* sh: Simplify code by removing variable bracketed_name.Jilles Tjoelker2016-04-131-3/+1
* sh(1): replace 0 with NULL for pointers.Pedro F. Giffuni2016-04-091-1/+1
* sh: Remove a redundant STPUTC check.Jilles Tjoelker2016-03-021-1/+1
* sh: Optimize setprompt(0).Jilles Tjoelker2016-02-211-0/+2
* wordexp: Rewrite to make WRDE_NOCMD reliable.Jilles Tjoelker2015-09-301-0/+33
* sh: Allow empty << EOF markers.Jilles Tjoelker2015-09-021-2/+8
* sh: Don't create bad parse result when postponing a bad substitution error.Jilles Tjoelker2015-08-231-2/+3
* sh: Avoid negative character values from $'\Uffffffff' etc.Jilles Tjoelker2015-08-201-5/+6
* sh: Prefer "" to nullstr where possible.Jilles Tjoelker2015-02-151-1/+1
* sh: Prepend "$0: " to error messages if there is no command name.Jilles Tjoelker2014-11-221-0/+2
* sh: Allow backslash-newline continuation in more places:Jilles Tjoelker2014-10-191-32/+43
* sh: Make parseredir() a proper function instead of an emulated nestedJilles Tjoelker2014-10-151-59/+58
* sh: Remove more gotos.Jilles Tjoelker2014-10-151-10/+7
* sh: Fix LINENO and prompt after $'\0 and newline.Jilles Tjoelker2014-10-031-0/+7
* sh: Remove arbitrary length limit on << EOF markers.Jilles Tjoelker2014-09-141-21/+17
* sh: Make checkend() a real function instead of an emulated nested function.Jilles Tjoelker2014-09-141-36/+39
* sh: Add some const keywords.Jilles Tjoelker2014-09-141-1/+1
* sh: Allow aliases to force alias substitution on the following word.Jilles Tjoelker2014-01-261-0/+6
* sh: Simplify list() in the parser.Jilles Tjoelker2013-08-301-21/+22
* sh: Separate out nbinary allocation into a function.Jilles Tjoelker2013-08-301-21/+22
* sh: Use makename() where possible.Jilles Tjoelker2013-08-301-22/+5
* sh: Add a function for the case where one token is required in the parse.Jilles Tjoelker2013-08-301-31/+23
* sh: Cast -1 to pointer rather than pointer to variable of wrong type.Jilles Tjoelker2013-08-301-1/+1
* sh: Disallow empty simple commands.Jilles Tjoelker2013-08-251-8/+4
* sh: Remove unnecessary reset functions.Jilles Tjoelker2013-08-161-8/+1
* sh: Allow a lone redirection before '|', ';;' or ';&'.Jilles Tjoelker2013-08-141-0/+3
* sh: Remove an incorrect comment.Jilles Tjoelker2013-07-251-1/+1
* sh: Remove #define MKINIT.Jilles Tjoelker2013-07-251-2/+2
* sh: Remove mkinit.Jilles Tjoelker2013-07-251-4/+4
* sh: Fix various compiler warnings.Jilles Tjoelker2013-04-011-5/+6
* sh: Fix crash when parsing '{ } &'.Jilles Tjoelker2013-01-131-2/+2
* sh: Don't lose $? when backquoted command ends with semicolon or newline.Jilles Tjoelker2013-01-131-1/+2
* sh: Remove special support for background simple commands.Jilles Tjoelker2011-06-181-3/+2
* sh: Add case statement fallthrough (with ';&' instead of ';;').Jilles Tjoelker2011-06-171-4/+10
* sh: Do parameter expansion before printing PS4 (set -x).Jilles Tjoelker2011-06-091-0/+44
* sh: Expand aliases after assignments and redirections.Jilles Tjoelker2011-05-211-0/+22
* sh: Allow terminating a heredoc with a terminator at EOF without a newline.Jilles Tjoelker2011-05-201-3/+5
* sh: Add \u/\U support (in $'...') for UTF-8.Jilles Tjoelker2011-05-081-0/+23
* sh: Add $'quoting' (C-style escape sequences).Jilles Tjoelker2011-05-051-6/+139
* sh: Detect an error for ${#var<GARBAGE>}.Jilles Tjoelker2011-05-041-0/+2
* sh: Do not word split "${#parameter}".Jilles Tjoelker2011-04-201-2/+2
* sh: Fix some parameter expansion variants ${#...}.Jilles Tjoelker2011-03-131-19/+30
* sh: Fix two things about {(...)} <redir:Jilles Tjoelker2011-02-051-1/+4
* sh: Allow arbitrary large numbers in CHECKSTRSPACE.Jilles Tjoelker2010-12-261-2/+1
* Remove duplicate check, turning dead code into live code.Ulrich Spörlein2010-12-131-2/+0
* sh: Code size optimizations to "stack string" memory allocation:Jilles Tjoelker2010-11-231-7/+6
* sh: Fix some issues with aliases and case, by importing dash checkkwd code.Jilles Tjoelker2010-11-021-50/+49
* sh: Use iteration instead of recursion to evaluate semicolon lists.Jilles Tjoelker2010-10-311-10/+17