]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
sh: Allow variables starting with underscores in arithmetic.
authorjilles <jilles@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 7 Apr 2012 20:52:21 +0000 (20:52 +0000)
committerjilles <jilles@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 7 Apr 2012 20:52:21 +0000 (20:52 +0000)
commite291cf7a61f42c74cd817c69165319f99e8b7f21
tree4dbacbe3bca2d5dd4974c641bca97b78b5d045a5
parent4e6abd88590b276c8e147a1e3f2512f3a5f6d1cb
sh: Allow variables starting with underscores in arithmetic.

This is a direct commit because I do not want to merge the totally rewritten
arithmetic expression code from 9.x where this already works.

Example:
  _x=1; _x=$((_x+1))

git-svn-id: svn://svn.freebsd.org/base/stable/8@234001 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
bin/sh/arith_lex.l