summary refs log tree commit diff
path: root/bin/c11.l
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-01-13 16:42:30 -0500
committerJune McEnroe <june@causal.agency>2021-01-13 16:42:30 -0500
commitb10e81ef8fbc7e644dd72c2ee94b9e09eeac62f8 (patch)
tree1b9d9471153d49dc500cd9b7f1e6d50cfb505ec0 /bin/c11.l
parentMove text "lexer" to hilex.c (diff)
downloadsrc-b10e81ef8fbc7e644dd72c2ee94b9e09eeac62f8.tar.gz
src-b10e81ef8fbc7e644dd72c2ee94b9e09eeac62f8.zip
Shorten hilex class names
Diffstat (limited to 'bin/c11.l')
-rw-r--r--bin/c11.l6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/c11.l b/bin/c11.l
index ce310ffc..0cee3a23 100644
--- a/bin/c11.l
+++ b/bin/c11.l
@@ -76,7 +76,7 @@ register|restrict|return|static|struct|switch|typedef|union|volatile|while |
 	{ident} { return Macro; }
 }
 
-{ident} { return Identifier; }
+{ident} { return Ident; }
 
 "//"([^\n]|"\\\n")* |
 "/*"([^*]|"*"[^/])*"*"+"/" {
@@ -106,13 +106,13 @@ register|restrict|return|static|struct|switch|typedef|union|volatile|while |
 	"\\x"([[:xdigit:]]{2}) |
 	"\\u"([[:xdigit:]]{4}) |
 	"\\U"([[:xdigit:]]{8}) {
-		return StringEscape;
+		return Escape;
 	}
 }
 <StringLiteral>{
 	"%%" |
 	"%"[ #+-0]*{width}?("."{width})?([Lhjltz]|hh|ll)?[AEFGXacdefginopsux] {
-		return StringFormat;
+		return Format;
 	}
 }