summaryrefslogtreecommitdiff
path: root/src/lexer.l
AgeCommit message (Collapse)Author
2013-07-28In this commit i'll change just the Qt project, c and header files to get ↵Ivo Noorhoff
OpenSCAD building and working on Windows 7 compiled with Visual Studio Express 2012. A couple of things needed changing : * MSVC 2012 has no trunc or round, i have added those to mathc99 and included mathc99 to the files needed. The implementations were taken from boost. * MSVC 2012 stl does now allow accessing out of bounds elements in std:vector as an array, so "chain->objects[i]" will fail in "OpenCSGRenderer::renderCSGChain". Whatever the platform, it will me a good idea to change this code to something that does not trigger undefined behavior. * MSVC 2012 cannot figure out the types involved in "if (file_size == 80 + 4 + 50*facenum) {", i have added a cast to force it to "if (file_size == static_cast<std::streamoff>(80 + 4 + 50*facenum)) {". The next round would be regression testing and debugging and possibly more changes to the OpenSCAD main code. The round after that would be changing the .pro and .pri files to create correct visual studio solutions.
2013-05-28Changed compile GUI logic to properly handler automatic reload on cascading ↵Marius Kintel
changes
2013-05-27Support locating previously missing modules. yet another part of #364Marius Kintel
2013-05-26Final fix of #364 - includepaths leaked to subsequent pathless includesMarius Kintel
2013-05-26Fixed remaining issue. We now correctly detect removal of files as changes. ↵Marius Kintel
Removed temporary debug output. Fixes #364
2013-05-25Search paths when looking for previously missing includes. Should provide ↵Marius Kintel
most of what's needed for #364
2013-05-20try to refactor the 'is_modified( includefile )' codeDon Bright
2013-05-19throw warning when include file disappears. refactoring.Don Bright
2013-05-19first refactoring towards fixing issue364Don Bright
2013-04-26Refactoring: Split out FileModule from Module, Added LocalScope renamed some ↵Marius Kintel
confusing 'evaluate' methods to 'instantiate', added FileContext (not yet used)
2013-04-18Cleaned up argument list handling, related to #116Marius Kintel
2013-02-14deal with test suite issues under mingw-cross compile and winedon bright
2012-10-24Detect circular includes. Probably the final commit for #75Marius Kintel
2012-08-18detect flaws in 'use' and 'include' statements. make locate_file consider ↵don bright
directories as 'non files'.
2012-06-24Search for libraries from a list of paths. Preparations for issue #125Marius Kintel
2012-03-29Remove superfluous debug output. Fixes #103Marius Kintel
2012-02-17Handle include dependenciesMarius Kintel
2012-02-15Don't try to handle non-existing use'd librariesMarius Kintel
2012-02-15Initial implementation of ModuleCache and dependency tracking of used modulesMarius Kintel
2012-02-02bugfix: Nested use and included of files inside libraries was broken. Fixes #78Marius Kintel
2012-02-02Minor refactor: use set/get_librarydir() to access global variableMarius Kintel
2012-01-25Ported printutils away from QtMarius Kintel
2012-01-14add boosty.h for compatability with boost <1.44donb
2012-01-14Added absolute path tests to include and use tests, fixed bug using absolute ↵Marius Kintel
paths in use and include
2012-01-09Windows compile fix: Convert away from wchar. prefix conditions with cond_ ↵Marius Kintel
to not pollute the global namespace with generic symbols
2012-01-04Merge branch 'master' into boost_filesystemMarius Kintel
Conflicts: boost.pri src/lexer.l tests/CMakeLists.txt
2012-01-04Disabled the old include syntax; i.e. without the include keywordMarius Kintel
2011-12-24Ported lexer code from QFile to boost filesystemMarius Kintel
2011-12-24Extracted librarydir initialization to separate functionMarius Kintel
2011-12-12bugfix: Make include also search librarydirMarius Kintel
2011-11-05Added support for parsing numbers in scientific notation, e.g. to allow ↵Marius Kintel
roundtripping of written csg files as well as parsing of externally generated scad files
2011-10-31bugfix: filenames with spaces caused a syntax error with the use keyword ↵Marius Kintel
(fixes #31)
2011-10-26integrate Brad Pitcher's cross compile linux->win32-mingw qmake stuffDon Bright
2011-09-10Don't leave files open on parse errorsMarius Kintel
2011-09-03Extracted handle_dep() to separate source fileMarius Kintel
2011-08-04Merge branch 'master' into visitorMarius Kintel
Conflicts: src/OpenCSGRenderer.cc src/csgops.cc src/mainwin.cc src/polyset.cc src/projection.cc
2011-07-21prevent linker error LNK1120 in windowsdon bright
2011-04-30Bugfix: Include of absolute paths to files in the root path weren't parsed ↵Marius Kintel
correctly; caused a '/' character to be written to stdout
2011-01-24compile fixes for parser and lexer under MSVCmeta
2011-01-21Copyright updatesMarius Kintel
2010-12-11Fix for when the included file doesn't exist. Needed because we will never ↵Giles Bathgate
get an EOF, and so never pop the stack.
2010-12-09Removed some unneeded cruft.Giles Bathgate
2010-12-03Added support for nested includes.Giles Bathgate
2010-11-30Improvement to lexing of strings don't use QString.replace, use the power of ↵Giles Bathgate
flex instead.
2010-11-17This adds support for escape sequences in strings e.g \t \n \r \" \\Giles Bathgate
2010-11-02TOK_NUMBER lexer improvement by Steven Dickkintel
git-svn-id: http://svn.clifford.at/openscad/trunk@579 b57f626f-c46c-0410-a088-ec61d464b74c
2010-11-02Tag deprecation as suchkintel
git-svn-id: http://svn.clifford.at/openscad/trunk@578 b57f626f-c46c-0410-a088-ec61d464b74c
2010-02-28Clifford Wolf:clifford
Some fixes regarding 'use <filename>' git-svn-id: http://svn.clifford.at/openscad/trunk@460 b57f626f-c46c-0410-a088-ec61d464b74c
2010-02-28Clifford Wolf:clifford
Implemented 'use' statement git-svn-id: http://svn.clifford.at/openscad/trunk@459 b57f626f-c46c-0410-a088-ec61d464b74c
2010-02-27Clifford Wolf:clifford
Added include<...> statement Prepared use<...> statement git-svn-id: http://svn.clifford.at/openscad/trunk@457 b57f626f-c46c-0410-a088-ec61d464b74c
contact: Jan Huwald // Impressum