summaryrefslogtreecommitdiff
path: root/vala/valagenietokentype.vala
diff options
context:
space:
mode:
authorAlistair Thomas <astavale@yahoo.co.uk>2015-04-25 18:55:33 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2021-11-03 18:51:38 +0100
commit7eed6c77ff8731981c6f3cfe5e3ae5c969d8523e (patch)
tree1367bf62cd2a9b80beae0bf3d6695922f517cfb7 /vala/valagenietokentype.vala
parent2215b53bdfa1d95e54e8363bd53e0ff834950ece (diff)
downloadvala-7eed6c77ff8731981c6f3cfe5e3ae5c969d8523e.tar.gz
genie: Amend text of indent and dedent for error messages
Fixes https://gitlab.gnome.org/GNOME/vala/issues/497
Diffstat (limited to 'vala/valagenietokentype.vala')
-rw-r--r--vala/valagenietokentype.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/vala/valagenietokentype.vala b/vala/valagenietokentype.vala
index 6bde090b6..55dbcc919 100644
--- a/vala/valagenietokentype.vala
+++ b/vala/valagenietokentype.vala
@@ -205,7 +205,7 @@ public enum Vala.Genie.TokenType {
case CONST: return "`const'";
case CONSTRUCT: return "`construct'";
case CONTINUE: return "`continue'";
- case DEDENT: return "`dedent'";
+ case DEDENT: return "end of block (dedent)";
case DEF: return "`def'";
case DEFAULT: return "`default'";
case DELEGATE: return "`delegate'";
@@ -236,7 +236,7 @@ public enum Vala.Genie.TokenType {
case IF: return "`if'";
case IMPLEMENTS: return "`implements'";
case IN: return "`in'";
- case INDENT: return "`tab indent'";
+ case INDENT: return "block (indent)";
case INIT: return "`init'";
case INLINE: return "`inline'";
case INTEGER_LITERAL: return "integer literal";