Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/lex.ll

    r8c25760 r59c7e3e  
    1010 * Created On       : Sat Sep 22 08:58:10 2001
    1111 * Last Modified By : Peter A. Buhr
    12  * Last Modified On : Tue May  2 08:45:21 2023
    13  * Update Count     : 769
     12 * Last Modified On : Thu Oct 13 20:46:04 2022
     13 * Update Count     : 764
    1414 */
    1515
     
    2323// line-number directives) and C/C++ style comments, which are ignored.
    2424
    25 // *************************** Includes and Defines ****************************
     25//**************************** Includes and Defines ****************************
    2626
    2727#ifdef __clang__
     
    4444
    4545#include "config.h"                                                                             // configure info
    46 #include "DeclarationNode.h"                            // for DeclarationNode
    47 #include "ExpressionNode.h"                             // for LabelNode
    48 #include "InitializerNode.h"                            // for InitializerNode
    4946#include "ParseNode.h"
    50 #include "ParserTypes.h"                                // for Token
    51 #include "StatementNode.h"                              // for CondCtl, ForCtrl
    5247#include "TypedefTable.h"
    53 // This (generated) header must come late as it is missing includes.
    54 #include "parser.hh"                                    // generated info
    5548
    5649string * build_postfix_name( string * name );
     
    221214__alignof               { KEYWORD_RETURN(ALIGNOF); }                    // GCC
    222215__alignof__             { KEYWORD_RETURN(ALIGNOF); }                    // GCC
    223 and                             { QKEYWORD_RETURN(WAND); }                              // CFA
    224216asm                             { KEYWORD_RETURN(ASM); }
    225217__asm                   { KEYWORD_RETURN(ASM); }                                // GCC
     
    258250enable                  { KEYWORD_RETURN(ENABLE); }                             // CFA
    259251enum                    { KEYWORD_RETURN(ENUM); }
     252__extension__   { KEYWORD_RETURN(EXTENSION); }                  // GCC
    260253exception               { KEYWORD_RETURN(EXCEPTION); }                  // CFA
    261 __extension__   { KEYWORD_RETURN(EXTENSION); }                  // GCC
    262254extern                  { KEYWORD_RETURN(EXTERN); }
    263255fallthrough             { KEYWORD_RETURN(FALLTHROUGH); }                // CFA
     
    348340vtable                  { KEYWORD_RETURN(VTABLE); }                             // CFA
    349341waitfor                 { KEYWORD_RETURN(WAITFOR); }                    // CFA
    350 waituntil               { KEYWORD_RETURN(WAITUNTIL); }                  // CFA
    351342when                    { KEYWORD_RETURN(WHEN); }                               // CFA
    352343while                   { KEYWORD_RETURN(WHILE); }
     
    511502        SemanticErrorThrow = true;
    512503        cerr << (yyfilename ? yyfilename : "*unknown file*") << ':' << yylineno << ':' << column - yyleng + 1
    513                  << ": " << ErrorHelpers::error_str() << errmsg << " before token \"" << (yytext[0] == '\0' ? "EOF" : yytext) << '"' << endl;
     504                 << ": " << ErrorHelpers::error_str() << errmsg << " at token \"" << (yytext[0] == '\0' ? "EOF" : yytext) << '"' << endl;
    514505}
    515506
Note: See TracChangeset for help on using the changeset viewer.