Stéphane Adjemian (Charybdis)
|
1bf81c9f5a
|
Fixed copyright notices.
|
2017-05-18 18:36:38 +02:00 |
Stéphane Adjemian (Charybdis)
|
b4448937cc
|
Fixed indentation of c/h/cc/hh files.
|
2017-05-16 16:30:27 +02:00 |
Stéphane Adjemian (Charybdis)
|
a53636e24e
|
Fixed copyright notices.
|
2017-05-16 14:11:15 +02:00 |
Houtan Bastani
|
e31f0a8d0f
|
macroprocessor: stop with error when division by zero is encountered. closes #1278
|
2016-09-05 17:36:40 +02:00 |
Houtan Bastani
|
939ac02bad
|
fix copyright dates
|
2016-03-15 12:45:57 +01:00 |
Sébastien Villemot
|
2643bfaa40
|
Fix compatibility with Flex 2.6.
In Flex 2.6, the C++ scanner changed. yyout is now a reference (and no
longer a pointer).
|
2016-03-14 16:28:24 +01:00 |
Houtan Bastani
|
38b21feb3e
|
build system: cosmetic typo fix
|
2016-03-09 16:53:57 +01:00 |
Houtan Bastani
|
6ef4371630
|
Revert "preprocessor: add utf-8 tokenizing"
This reverts commit f2cc9d3899 .
This commit causes warnings in Flex
|
2015-10-30 18:27:41 +01:00 |
Houtan Bastani
|
11eaf27453
|
Merge branch 'julia'
|
2015-09-01 11:35:16 +02:00 |
Houtan Bastani
|
2518f6c83c
|
preprocessor: macroprocessor: add @#includepath macro. #1039
|
2015-08-28 14:43:26 +02:00 |
Houtan Bastani
|
6016d9fc1d
|
preprocessor: fix bug introduced in 1ba04976aa . #1039
|
2015-08-28 11:13:19 +02:00 |
Houtan Bastani
|
1ba04976aa
|
preprocessor: macroprocessor: add -I switch. closes #1039
|
2015-08-27 16:49:12 +02:00 |
Houtan Bastani
|
f2cc9d3899
|
preprocessor: add utf-8 tokenizing
|
2015-08-17 17:09:40 +02:00 |
Houtan Bastani
|
03532ae3a1
|
macroprocessor: fix memory leak
|
2015-02-25 09:03:48 +01:00 |
Houtan Bastani
|
2809afaa11
|
macroprocessor: add support for passing macro values to @#include statement, closes #848
|
2015-02-24 14:43:19 +01:00 |
Houtan Bastani
|
bbee883040
|
fix copyright date
|
2015-02-18 04:00:11 +01:00 |
Houtan Bastani
|
f547d46e9a
|
modify error message when @#endfor and @#endif not followed by newline at EOF. closes #706
|
2015-02-18 03:54:31 +01:00 |
Sébastien Villemot
|
931ea41f18
|
Fix substring operator in macro-processor.
The characters of the substring could be mixed with random characters from the
memory space. Thanks to Tom Holden for reporting the bug.
Closes #708
|
2014-08-12 19:30:09 +02:00 |
Sébastien Villemot
|
dd2aa846a8
|
It's bison 2.5 that's actually required now.
|
2014-01-13 14:56:56 +01:00 |
Houtan Bastani
|
3745409f19
|
preprocessor: namespace fixes to remove clang warnings
|
2013-12-30 14:54:00 +01:00 |
Sébastien Villemot
|
75dd01421f
|
Refactor bison files using new prologue syntax.
|
2013-12-28 21:16:47 +01:00 |
Sébastien Villemot
|
96e973a07f
|
Fix compatibility issue with Bison 3.
Closes #570
|
2013-12-28 21:02:15 +01:00 |
Houtan Bastani
|
14b1abf52a
|
Revert "macroprocessor: substitute dates, don't substitute dates preceded by $ or dates('"
This reverts commit 9be1d084fd .
|
2013-11-18 12:53:55 +01:00 |
Houtan Bastani
|
517317dcc0
|
Revert macro/MacroFlex.ll of 858159a4f5
|
2013-11-18 12:53:42 +01:00 |
Houtan Bastani
|
c004cde911
|
Revert "macroprocessor: if you encounter dates(date), insert quotes"
This reverts commit 9eb34cee4a .
|
2013-11-18 12:42:48 +01:00 |
Houtan Bastani
|
2d825755fa
|
Revert "macroprocessor: copy anything within "dates()" straight to preprocessing stage"
This reverts commit 4f93207a30 .
|
2013-11-18 12:42:25 +01:00 |
Houtan Bastani
|
f4ab023d13
|
Revert "simplify flex code"
This reverts commit 3d57c1e5e9 .
|
2013-11-18 12:42:01 +01:00 |
Houtan Bastani
|
3d57c1e5e9
|
simplify flex code
|
2013-10-23 15:28:16 +02:00 |
Houtan Bastani
|
4f93207a30
|
macroprocessor: copy anything within "dates()" straight to preprocessing stage
|
2013-10-22 16:32:53 +02:00 |
Houtan Bastani
|
9eb34cee4a
|
macroprocessor: if you encounter dates(date), insert quotes
|
2013-10-22 14:06:57 +02:00 |
Houtan Bastani
|
858159a4f5
|
disallow -0 year
|
2013-10-22 14:06:57 +02:00 |
Houtan Bastani
|
9be1d084fd
|
macroprocessor: substitute dates, don't substitute dates preceded by $ or dates('
|
2013-10-22 14:06:57 +02:00 |
Houtan Bastani
|
85667336a1
|
macroprocessor: add length command. closes #436
|
2013-08-12 17:24:47 -04:00 |
Houtan Bastani
|
20f2c1760b
|
preprocessor: add @#ifndef directive
|
2012-06-26 15:12:31 +02:00 |
Houtan Bastani
|
ebc7a783bd
|
fix bug with @#ifdef in macroprocessor
|
2012-06-26 14:50:16 +02:00 |
Sébastien Villemot
|
bbc6cba4a3
|
Macroprocessor: mention @#ifdef in error messages
|
2012-06-13 18:40:12 +02:00 |
Sébastien Villemot
|
8ad27aba0c
|
Bison/Flex files: do not load C++ mode under Emacs
It is better to use bison-mode and flex-mode (see the wiki)
|
2012-06-04 11:59:35 +02:00 |
Houtan Bastani
|
c19950d358
|
update copyright dates for files already modified in 2012
|
2012-01-04 14:42:06 +01:00 |
Houtan Bastani
|
143c5f569b
|
macroprocessor: add @#ifdef
|
2012-01-02 18:27:04 +01:00 |
Sébastien Villemot
|
ff6ae323a6
|
Build system: add boost includes for macroprocessor
|
2011-06-13 10:23:55 +02:00 |
Houtan Bastani
|
6844e2bef7
|
Allow commandline defines with string values
|
2011-06-10 13:25:16 +02:00 |
Houtan Bastani
|
c42c675075
|
implement the possibility of passing macro-processor defines on the command-line (ticket 171)
|
2011-03-29 18:18:46 +02:00 |
Sébastien Villemot
|
02652f6eb8
|
Updated copyright notices
|
2011-02-04 17:27:33 +01:00 |
Sébastien Villemot
|
f4557cb195
|
Reindentation of the preprocessor
|
2011-02-04 16:25:38 +01:00 |
Sébastien Villemot
|
33dee34214
|
MOD files ending with @#endif/@#endfor but no newline now work (closes #73)
|
2010-12-06 17:59:30 +01:00 |
Sébastien Villemot
|
891ad22564
|
Macro-processor: integer ranges with lower bound greater than upper bound are now empty (for consistency with MATLAB)
|
2010-05-12 11:50:27 +02:00 |
sebastien
|
e6f1a53e60
|
Beautified preprocessor code (uncrustify + emacs + manual adjustments, in particular with templates in MacroValue)
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3249 ac1d8469-bf42-47a9-8791-bf33cf982152
|
2009-12-16 17:13:23 +00:00 |
sebastien
|
edea5b303b
|
Build system: fixes for creation of the tarball
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2968 ac1d8469-bf42-47a9-8791-bf33cf982152
|
2009-09-24 10:15:59 +00:00 |
sebastien
|
254253e097
|
Build system: fix for FlexLexer.h
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2954 ac1d8469-bf42-47a9-8791-bf33cf982152
|
2009-09-21 10:00:47 +00:00 |
sebastien
|
d7f8ec9108
|
Build system: incorporate FlexLexer.h, so that one can compile on systems without flex
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2942 ac1d8469-bf42-47a9-8791-bf33cf982152
|
2009-09-17 16:02:55 +00:00 |