public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da806af
)
avoid null references on illegal input
author
ceriel
<none@none>
Mon, 23 Apr 1990 16:11:37 +0000
(16:11 +0000)
committer
ceriel
<none@none>
Mon, 23 Apr 1990 16:11:37 +0000
(16:11 +0000)
lang/pc/comp/main.c
patch
|
blob
|
history
diff --git
a/lang/pc/comp/main.c
b/lang/pc/comp/main.c
index
1833b6f
..
a6caf95
100644
(file)
--- a/
lang/pc/comp/main.c
+++ b/
lang/pc/comp/main.c
@@
-223,8
+223,8
@@
AddRequired()
(void) Enter("string", D_TYPE, string_type, 0);
/* DIRECTIVES */
- (void) Enter("forward", D_FORWARD,
NULLTYPE
, 0);
- (void) Enter("extern", D_EXTERN,
NULLTYPE
, 0);
+ (void) Enter("forward", D_FORWARD,
error_type
, 0);
+ (void) Enter("extern", D_EXTERN,
error_type
, 0);
/* CONSTANTS */
/* nil is TOKEN and thus part of the grammar */