Changes in / [cf34e82:1ee0a4da]


Ignore:
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/cofor.cfa

    rcf34e82 r1ee0a4da  
    2020}
    2121
    22 void __Cofor__( ssize_t low, ssize_t high, __cofor_body_t loop_body ) libcfa_public {
     22void cofor( ssize_t low, ssize_t high, __cofor_body_t loop_body ) libcfa_public {
    2323        ssize_t range = high - low;
    2424  if ( range <= 0 ) return;
  • libcfa/src/concurrency/cofor.hfa

    rcf34e82 r1ee0a4da  
    55typedef void (*__cofor_body_t)( ssize_t );
    66
    7 void __Cofor__( ssize_t low, ssize_t high, __cofor_body_t loop_body );
     7void cofor( ssize_t low, ssize_t high, __cofor_body_t loop_body );
    88
    99#define COFOR( lidname, low, high, loopbody ) \
     
    1212                        loopbody \
    1313                } \
    14                 __Cofor__( low, high, __CFA_loopLambda__ ); \
     14                cofor( low, high, __CFA_loopLambda__ ); \
    1515        }
    1616
  • src/Parser/lex.ll

    rcf34e82 r1ee0a4da  
    1010 * Created On       : Sat Sep 22 08:58:10 2001
    1111 * Last Modified By : Peter A. Buhr
    12  * Last Modified On : Tue Oct  3 17:10:57 2023
    13  * Update Count     : 773
     12 * Last Modified On : Mon Oct  2 17:15:11 2023
     13 * Update Count     : 772
    1414 */
    1515
     
    241241choose                  { KEYWORD_RETURN(CHOOSE); }                             // CFA
    242242coerce                  { KEYWORD_RETURN(COERCE); }                             // CFA
    243 corun                   { KEYWORD_RETURN(CORUN); }                              // CFA
    244 cofor                   { KEYWORD_RETURN(COFOR); }                              // CFA
    245243_Complex                { KEYWORD_RETURN(COMPLEX); }                    // C99
    246244__complex               { KEYWORD_RETURN(COMPLEX); }                    // GCC
  • src/Parser/parser.yy

    rcf34e82 r1ee0a4da  
    1010// Created On       : Sat Sep  1 20:22:55 2001
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Tue Oct  3 17:14:12 2023
    13 // Update Count     : 6396
     12// Last Modified On : Mon Sep  4 18:28:12 2023
     13// Update Count     : 6393
    1414//
    1515
     
    350350%token IF ELSE SWITCH CASE DEFAULT DO WHILE FOR BREAK CONTINUE GOTO RETURN
    351351%token CHOOSE FALLTHRU FALLTHROUGH WITH WHEN WAITFOR WAITUNTIL // CFA
    352 %token CORUN COFOR
    353352%token DISABLE ENABLE TRY THROW THROWRESUME AT                  // CFA
    354353%token ASM                                                                                              // C99, extension ISO/IEC 9899:1999 Section J.5.10(1)
     
    423422%type<stmt> with_statement
    424423%type<expr> with_clause_opt
    425 %type<stmt> corun_statement                             cofor_statement
    426424%type<stmt> exception_statement
    427425%type<clause> handler_clause                    finally_clause
     
    11421140        | waitfor_statement
    11431141        | waituntil_statement
    1144         | corun_statement
    1145         | cofor_statement
    11461142        | exception_statement
    11471143        | enable_disable_statement
     
    17171713        wor_waituntil_clause                                                            %prec THEN
    17181714                { $$ = new StatementNode( build_waituntil_stmt( yylloc, $1 ) ); }
    1719         ;
    1720 
    1721 corun_statement:
    1722         CORUN statement
    1723                 { SemanticError( yylloc, "corun statement is currently unimplemented." ); $$ = nullptr; }
    1724         ;
    1725 
    1726 cofor_statement:
    1727         COFOR '(' for_control_expression_list ')' statement
    1728                 { SemanticError( yylloc, "cofor statement is currently unimplemented." ); $$ = nullptr; }
    17291715        ;
    17301716
Note: See TracChangeset for help on using the changeset viewer.