pkgpl / cfgio Goto Github PK
View Code? Open in Web Editor NEWFortran config file parser
License: MIT License
Fortran config file parser
License: MIT License
When i compile the same programe with gfortran and intel fortran 2017, it's ok with gfortran but i have a stack overflow error when i start the program after a compilation with the intel fortran 2017.
I thinck that the mistake is in has_section and find_isect. When you haven't GENERALS or DEFAULTS section the "0" section is not allocated.
i add this line to solve the problème
ideb = 0
if(.not.allocated(cfg%s(0)%section)) ideb = 1
do isect=ideb,cfg%nsect
My case requires reading a lot of data in ini file.
I changed the pair to dynamic array in cfg_sect_t
This way will be no upper limit of cfg_sect_t%p
If you like this change, please reply issue. I will create a merge request or you can create a merge request ahead.
hello! I have come about a problem using this library.
I can't seem to be able to define a default content for an array. Don't give it a value in another section it ends saying it cannot find the respective key.
Example:
.................
[DEFAULTS]
a = 1,2,3
[Section 1]
...............
a is an allocatable array. Also tried introducing a variable with the desired number of elements in a and allocate it manually but i still get the same error.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.