Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!sunybcs!boulder!hao!oddjob!gargoyle!ihnp4!inuxc!iuvax!ndmath!dean From: dean@ndmath.UUCP Newsgroups: comp.lang.c Subject: question about pointers Message-ID: <276@ndmath.UUCP> Date: Tue, 1-Sep-87 09:39:25 EDT Article-I.D.: ndmath.276 Posted: Tue Sep 1 09:39:25 1987 Date-Received: Thu, 3-Sep-87 01:22:31 EDT Organization: Math. Dept., Univ. of Notre Dame Lines: 24 i'll try repeating this question, as my earlier posting drew no response. i'm hoping someone with access to a copy of the draft proposal can answer this. the new syntax for pointer declarators allows declarators of the form '*' type_specifier_list declarator. are there any restrictions placed on the type_specifier_list? specifically, can it be something other than a combination of "const" and "volatile"? in particular, would the declaration extern * int ptr_to_int; be legal under dpANSI-C? my own opinion is that this would be illegal, since the declaration specifier "extern" would default to "extern int", leading to two actual types in the declaration. would it make any sense to change "const" and "volatile" from type_specifiers, which they don't really seem to be, to something like type_modifiers? the type_specifier_list in pointer declarators could then be changed to type_modifier_list. dean