aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/anarres/cpp/Feature.java
diff options
context:
space:
mode:
authorShevek <[email protected]>2008-06-13 21:53:52 +0000
committerShevek <[email protected]>2008-06-13 21:53:52 +0000
commit282706bd6ddf2d2b6279683ab65c5c5b4df92046 (patch)
tree34144b05e5d78b85d5de69a0b99fd57c9a4215ae /src/java/org/anarres/cpp/Feature.java
parent93808fc91f990dbc17a2bc2b350552d9dde89692 (diff)
handle errors better, using features
Diffstat (limited to 'src/java/org/anarres/cpp/Feature.java')
-rw-r--r--src/java/org/anarres/cpp/Feature.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/java/org/anarres/cpp/Feature.java b/src/java/org/anarres/cpp/Feature.java
index 2fc7a61..2f80245 100644
--- a/src/java/org/anarres/cpp/Feature.java
+++ b/src/java/org/anarres/cpp/Feature.java
@@ -21,9 +21,14 @@ package org.anarres.cpp;
* Features of the Preprocessor, which may be enabled or disabled.
*/
public enum Feature {
+ /** Supports ANSI digraphs. */
DIGRAPHS,
+ /** Supports ANSI trigraphs. */
TRIGRAPHS,
+ /** Outputs linemarker tokens. */
LINEMARKERS,
+ /** Reports tokens of type INVALID as errors. */
CSYNTAX,
+ /** Preserves comments in the lexed output. */
KEEPCOMMENTS,
}