Hi All
--------------------------My EnvironmentWindows7 32bit JapaneseMingw32g++ 
4.8.1-std=c++11--------------------------sample...
char led_str[] = "export = DIALOG(VBOX(LABEL[TITLE = Label](\"\")))";auto s = 
::IupLoadBuffer(led_str);
-------------------------------------------------------------------------------------------------------------s
 is not Zero.
"led(export = DIALOG(VBOX(LABEL[TITLE = Label](\"\")))): bad input at line 1 - 
symbol 'IALOG' not 
defined\n"-------------------------------------------------------------------------------------------------------------
Is this Bug?
iup_ledlex.c-------------------------------------------------------------------------------------------------------------::original
 code static void iLexUngetc(int c){  if (ilex.file)    ungetc(c, ilex.file);  
else  {    if (*ilex.f != 0)      *(char*)ilex.f = (char)c;  /* write back to 
the string ???? */  }}
static int iLexGetc(void){  if (ilex.file)    return getc(ilex.file);  else  {  
  if (*ilex.f != 0)      ilex.f++;    if (*ilex.f == 0)      return EOF;    
return *ilex.f;  }}
-------------------------------------------------------------------------------------------------------------static
 void iLexUngetc(int c){  if (ilex.file)    ungetc(c, ilex.file);  else  {    
if (*ilex.f != 0)      *(char*)(--ilex.f) = (char)c;  /* write back to the 
string ???? */               ^^^^^^^^  }}
static int iLexGetc(void){  if (ilex.file)    return getc(ilex.file);  else    
return *ilex.f ? *(++ilex.f - 1): EOF;    
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^}--------------------------------------------------------------------------------------------------------------
Sorry...I am not good at English. I am using the translation site. 
r.k

------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to