mirror of
https://github.com/lua/lua
synced 2026-09-27 00:28:25 +03:00
corrects decimal point to follow current locale
This commit is contained in:
parent
f26b85c5b7
commit
16fd4abaf6
2 changed files with 17 additions and 3 deletions
3
llex.h
3
llex.h
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
** $Id: llex.h,v 1.54 2005/04/25 19:24:10 roberto Exp roberto $
|
||||
** $Id: llex.h,v 1.55 2005/06/06 13:30:25 roberto Exp roberto $
|
||||
** Lexical Analyzer
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
|
|
@ -63,6 +63,7 @@ typedef struct LexState {
|
|||
ZIO *z; /* input stream */
|
||||
Mbuffer *buff; /* buffer for tokens */
|
||||
TString *source; /* current source name */
|
||||
char decpoint; /* locale decimal point */
|
||||
} LexState;
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue