aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/anarres/cpp/Feature.java
diff options
context:
space:
mode:
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,
}