aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/db/expr.c
diff options
context:
space:
mode:
authorPetter Rodhelind <petter.rodhelind@gmail.com>2020-01-14 11:41:08 +0100
committerPetter Rodhelind <petter.rodhelind@gmail.com>2020-01-14 11:41:08 +0100
commit02d7aa8915f9c3a3288dab01f321eb94ba219e3b (patch)
treef053238978479e408a2b83571443e132f30586ab /src/cmd/db/expr.c
parentc0c9d8f883dfd3a7f5a74499d91bb95884b15873 (diff)
parent3d1382b98a502d0c34d5ba2c462396acc515016e (diff)
downloadplan9port-02d7aa8915f9c3a3288dab01f321eb94ba219e3b.tar.gz
plan9port-02d7aa8915f9c3a3288dab01f321eb94ba219e3b.tar.bz2
plan9port-02d7aa8915f9c3a3288dab01f321eb94ba219e3b.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'src/cmd/db/expr.c')
-rw-r--r--src/cmd/db/expr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cmd/db/expr.c b/src/cmd/db/expr.c
index 74c9319a..72b8c906 100644
--- a/src/cmd/db/expr.c
+++ b/src/cmd/db/expr.c
@@ -186,7 +186,7 @@ item(int a)
return 1;
}
error("bad file location");
- } else if (symchar(0)) {
+ } else if (symchar(0)) {
readsym(gsym);
if (lastc=='.') {
readchar(); /* ugh */
@@ -212,7 +212,7 @@ item(int a)
reread();
} else if (getnum(readchar)) {
;
- } else if (lastc=='.') {
+ } else if (lastc=='.') {
readchar();
if (!symchar(0) && lastc != '.') {
expv = dot;
@@ -228,7 +228,7 @@ item(int a)
if (localaddr(cormap, correg, s.name, lsym, &u) < 0)
error("%r");
expv = u;
- }
+ }
reread();
} else if (lastc=='"') {
expv=ditto;
@@ -245,7 +245,7 @@ item(int a)
expv = ascval();
else if (a)
error("address expected");
- else {
+ else {
reread();
return(0);
}