Add a button upper/lower half driver

This commit is contained in:
Gregory Nutt
2015-10-12 14:29:43 -06:00
parent e9bd8bceb4
commit 613798027e
10 changed files with 1110 additions and 9 deletions
+4
View File
@@ -688,6 +688,8 @@ int main(int argc, char **argv, char **envp)
else if (line[n+1] == ')')
{
/* REVISIT: This gives false alarms on syntax like *--ptr */
if (line[n-1] != ' ')
{
fprintf(stderr,
@@ -748,6 +750,8 @@ int main(int argc, char **argv, char **envp)
n++;
}
/* REVISIT: This gives false alarms on syntax like *--ptr */
if (line[curr] != '-' && line[next] != ' ' && line[next] != '\n')
{
fprintf(stderr,