antlr/tool
Mike Lischke 7f8ad7bd2d Applied consistent exception model and fixed is<> helper.
- Exceptions are now consistently thrown by value and captured by reference. C++11 exception_ptr and nested_exception are used when exception references are neeeded or when implementing the equivalent of Java's nesting.
- The is<> helper didn't handle properly (const) references, which is now explicitly handled. Added new unit tests for that.
- Fixed a number of places where a catch all was used to implement a "finally" (which hides exceptions).
- Changed exceptions to hold (temporary) raw pointers instead of shared pointers, as otherwise it is tried to free wrapped pointers which might just be references to static objects. Might later be updated again when we continue with removing raw pointers.
- Some smaller fixes.
- The generated simple parser now runs through without any error (yet, it doesn't do anything useful).

- ANTLR C++ target template:
  - Added getListener and genVisitor bool members to ANTLR's LexerFile + ParserFile classes, so can use them in the template.
  - Made addition of listener #include dependent on the new genListener member, which allows to run parser generation without listeners/visitors.
2016-04-09 16:36:52 +02:00
..
resources/org/antlr/v4/tool/templates Applied consistent exception model and fixed is<> helper. 2016-04-09 16:36:52 +02:00
src/org/antlr/v4 Applied consistent exception model and fixed is<> helper. 2016-04-09 16:36:52 +02:00
test/org/antlr/v4/test ATN deserialization + some initialization and memory leak fixes 2016-03-19 17:18:06 +01:00
MIGRATION.txt -> becomes # for alt labels 2012-04-26 11:59:57 -07:00
nb-configuration.xml Updated NetBeans code style for ANTLR and StringTemplate file types 2012-11-12 13:37:50 -06:00
pom.xml Now working on release 4.1.1 2013-07-02 19:11:04 -05:00