Changeset 14431 for vendors/AGRIF/dev/LEX
- Timestamp:
- 2021-02-11T08:57:24+01:00 (3 years ago)
- Location:
- vendors/AGRIF/dev/LEX
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
vendors/AGRIF/dev/LEX/fortran.lex
r14107 r14431 164 164 complex { strcpy(yylval.na,fortran_text); return TOK_COMPLEX; } 165 165 allocatable { return TOK_ALLOCATABLE; } 166 contiguous { return TOK_CONTIGUOUS; } 166 167 close { return TOK_CLOSE; } 167 168 inquire { return TOK_INQUIRE; } -
vendors/AGRIF/dev/LEX/fortran.y
r14107 r14431 190 190 %token TOK_PRIVATE 191 191 %token TOK_ALLOCATABLE 192 %token TOK_CONTIGUOUS 192 193 %token TOK_RETURN 193 194 %token TOK_THEN … … 1019 1020 { strcpy(IntentSpec,$3); intent_spec = 0;} 1020 1021 | TOK_INTRINSIC 1022 | TOK_CONTIGUOUS { contiguousdeclare = 1 ; } 1021 1023 | TOK_OPTIONAL { optionaldeclare = 1 ; } 1022 1024 | TOK_POINTER { pointerdeclare = 1 ; } … … 1806 1808 component-attr-spec: access-spec 1807 1809 | TOK_ALLOCATABLE 1810 | TOK_CONTIGUOUS 1808 1811 | TOK_DIMENSION '(' {in_complex_literal=0;} component-array-spec ')' 1809 1812 | TOK_POINTER … … 1829 1832 SaveDeclare = 0; 1830 1833 pointerdeclare = 0; 1834 contiguousdeclare = 0 ; 1831 1835 optionaldeclare = 0 ; 1832 1836 dimsgiven=0; … … 2011 2015 SaveDeclare = 0; 2012 2016 pointerdeclare = 0; 2017 contiguousdeclare = 0 ; 2013 2018 optionaldeclare = 0 ; 2014 2019 dimsgiven=0; … … 2039 2044 | TOK_ALLOCATABLE 2040 2045 { Allocatabledeclare = 1; } 2046 | TOK_CONTIGUOUS 2047 { contiguousdeclare = 1 ; } 2041 2048 | TOK_DIMENSION '(' {in_complex_literal=0;} array-spec ')' 2042 2049 { dimsgiven = 1; curdim = $4; } … … 2518 2525 SaveDeclare = 0; 2519 2526 pointerdeclare = 0; 2527 contiguousdeclare = 0 ; 2520 2528 optionaldeclare = 0 ; 2521 2529 dimsgiven=0; … … 4917 4925 SaveDeclare = 0; 4918 4926 pointerdeclare = 0; 4927 contiguousdeclare = 0; 4919 4928 optionaldeclare = 0; 4920 4929 incalldeclare = 0;
Note: See TracChangeset
for help on using the changeset viewer.