Commit Graph

4777 Commits

Author SHA1 Message Date
Hartmut Kaiser
a00bd55fe3 Added a lot of functionality (see Changelog).
[SVN r17297]
2003-02-09 22:58:23 +00:00
Hartmut Kaiser
3e50f4605c Closure debug output now only if rule was matched.
[SVN r17296]
2003-02-09 19:42:27 +00:00
Hartmut Kaiser
81fec65a48 Fixed a bug.
[SVN r17295]
2003-02-09 18:52:02 +00:00
Hartmut Kaiser
0f3a25a8c5 Fixed a bug.
[SVN r17293]
2003-02-09 17:07:14 +00:00
Hartmut Kaiser
21bdb3935d Added closure debug support.
[SVN r17292]
2003-02-09 14:45:55 +00:00
Hartmut Kaiser
4c7dd097f5 Fixed a minor (potental) bug.
[SVN r17291]
2003-02-09 14:44:24 +00:00
Hartmut Kaiser
278135fd4f Added a constructor taking a file_position.
[SVN r17290]
2003-02-09 14:43:28 +00:00
Hartmut Kaiser
285149ae50 Added closure debug support.
[SVN r17289]
2003-02-09 14:34:19 +00:00
Martin Wille
7509c421d7 -- as_parser is applied very late on the original arguments.
-- the above fixes a bug occuring when rules are used with do_p
   (reference to tempary result of as_parser was held).


[SVN r17287]
2003-02-09 11:06:41 +00:00
Martin Wille
85eeaa52f7 -- bug fix: else-part of if-else-parser returned invalid length for match
-- bug fix: now references to the original arguments are now held consistently
   during the construction of if-parsers. This is required for working
   correctly with rules. This finally fixes the semi-fixed bug of version
   1.3 of this file.
-- as_parser is applied very late on the original arguments. This will
   make error messages even longer.


[SVN r17286]
2003-02-09 10:39:59 +00:00
Juan Carlos Arevalo-Baeza
31084b4e74 Updated by TortoiseCVS
[SVN r17284]
2003-02-09 02:52:30 +00:00
Juan Carlos Arevalo-Baeza
1432e71c0f Updated by TortoiseCVS
[SVN r17283]
2003-02-09 02:52:10 +00:00
Juan Carlos Arevalo-Baeza
c3a1e9e9f3 Updated by TortoiseCVS
[SVN r17282]
2003-02-09 02:51:49 +00:00
Juan Carlos Arevalo-Baeza
535d1e13f8 Cleaned up, reorganized and commented the code.
[SVN r17281]
2003-02-09 02:49:59 +00:00
Martin Wille
538f55065c -- bug fix: if_parsers returned invalid lengthes for matches
-- bug semi fixed: the if_else_parser_gen held references to
                   temporaries created during the construction
                   of the if_parser. This has been changed to
                   holding copies. N.B. copying also isn't
                   correct, it is just a bit better than
                   referencing here


[SVN r17280]
2003-02-08 21:57:34 +00:00
Joel de Guzman
ebc1682d56 simplified the requirement for range
[SVN r17279]
2003-02-08 17:54:04 +00:00
Joel de Guzman
a78f5dee88 revert range
[SVN r17278]
2003-02-08 17:31:42 +00:00
Hartmut Kaiser
51fe5711ea Removed the specializations for unsigned char.
[SVN r17269]
2003-02-07 18:20:37 +00:00
Hartmut Kaiser
301f90f83f Fixed a problem with an unsigned --> signed casting.
[SVN r17268]
2003-02-07 18:19:35 +00:00
Hartmut Kaiser
1bb51d1a26 Fixed the unresolved externals linker errors.
[SVN r17266]
2003-02-07 14:45:56 +00:00
Martin Wille
82efa97796 -- added cloning for parsers embeded within a rule
[SVN r17263]
2003-02-07 11:33:56 +00:00
Juan Carlos Arevalo-Baeza
af37ce0323 Added a new exmple, fixed the lexer for the current version of Spirit and added some comments and fixes.
[SVN r17260]
2003-02-07 04:34:06 +00:00
Joel de Guzman
f352f4f2ca placed the inclusion of attribute.hpp in a guard to avoid making MSVC choke
[SVN r17256]
2003-02-06 18:15:11 +00:00
Juan Carlos Arevalo-Baeza
5ed1e3c87d Fixed a bug in one of the include guards.
[SVN r17254]
2003-02-06 17:06:14 +00:00
Hartmut Kaiser
74d32e6adc Added a specialization for the is*_(unsigned char) functions.
[SVN r17253]
2003-02-06 15:32:19 +00:00
Hartmut Kaiser
c16c57ba9a Added a specialization for the is*_(unsigned char) functions.
[SVN r17252]
2003-02-06 15:25:51 +00:00
Joel de Guzman
da8809288c fixed _GNUC_ to __GNUC__
[SVN r17247]
2003-02-06 06:27:34 +00:00
Joel de Guzman
c22d7e9872 Added smiley.gif to quickdoc, removed the redundant quickdoc.txt, borland workarounds, etc.
[SVN r17246]
2003-02-06 04:41:17 +00:00
Joel de Guzman
f4f51e1897 Numerics strict reals added
[SVN r17245]
2003-02-06 04:39:15 +00:00
Hartmut Kaiser
fffcce73ca Added a missing typename and an additional set of is*_() functions for an int parameter.
[SVN r17244]
2003-02-05 21:05:12 +00:00
Markus Schöpflin
b45dde8409 Added helper function to_int_type() to fix the conversion problems
from char_type to int_type. The helper uses std::char_traits when
available. A workaround for platforms where no std::char_traits is
available is provided as well. The workaround is triggered by the
define BOOST_SPIRIT_NO_CHAR_TRAITS.


[SVN r17225]
2003-02-05 09:42:25 +00:00
Joel de Guzman
85d87e450c More MSVC and Borland Fixes
[SVN r17210]
2003-02-04 20:45:30 +00:00
Joel de Guzman
8f3b1e06ed trivial fixes
[SVN r17208]
2003-02-04 18:18:21 +00:00
Joel de Guzman
7f6409f2af bug-fix
[SVN r17207]
2003-02-04 18:16:37 +00:00
Joel de Guzman
d470567979 Borland workarounds (must wait for boost::is_convertible to be fixed). In the meantime, revert to a previous working is_convertible version.
[SVN r17206]
2003-02-04 18:09:14 +00:00
Joel de Guzman
441edc70cd simplified implementation of is_parser by using boost::is_base_and_derived
[SVN r17205]
2003-02-04 17:55:49 +00:00
Joel de Guzman
7261ddbcdc Move to MPL
[SVN r17186]
2003-02-04 08:33:27 +00:00
Joel de Guzman
b6bfe546c6 move to MPL
[SVN r17185]
2003-02-04 07:31:00 +00:00
Martin Wille
707ca79299 -- changed the smart pointer used for holding the conrete parser
of rule<> from boost::shared_ptr to std::auto_ptr.
   This should help to decrease compile time and executable size
   while not changing the semantics of rule<>


[SVN r17175]
2003-02-03 15:19:14 +00:00
Hartmut Kaiser
594eb1c0f1 Fixed minor problems.
[SVN r17169]
2003-02-03 10:49:14 +00:00
Hartmut Kaiser
8985a1b05b Implemented the #define/#undef and #ifdef/#ifndef/#else/#endif statements.
[SVN r17167]
2003-02-02 22:42:32 +00:00
Hartmut Kaiser
1019968c59 Deleted not needed file.
[SVN r17158]
2003-02-01 23:14:13 +00:00
Hartmut Kaiser
bc4ae9205c Copyrights.
[SVN r17153]
2003-02-01 18:53:17 +00:00
Hartmut Kaiser
39cd3d43a6 Copyrights.
[SVN r17152]
2003-02-01 18:45:09 +00:00
Hartmut Kaiser
ffdeddf5fa Copyrights.
[SVN r17151]
2003-02-01 18:39:15 +00:00
Hartmut Kaiser
9db6aa141a Added missing typename's.
[SVN r17149]
2003-02-01 14:51:20 +00:00
Hartmut Kaiser
6214b28340 Added missing typename's.
[SVN r17148]
2003-02-01 14:50:49 +00:00
Joel de Guzman
d8cbf52479 fixed copyright
[SVN r17145]
2003-02-01 10:32:37 +00:00
Joel de Guzman
2d0499840d Added copyrights where appropriate
[SVN r17144]
2003-02-01 04:42:01 +00:00
Joel de Guzman
2a2cc72833 Example fixes
[SVN r17142]
2003-02-01 00:48:55 +00:00