]>
granicus.if.org Git - re2c/log
Ulya Fokanova [Thu, 23 Jan 2014 10:17:31 +0000 (13:17 +0300)]
Added '-8' option to usage.
Ulya Fokanova [Wed, 22 Jan 2014 13:38:01 +0000 (16:38 +0300)]
Replaced boolean parameter with enum.
Ulya Fokanova [Wed, 22 Jan 2014 11:21:25 +0000 (14:21 +0300)]
Added default rule '*'.
Usage:
* { /* C/C++ code */ }
<c1, ..., cN> * { /* C/C++ code */ }
<*> * { /* C/C++ code */ }
Default rule violates rule order: no matter where it stands
(before all rules, in the middle, or after), it's the last
rule which will be applied.
Ulya Fokanova [Mon, 20 Jan 2014 16:07:42 +0000 (19:07 +0300)]
Fixed segfault: regexp [^]* with 'bFlag' enabled.
Changed 'unmap' function: now spans, that must be unmapped,
are always binded to upper adjacent span (if such span exists).
The previous version of 'unmap' used to bind unmapped spans
either to upper, or to lower adjacent span. Because of this change,
some tests need to be updated.
Ulya Fokanova [Mon, 20 Jan 2014 15:43:41 +0000 (18:43 +0300)]
Removed compatibility encoding mode 'UTF32_16', generate error message when multiple encodings are set.
Ulya Fokanova [Mon, 20 Jan 2014 14:58:46 +0000 (17:58 +0300)]
Renamed '-z' flag to '-8' flag.
Ulya Fokanova [Mon, 20 Jan 2014 11:09:34 +0000 (14:09 +0300)]
Renamed 'uncompile' to 'decompile'.
Ulya Fokanova [Mon, 13 Jan 2014 10:13:14 +0000 (13:13 +0300)]
Changed 'unsigned int' to 'int' (now comparison '< 0' makes sense).
Ulya Fokanova [Sat, 11 Jan 2014 10:11:52 +0000 (13:11 +0300)]
Fixed bugs introduced by UTF-8 support (commit
28ee7c95bca46ad3cdb965741c5c29e21c50df14 ) and added tests that revealed them.
Bugs:
1) dot broken in EBCDIC mode
2) ranges that have 1-2 symbols (without "-") considered empty
Ulya Fokanova [Fri, 10 Jan 2014 15:29:12 +0000 (18:29 +0300)]
Replaced 'echo' with 'printf' in generation of switches for test.
'echo' doesn't distinguish between options and arguments,
so in cases like 'echo "-e"' is outputs empty string. It
results in dropping re2c's "-e" flag in tests with names
like "test.e.re".
Ulya Fokanova [Fri, 10 Jan 2014 13:16:45 +0000 (16:16 +0300)]
Fixed '.' (dot) in UTF-8 mode.
Ulya Fokanova [Wed, 8 Jan 2014 09:40:44 +0000 (12:40 +0300)]
Moved all encoding-related stuff to separate class.
This class stores only encoding flags.
Everything else (number of code points,
number of different characters in input
stream, size of symbol, size of character,
etc.) is generated on the fly.
Ulya Fokanova [Mon, 6 Jan 2014 18:48:21 +0000 (21:48 +0300)]
Added UTF-8 encoding support and tests for it.
Ulya Fokanova [Mon, 6 Jan 2014 18:43:38 +0000 (21:43 +0300)]
Switch on valgrind options that reveal memleaks.
Ulya Fokanova [Mon, 30 Dec 2013 22:24:15 +0000 (01:24 +0300)]
Fixed missprint in EBCDIC range expansion and updated broken tests.
Ulya Fokanova [Fri, 27 Dec 2013 18:58:37 +0000 (21:58 +0300)]
Test re2c on it's own scanner.
Dan Nuffer [Sun, 15 Dec 2013 00:42:32 +0000 (17:42 -0700)]
Fix >> to > > for c++98
Dan Nuffer [Sat, 14 Dec 2013 17:11:31 +0000 (10:11 -0700)]
Add smart_ptr and use it in dfa_map to fix memory leak.
Dan Nuffer [Sat, 14 Dec 2013 16:39:02 +0000 (09:39 -0700)]
Remove cvsclean and use git clean instead.
Dan Nuffer [Fri, 5 Jul 2013 00:46:39 +0000 (18:46 -0600)]
Update version to 0.13.7.dev
Dan Nuffer [Fri, 5 Jul 2013 00:45:41 +0000 (18:45 -0600)]
Release 0.13.6
Dan Nuffer [Fri, 5 Jul 2013 00:08:58 +0000 (18:08 -0600)]
Some ignore and build adjustments for git
Dan Nuffer [Fri, 5 Jul 2013 00:01:28 +0000 (18:01 -0600)]
Update CHANGELOG
Dan Nuffer [Thu, 4 Jul 2013 23:22:51 +0000 (17:22 -0600)]
Ignore htdocs/manual.html
Dan Nuffer [Thu, 4 Jul 2013 23:21:56 +0000 (17:21 -0600)]
Fixed #26: minor man page issues
Dan Nuffer [Thu, 4 Jul 2013 23:18:10 +0000 (17:18 -0600)]
Regenerate bootstrap with bison 2.5
Dan Nuffer [Thu, 4 Jul 2013 23:17:34 +0000 (17:17 -0600)]
Add .gitignore
paulmcq [Mon, 26 Sep 2011 02:40:12 +0000 (02:40 +0000)]
ID#
2535084 : Sun C 5.8 found int32_t := uint64_t; 2 billion specs are sufficient
paulmcq [Sun, 25 Sep 2011 23:53:45 +0000 (23:53 +0000)]
ID#
3308400 : allow Yacc-style %(code brackets}%
paulmcq [Mon, 10 Jan 2011 05:29:49 +0000 (05:29 +0000)]
#
2506253 : allow C++ // comments
nuno-lopes [Thu, 8 Jan 2009 16:44:25 +0000 (16:44 +0000)]
remove trailing ';' char in dot output for consistency
nuno-lopes [Thu, 8 Jan 2009 16:34:51 +0000 (16:34 +0000)]
add code to dump a compiled regex
helly [Fri, 2 Jan 2009 19:01:34 +0000 (19:01 +0000)]
- Applied #
2482561 Error in manual section on -r mode.
helly [Fri, 2 Jan 2009 18:56:36 +0000 (18:56 +0000)]
- Applied #
2482572 Typos in error messages.
helly [Fri, 2 Jan 2009 15:08:27 +0000 (15:08 +0000)]
- Fixed #
2478216 Wrong start_label in -c mode
helly [Sat, 6 Dec 2008 15:13:26 +0000 (15:13 +0000)]
- Use hex for all -e output
helly [Fri, 28 Nov 2008 11:50:16 +0000 (11:50 +0000)]
- Simplify unescape/xlat usage
helly [Fri, 28 Nov 2008 11:48:36 +0000 (11:48 +0000)]
- Remove temp files on success
helly [Fri, 28 Nov 2008 11:19:45 +0000 (11:19 +0000)]
- Fix issues with \a, \b, \f, \n, \r, \t, \v in -e mode
helly [Fri, 28 Nov 2008 09:47:25 +0000 (09:47 +0000)]
- Fixed #
2102138 Duplicate case labels on EBCDIC.
helly [Tue, 25 Nov 2008 13:32:00 +0000 (13:32 +0000)]
- Fix compiling issue reported for HP-UX (unnamed enum).
helly [Sun, 23 Nov 2008 18:16:46 +0000 (18:16 +0000)]
- Fixed #
2186718 Unescaped backslash in file name of #line directive.
helly [Mon, 17 Nov 2008 22:51:38 +0000 (22:51 +0000)]
- Regenerate
helly [Mon, 17 Nov 2008 22:25:25 +0000 (22:25 +0000)]
- Update changelog
helly [Mon, 17 Nov 2008 22:15:49 +0000 (22:15 +0000)]
- Enforce case insensitivity
helly [Mon, 17 Nov 2008 22:04:29 +0000 (22:04 +0000)]
- Improved check for neccessity for translation
helly [Mon, 17 Nov 2008 22:02:46 +0000 (22:02 +0000)]
- Case sensitivity is required
helly [Mon, 17 Nov 2008 18:47:17 +0000 (18:47 +0000)]
- Do not translate config values
helly [Mon, 17 Nov 2008 18:44:43 +0000 (18:44 +0000)]
- Constify translation tables
helly [Sun, 7 Sep 2008 17:11:25 +0000 (17:11 +0000)]
- Fixed #
2038610 ebcdic problem.
helly [Sun, 7 Sep 2008 16:53:03 +0000 (16:53 +0000)]
- Be more explicit in Str/SubStr and drop unused constructor.
- Fixed #
2088583 Compile problemon AIX.
nuno-lopes [Thu, 14 Aug 2008 17:00:25 +0000 (17:00 +0000)]
unbreak the dot export feature that I broke in last commit. sorry..
nuno-lopes [Thu, 14 Aug 2008 16:55:27 +0000 (16:55 +0000)]
generate slighlty better code when testing yyaccept
nuno-lopes [Thu, 7 Aug 2008 16:26:30 +0000 (16:26 +0000)]
improve dot support: make char intervals (e.g. [A-Z]) instead of one edge per char when possible. this reduces the size of the graph to less than half of the original size
nuno-lopes [Thu, 7 Aug 2008 15:17:24 +0000 (15:17 +0000)]
spread some static qualifiers around
nuno-lopes [Thu, 7 Aug 2008 15:10:37 +0000 (15:10 +0000)]
also disallow -s with -D
nuno-lopes [Thu, 7 Aug 2008 14:56:04 +0000 (14:56 +0000)]
disallow -b with -D
helly [Mon, 26 May 2008 13:43:21 +0000 (13:43 +0000)]
- Add info for solaris packages
helly [Sun, 25 May 2008 15:45:29 +0000 (15:45 +0000)]
- Fix html
helly [Sun, 25 May 2008 15:42:28 +0000 (15:42 +0000)]
- This is 0.13.6.dev now
helly [Sun, 25 May 2008 14:43:16 +0000 (14:43 +0000)]
- Fix version
helly [Sun, 25 May 2008 14:39:37 +0000 (14:39 +0000)]
- Date update automatically now
helly [Sun, 25 May 2008 14:38:16 +0000 (14:38 +0000)]
- Correctly handle htdocs/manual.html
helly [Sun, 25 May 2008 14:30:45 +0000 (14:30 +0000)]
- Automatically update release date and version in documentation
- Prepare new release
helly [Sun, 25 May 2008 13:23:02 +0000 (13:23 +0000)]
- Fix bug in Scanner::fill(), reported as
.
1952896 (segfault in re2c::Scanner::scan)
.
1952842 (regression)
nuno-lopes [Wed, 9 Apr 2008 22:57:45 +0000 (22:57 +0000)]
fix a memory error detected with valgrind in raw_token() (the string returned by it was freeded when the function returned
helly [Sat, 5 Apr 2008 15:09:33 +0000 (15:09 +0000)]
- Add 0.13.4 release
helly [Thu, 3 Apr 2008 20:53:44 +0000 (20:53 +0000)]
- Added transparent handling of #line directives in input files.
helly [Mon, 24 Mar 2008 20:42:09 +0000 (20:42 +0000)]
- Fix token length check
helly [Mon, 24 Mar 2008 20:17:37 +0000 (20:17 +0000)]
- Update bootstrap scanner
helly [Mon, 24 Mar 2008 18:46:49 +0000 (18:46 +0000)]
- Move Scanner functions to code.cc
- Allow to expand buffer while in reuse
helly [Mon, 24 Mar 2008 16:41:12 +0000 (16:41 +0000)]
- Respect re2c:flags:w and re2c:flags:u inplace configuration changes.
- Added the ability to add rules in 'use:re2c' blocks.
- Changed -r flag to accept only 'rules:re2c' and 'use:re2c' blocks.
helly [Mon, 24 Mar 2008 14:32:47 +0000 (14:32 +0000)]
- Move Scanner state into base new struct ScannerState
- Little bit of clean up
- Add ability to save & restore scanner state
helly [Mon, 24 Mar 2008 14:21:11 +0000 (14:21 +0000)]
- Simplify dfa caching
helly [Mon, 24 Mar 2008 13:13:28 +0000 (13:13 +0000)]
- Do not drinput in -r mode
helly [Mon, 24 Mar 2008 01:05:08 +0000 (01:05 +0000)]
- Added re2c:flags:w and re2c:flags:u inplace configurations.
- Changed -r flag to accept only 'rules:re2c' and 'use:re2c' blocks.
helly [Sun, 23 Mar 2008 21:50:56 +0000 (21:50 +0000)]
- One scannot combine -e and -r
helly [Sun, 23 Mar 2008 20:34:51 +0000 (20:34 +0000)]
- Improve help on wrong command lines
helly [Sat, 22 Mar 2008 23:50:26 +0000 (23:50 +0000)]
- Better Any/Dot implementation
helly [Sat, 22 Mar 2008 17:43:57 +0000 (17:43 +0000)]
- Better overflow protection with yyfill-pre-check
helly [Sat, 22 Mar 2008 16:41:49 +0000 (16:41 +0000)]
- Speling
helly [Fri, 21 Mar 2008 21:23:07 +0000 (21:23 +0000)]
- Added re2c:yyfill:check inplace configuration.
- Added re2c:define:YYSETSTATE:naked inplace configuration.
nuno-lopes [Fri, 21 Mar 2008 19:51:48 +0000 (19:51 +0000)]
make the \n \r \t \v \f chars be represented by their escape sequence rather than an hex char (to improve readability of generated code)
nuno-lopes [Fri, 21 Mar 2008 19:49:26 +0000 (19:49 +0000)]
touch
helly [Fri, 14 Mar 2008 21:03:33 +0000 (21:03 +0000)]
- This is 0.13.4.dev now
helly [Fri, 14 Mar 2008 19:35:31 +0000 (19:35 +0000)]
- Fix minor errors
helly [Thu, 13 Mar 2008 17:47:40 +0000 (17:47 +0000)]
- Update bootstrap files
helly [Thu, 13 Mar 2008 17:47:07 +0000 (17:47 +0000)]
- Add new tests
- Fix expected error messages (line numbers correct now)
helly [Thu, 13 Mar 2008 17:44:34 +0000 (17:44 +0000)]
- Cleanup
- Fix compiler warnings
- Improve error messages
helly [Thu, 13 Mar 2008 17:43:07 +0000 (17:43 +0000)]
- Fix compiler warnings
- Improve error message generation (allows to fix reported line numbers)
helly [Thu, 13 Mar 2008 17:38:12 +0000 (17:38 +0000)]
- Type fixes
- Add an assertion to catch unwanted situations and document what it is
- Fix compiler warning with unused parameter
helly [Thu, 13 Mar 2008 17:36:01 +0000 (17:36 +0000)]
- Type fixes
helly [Thu, 13 Mar 2008 17:34:11 +0000 (17:34 +0000)]
- More docu
helly [Thu, 13 Mar 2008 17:32:12 +0000 (17:32 +0000)]
- Add 'make vtest' which triggers valgrind testing and use it prior to
releasing. The normal 'make test' no longer triggers valgrind testing.
helly [Fri, 7 Mar 2008 22:09:20 +0000 (22:09 +0000)]
- Patch to fix limit of scanner buffer, by Jan-Henrik Haukeland (hauk a tildeslash d com)
helly [Fri, 7 Mar 2008 21:59:19 +0000 (21:59 +0000)]
- Added -r flag to allow reuse of scanner definitions.
helly [Wed, 5 Mar 2008 00:11:13 +0000 (00:11 +0000)]
- Correct fill()'s size calculation, detectout of memory situations and allow
to request more than 8K additional buffer size
- Add overflow tests
helly [Wed, 5 Mar 2008 00:06:54 +0000 (00:06 +0000)]
- Autodetect valgrind for tests
helly [Mon, 3 Mar 2008 23:35:22 +0000 (23:35 +0000)]
- Actually we can have better checks
helly [Mon, 3 Mar 2008 23:23:22 +0000 (23:23 +0000)]
- Add overflow tests (we allow 8K max input right now)