summaryrefslogtreecommitdiffstats
path: root/bin/sh/arith_yylex.c
Commit message (Collapse)AuthorAgeFilesLines
* Add prototypes, ANSIfy functions definitions to reduce WARNS=6 output.charnier2012-01-251-1/+1
|
* Remove unnecessary cast.stefanf2011-03-071-1/+1
| | | | Reviewed by: jilles
* sh: Fix some warnings in code for arithmetic expressions.jilles2011-03-051-1/+3
| | | | Submitted by: eadler
* sh: Import arithmetic expression code from dash.jilles2011-02-081-0/+244
New features: * proper lazy evaluation of || and && * ?: ternary operator * executable is considerably smaller (8K on i386) because lex and yacc are no longer used Differences from dash: * arith_t instead of intmax_t * imaxdiv() not used * unset or null variables default to 0 * let/exp builtin (undocumented, will probably be removed later) Obtained from: dash
OpenPOWER on IntegriCloud