XMLScan.xcc
Laura Hernandez de la Puerta (lauhp09gmail.com) Benoit Dupont de Dinechin (Benoit.Dupont-de-Dinechinst.com)
Copyright 2007 STMicroelectronics. Copyright 1995 - 1998 Commissariat a l'Energie Atomique.
This program is free software; you can redistribute it and/or modify it under the terms of either (at your option): the GNU Public License (GPL) version 2; the GNU Lesser General Public License (LGPL) version 2.1; any later version of these licences as published by the Free Software Foundation.
XMLScan— Scan environment for re2c scanners.
struct XMLScan_ { //@args Memory memory, FILE *file Memory MEMORY; // Where to allocate memory. FILE *INPUT; // Input file. byte *TOKEN; // Start of current token. byte *LIMIT; // For YYLIMIT (past valid data). byte *MARKER; // For YYMARKER. byte *CURSOR; // For YYCURSOR. byte *BASE; // Base of the buffer. byte *PAST; // Past the buffer. byte *END; // End of input. int32_t LINE; // Input line counter. int32_t STATE; // //@access LENGTH (XMLScan_CURSOR(this) - XMLScan_TOKEN(this)) };