Comments (4)
Looks like @mrd's code, but maybe @madgen is able to fix too.
from fortran-src.
Strangely the error goes away if you remove one level of do
on the inside.
from fortran-src.
I checked the parse tree, it is parsed correctly.
from fortran-src.
The latest round of commits by @mrd now fixes the above problem. I am getting the following error now though which may be a related problem:
module foo
implicit none
contains
subroutine bar(x)
integer x
end subroutine
end module
gives
fortran-src: src/Language/Fortran/Analysis/BBlocks.hs:481:5-84: Irrefutable pattern failed for pattern mainEntry : _
If there are no arguments to the subroutine it is fine though.
from fortran-src.
Related Issues (20)
- Provide more structure/derived data type analysis HOT 3
- Implicit typing not taken into account by HOT 1
- Improve fortran-src CLI HOT 1
- Rewriter Bug: '!' character in string literals treated as an explicit comment HOT 1
- Flaky analysis of intrinsic functions to ValIntrinsic HOT 13
- Copying prior to pass-by-reference triggered by parentheses, which we ignore. HOT 3
- [ Question ] Use fortran-src in Ubuntu 18.04 HOT 6
- Serialize internal Fortran AST representation to JSON HOT 11
- Limit mutual recursion in core Fortran AST types
- Reprinter tests HOT 2
- Improve newline behaviour in parsers
- `Maybe AList` confuses representation and limits precise reprinting HOT 2
- Legacy lexer doesn't catch some comments
- Failure to parse array and union access in lhs of `StExpressionAssign`. HOT 4
- Support UNION structs in type analysis
- Extraneous brackets cause parsing for arithmetic operator error HOT 5
- Interface specs interfering with intrinsic tag identification HOT 2
- Query about `-a` flag HOT 2
- Distinction between assumed-size and assumed-shape arrays HOT 11
- Support Fortran 2003 `bind(c)`, `enum bind(c)`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fortran-src.