mirror of
https://github.com/lua/lua
synced 2026-09-27 00:28:25 +03:00
Detail
Code for multi-character tokens can start right after maximum char.
This commit is contained in:
parent
b6888a158b
commit
98ec799591
2 changed files with 7 additions and 2 deletions
8
llex.h
8
llex.h
|
|
@ -7,11 +7,17 @@
|
|||
#ifndef llex_h
|
||||
#define llex_h
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
#include "lobject.h"
|
||||
#include "lzio.h"
|
||||
|
||||
|
||||
#define FIRST_RESERVED 257
|
||||
/*
|
||||
** Single-char tokens (terminal symbols) are represented by their own
|
||||
** numeric code. Other tokens start at the following value.
|
||||
*/
|
||||
#define FIRST_RESERVED (UCHAR_MAX + 1)
|
||||
|
||||
|
||||
#if !defined(LUA_ENV)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue