projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
minor edits
[pspp-builds.git]
/
src
/
lexer.h
diff --git
a/src/lexer.h
b/src/lexer.h
index 95553f10c868280e3ae60919ad18353d12b30c02..816b4317f9bb8318d4d1a4a7232c6a73231d01b0 100644
(file)
--- a/
src/lexer.h
+++ b/
src/lexer.h
@@
-14,14
+14,15
@@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
- Foundation, Inc., 5
9 Temple Place - Suite 330
, Boston, MA
- 0211
1-1307
, USA. */
+ Foundation, Inc., 5
1 Franklin Street, Fifth Floor
, Boston, MA
+ 0211
0-1301
, USA. */
#if !lexer_h
#define lexer_h 1
#if !lexer_h
#define lexer_h 1
+#include "var.h"
#include <ctype.h>
#include <ctype.h>
-#include
"bool.h"
+#include
<stdbool.h>
/* Returns nonzero if character CH may be the first character in an
identifier. */
/* Returns nonzero if character CH may be the first character in an
identifier. */
@@
-72,10
+73,9
@@
enum
T_N_KEYWORDS = T_LAST_KEYWORD - T_FIRST_KEYWORD + 1
};
T_N_KEYWORDS = T_LAST_KEYWORD - T_FIRST_KEYWORD + 1
};
-
extern int token;
extern double tokval;
extern int token;
extern double tokval;
-extern char tokid[
9
];
+extern char tokid[
LONG_NAME_LEN + 1
];
extern struct string tokstr;
#include <stddef.h>
extern struct string tokstr;
#include <stddef.h>
@@
-87,6
+87,8
@@
void lex_done (void);
/* Common functions. */
void lex_get (void);
void lex_error (const char *, ...);
/* Common functions. */
void lex_get (void);
void lex_error (const char *, ...);
+void lex_sbc_only_once (const char *);
+void lex_sbc_missing (const char *);
int lex_end_of_command (void);
/* Token testing functions. */
int lex_end_of_command (void);
/* Token testing functions. */