New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 1349 for trunk/AGRIF/LIB/fortran.lex – NEMO

Ignore:
Timestamp:
2009-03-30T18:46:14+02:00 (15 years ago)
Author:
rblod
Message:

Fix Agrif issue with constant character char, see ticket #367

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/AGRIF/LIB/fortran.lex

    r1200 r1349  
    266266(\')[^']*&{0,1}\n[ \t]*&{0,1}[^']*(\')         {strcpy(yylval.na,yytext);return TOK_CHAR_CUT;} 
    267267(\')[^\n']*(\')         {strcpy(yylval.na,yytext);return TOK_CHAR_CONSTANT;} 
    268 (\")[^\n]*(\")          {strcpy(yylval.na,yytext);return TOK_CHAR_MESSAGE;} 
     268(\")[^\n"]*(\")         {strcpy(yylval.na,yytext);return TOK_CHAR_MESSAGE;} 
    269269({NAME}{REAL})          {strcpy(yylval.na,yytext);return TOK_CHAR_INT;} 
    270270{NAME}                  {strcpy(yylval.na,yytext);return TOK_NAME;} 
Note: See TracChangeset for help on using the changeset viewer.