Commit graph

8 commits

Author SHA1 Message Date
ryoon
0816f2eb64 Update to 1.6.0
Changelog:
## JFlex 1.6.0
- Unicode 7.0 is supported.
- In %unicode mode, supplementary code points are now handled properly.
  . Regular expressions are now code-point based, rather than code-unit/
    char based.
  . Input streams are read as code point sequences - properly paired
    surrogate code units are read as a single character.
  . All supported Unicode properties now match supplementary characters
    when Unicode 3.0 or above is specified, or when no version is
    specified, causing the default Unicode version, Unicode 7.0 in this
    release, to be used.
- New \u{...} escape sequence allows code points (and whitespace-separated
  sequences of code points) to be specified as 1-6 hexadecimal digit values.
- Characters in matches printed in %debug mode are now Unicode escaped
  (\uXXXX) when they are outside the range 32..127.
- fixed bug #127, detect javadoc class comment when followed by annotation(s)
- removed the "switch" and "table" code generation options
- By default no InputStream constructor is included in the generated
  scanner.  The capability to include one is deprecated and will be
  removed in JFlex 1.7.

## JFlex 1.5.1 (Mar 21, 2014)
- fixed bug #126, problem calling ./jflex start scripts
- fixed bug #125, minor documentation flaws
- further documentation and website updates
- JFlex now reports the correct version string
- added support for CUP2 with %cup2 switch, based on patch by Andreas Wenger

## JFlex 1.5.0 (Jan 21, 2014)
- the "switch" and "table" code generation options are deprecated
  and will be removed in JFlex 1.6
- the JFlex license has been changed from GPL to BSD.
- updated JFlex to CUP version 0.11a.
- changed the build from Ant to Maven.
- JFlex now mostly conforms with Unicode Regular Expressions UTS#18
  Basic Unicode Support - Level 1.  Supplementary code points (above
  the Basic Multilingual Plane) are not yet supported.
- new meta characters supported: `\s, \S, \d, \D, \w, \W`.
- nested character sets now supported, e.g. [[[ABC]D]E[FG]]
- new character set operations supported: union (e.g. [A||B]), intersection (e.g.
  [A&&B]), set-difference (e.g. [A--B]), and symmetric difference (e.g. [A~~B]).
- the meaning of the dot (".") meta character has been changed from `[^\n]` to
  `[^\n\r\u000B\u000C\u0085\u2028\u2029]`. Use the new `--legacydot` option to
  cause "." to be interpreted as `[^\n]`.
- new `\R` meta character matches any newline:
  `"\r\n" | [\n\r\u000B\u000C\u0085\u2028\u2029]`.
- new option --noinputstreamctor to not include an InputStream
  constructor in the generated scanner.
- %include <file> can now be used in the rules section (bug #116)
- fixed bug #105 & #106 (yychar and zzAtBOL should be reset for nested input streams)
- fixed bug #107 (could not match input for empty string matches.)
- fixed bug #110 & #118 (properly update zzFin when reallocating zzBuffer)
- fixed bug #114 (noncompileable scanner generation when default locale is Turkish)
- fixed bug #113 (zzEOFDone not included with pushed nested stream state)
- fixed bug #103 (can't build examples/java/)
- fixed bug #104 (impossible char class range should trigger syntax error)
2014-10-06 13:33:54 +00:00
ryoon
f76c2ac5ea Update to 1.4.3
Changelog:
 JFlex 1.4.3 (Jan 31, 2009) fixes all known bugs of 1.4.2
Fixed bug #2018299 (lookahead syntax error).
Fixed bug #2010261 (min_int in Java example scanner).
Fixed bug #2007221 (zzEOFDone not reset in yyreset(Reader)).
Fixed bug #1999301 (%type and %int at the same time should produce error message).

JFlex 1.4.2 (May 27, 2008) fixes all known bugs of 1.4.1
Implemented feature request #1212181: Now supports generics syntax for %type, %extends, etc.
Implemented feature request #1762500: Provided %ctorarg option to add arguments to constructor.
Fixed bug #1464525 (Reader.read might return 0).
Fixed bug #1968897 (Ambiguous error message in macro expansion).
Fixed bug #1832973 (Syntax error in input may cause NullPointerException).
Fixed bug #1629920 (Need to defend against path blanks in jflex bash script).
Fixed bug #1540228 (EOF actions may be ignored for same lex state).
Fixed bug #1498726 (syntax error in generated ZZ_CMAP).
Fixed bug #1282840 (lookahead and "|" actions).
Fixed bug #1164852 (yytext() longer than expected with lookahead).
Fixed bug #1065521 (OS/2 Java 1.1.8 Issues).
Fixed bug #421495 (dangerous lookahead check may fail).
2013-12-31 22:12:03 +00:00
asau
e1ab7079b6 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-31 11:16:30 +00:00
joerg
bacea7cad5 Remove @dirrm entries from PLISTs 2009-06-14 17:48:39 +00:00
joerg
a8a3c01339 Explicitly add pax dependency in those Makefiles that use it (or have
patches to add it). Drop pax from the default USE_TOOLS list.
Make bsdtar the default for those places that wanted gtar to extract
long links etc, as bsdtar can be built of the tree.
2008-05-25 21:42:20 +00:00
rillig
ebcb0ce01e Resign from maintaining a lot of packages, so everyone is free to update
them at will.
2008-03-04 11:02:23 +00:00
jlam
4c8382aec0 Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
2008-03-03 17:45:33 +00:00
rillig
5fe555d87f Imported jflex.
JFlex is a lexical analyzer generator for Java written in Java. It is
also a rewrite of the very useful tool JLex which was developed by
Elliot Berk at Princeton University. As Vern Paxson states for his C/C++
tool flex: They do not share any code though.
2007-02-22 08:24:44 +00:00