projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
BSD 4 release
[unix-history]
/
usr
/
src
/
cmd
/
as
/
asexpr.h
diff --git
a/usr/src/cmd/as/asexpr.h
b/usr/src/cmd/as/asexpr.h
index
45aca48
..
6e4fdfc
100644
(file)
--- a/
usr/src/cmd/as/asexpr.h
+++ b/
usr/src/cmd/as/asexpr.h
@@
-1,3
+1,5
@@
+/* Copyright (c) 1980 Regents of the University of California */
+/* "@(#)asexpr.h 4.2 8/15/80" */
/*
* Definitions to parse tokens
*/
/*
* Definitions to parse tokens
*/
@@
-41,15
+43,15
@@
struct exp *yukkyexpr();
* The set definitions
*/
* The set definitions
*/
-
char
tokensets[(LASTTOKEN) - (FIRSTTOKEN) + 1];
+
extern char
tokensets[(LASTTOKEN) - (FIRSTTOKEN) + 1];
-#define
LINSTBEGIN
01 /*SEMI, NL, NAME*/
+#define
LINSTBEGIN
01 /*SEMI, NL, NAME*/
#define EBEGOPS 02 /*LP, MINUS, TILDE*/
#define EBEGOPS 02 /*LP, MINUS, TILDE*/
-#define YUKKYEXPRBEG 04 /*NAME, INSTn, INST0, REG,
DO
T*/
+#define YUKKYEXPRBEG 04 /*NAME, INSTn, INST0, REG,
BFIN
T*/
#define SAFEEXPRBEG 010 /*INT, FLTNUM*/
#define SAFEEXPRBEG 010 /*INT, FLTNUM*/
-#define
ADDOPS
020 /*PLUS, MINUS*/
+#define
ADDOPS
020 /*PLUS, MINUS*/
#define BOOLOPS 040 /*IOR, XOR, AND*/
#define BOOLOPS 040 /*IOR, XOR, AND*/
-#define
MULOPS
0100 /*LSH, RSH, MUL, DIV, TILDE*/
+#define
MULOPS
0100 /*LSH, RSH, MUL, DIV, TILDE*/
#define INTOKSET(val, set) (tokensets[(val)] & (set) )
#define INTOKSET(val, set) (tokensets[(val)] & (set) )