aboutsummaryrefslogtreecommitdiffstats
path: root/mksyntax.c
diff options
context:
space:
mode:
authorJari Aalto <jari.aalto@cante.net>2002-07-17 14:10:11 +0000
committerJari Aalto <jari.aalto@cante.net>2009-09-12 16:46:55 +0000
commit7117c2d221b2aed4ede8600f6a36b7c1454b4f55 (patch)
treeb792f26ecca68813c51ed5ba2e381790758ef31b /mksyntax.c
parentf73dda092b33638d2d5e9c35375f687a607b5403 (diff)
downloadandroid_external_bash-7117c2d221b2aed4ede8600f6a36b7c1454b4f55.tar.gz
android_external_bash-7117c2d221b2aed4ede8600f6a36b7c1454b4f55.tar.bz2
android_external_bash-7117c2d221b2aed4ede8600f6a36b7c1454b4f55.zip
Imported from ../bash-2.05b.tar.gz.
Diffstat (limited to 'mksyntax.c')
-rw-r--r--mksyntax.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/mksyntax.c b/mksyntax.c
index f5bc71f..2aed86c 100644
--- a/mksyntax.c
+++ b/mksyntax.c
@@ -60,7 +60,8 @@ struct wordflag {
{ CGLOB, "CGLOB" },
{ CXGLOB, "CXGLOB" },
{ CXQUOTE, "CXQUOTE" },
- { CSPECVAR, "CSPECVAR" }
+ { CSPECVAR, "CSPECVAR" },
+ { CSUBSTOP, "CSUBSTOP" },
};
#define N_WFLAGS (sizeof (wordflags) / sizeof (wordflags[0]))
@@ -221,6 +222,8 @@ load_lsyntax ()
addcchar ('\\', CXQUOTE);
addcstr ("@*#?-$!", CSPECVAR); /* omits $0...$9 and $_ */
+
+ addcstr ("-=?+", CSUBSTOP); /* OP in ${paramOPword} */
}
static void