diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-08-16 17:52:00 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-08-16 17:52:00 -0300 |
commit | c787dccd9b5c3e55547a2c4bb598c0276de65034 (patch) | |
tree | c4cdf2f7319fee48e048472a2044119f541e8da2 /llex.h | |
parent | b44e35b773bcaa9891d80a117392911ab5f656e5 (diff) | |
download | lua-github-c787dccd9b5c3e55547a2c4bb598c0276de65034.tar.gz |
"const" !!!
Diffstat (limited to 'llex.h')
-rw-r--r-- | llex.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ /* -** $Id: llex.h,v 1.12 1999/06/17 17:04:03 roberto Exp roberto $ +** $Id: llex.h,v 1.13 1999/07/22 19:29:42 roberto Exp roberto $ ** Lexical Analyzer ** See Copyright Notice in lua.h */ @@ -61,8 +61,8 @@ typedef struct LexState { void luaX_init (void); void luaX_setinput (LexState *LS, ZIO *z); int luaX_lex (LexState *LS); -void luaX_syntaxerror (LexState *ls, char *s, char *token); -void luaX_error (LexState *ls, char *s); +void luaX_syntaxerror (LexState *ls, const char *s, const char *token); +void luaX_error (LexState *ls, const char *s); void luaX_token2str (int token, char *s); |