diff options
author | Kenneth Russel <[email protected]> | 2008-08-17 23:52:29 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2008-08-17 23:52:29 +0000 |
commit | 10032c0115f2794a254cffc2a1cd5e48ca8ff0b8 (patch) | |
tree | 5b599c573265a8744c353e840fb09634ee85b67d /src/java/com/sun/gluegen/pcpp/PCPP.java | |
parent | c4e636dd43da8f327f726a5a508e033197d2ab80 (diff) |
Fixed Issue 7: #define of negative numeric literals are ignored
Applied patch from user tck and adapted to the code structure of the
current branch. Thanks for the patch.
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/gluegen/branches/JOGL_2_SANDBOX@108 a78bb65f-1512-4460-ba86-f6dc96a7bf27
Diffstat (limited to 'src/java/com/sun/gluegen/pcpp/PCPP.java')
-rw-r--r-- | src/java/com/sun/gluegen/pcpp/PCPP.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/com/sun/gluegen/pcpp/PCPP.java b/src/java/com/sun/gluegen/pcpp/PCPP.java index d5d9604..e539cee 100644 --- a/src/java/com/sun/gluegen/pcpp/PCPP.java +++ b/src/java/com/sun/gluegen/pcpp/PCPP.java @@ -71,7 +71,7 @@ public class PCPP { tok.wordChars('A', 'Z'); tok.wordChars('0', '9'); tok.wordChars('_', '_'); - tok.wordChars('.', '.'); + tok.wordChars('-', '.'); tok.wordChars(128 + 32, 255); tok.whitespaceChars(0, ' '); tok.quoteChar('"'); |