summaryrefslogtreecommitdiff
path: root/prism/diagnostic.h
diff options
context:
space:
mode:
authorKevin Newton <[email protected]>2024-02-23 10:36:59 -0500
committerKevin Newton <[email protected]>2024-02-23 13:25:31 -0500
commitd1ce989829927a4215952983babadfd1df1b505f (patch)
tree83020fb1034046d58493328a235e5d77e8aa9e4a /prism/diagnostic.h
parent73dd3ce03e3a0a58a157607385418d7a3724752c (diff)
[ruby/prism] Duplicated hash keys
https://github.com/ruby/prism/commit/3e10c46c14
Diffstat (limited to 'prism/diagnostic.h')
-rw-r--r--prism/diagnostic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/prism/diagnostic.h b/prism/diagnostic.h
index 7419c0e791..85f15db65c 100644
--- a/prism/diagnostic.h
+++ b/prism/diagnostic.h
@@ -306,6 +306,7 @@ typedef enum {
PM_WARN_AMBIGUOUS_SLASH,
PM_WARN_EQUAL_IN_CONDITIONAL,
PM_WARN_END_IN_METHOD,
+ PM_WARN_DUPLICATED_HASH_KEY,
PM_WARN_FLOAT_OUT_OF_RANGE,
// This is the number of diagnostic codes.