/*
-** Copyright (C) University of Virginia, Massachusetts Institue of Technology 1994-2001.
+** Copyright (C) University of Virginia, Massachusetts Institue of Technology 1994-2003.
** See ../LICENSE for license information.
**
*/
** cscanner.h
*/
-extern /*@observer@*/ cstring cscanner_observeLastIdentifier (void) ;
-extern void cscanner_expectingMetaStateName (void) /*@modifies internalState@*/ ;
-extern void cscanner_clearExpectingMetaStateName (void) /*@modifies internalState@*/ ;
+/*@-declundef@*/ /* Don't always check cscanner.c */
extern void cscanner_swallowMacro (void) /*@modifies internalState, fileSystem@*/ ;
+extern int cscanner_input (void) /*@modifies internalState, fileSystem@*/ ;
+extern void cscanner_unput (int) /*@modifies internalState, fileSystem@*/ ;
+
+extern int cscanner_returnFloat (ctype p_ct, double p_f) /*@modifies internalState@*/ ;
+extern int cscanner_returnInt (ctype p_ct, long p_i) /*@modifies internalState@*/ ;
+extern int cscanner_returnChar (char p_c) /*@modifies internalState@*/ ;
+
/*
** These are all exported by bison, but not declared:
*/
-# ifdef S_SPLINT_S
-
+/*@-namechecks@*/
typedef struct yy_buffer_state *YY_BUFFER_STATE;
extern /*@unused@*/ void yy_switch_to_buffer (YY_BUFFER_STATE);
extern /*@unused@*/ void yyerror (char *);
extern /*@unused@*/ int yychar;
extern /*@unused@*/ int yynerrs;
+/*@=namechecks@*/
+/*@=declundef@*/
-# endif