summaryrefslogtreecommitdiff
path: root/prism/parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'prism/parser.h')
-rw-r--r--prism/parser.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/prism/parser.h b/prism/parser.h
index 847b29f368..ea40fc910a 100644
--- a/prism/parser.h
+++ b/prism/parser.h
@@ -902,6 +902,12 @@ struct pm_parser {
* characters.
*/
bool current_regular_expression_ascii_only;
+
+ /**
+ * By default, Ruby always warns about mismatched indentation. This can be
+ * toggled with a magic comment.
+ */
+ bool warn_mismatched_indentation;
};
#endif