diff options
author | June McEnroe <june@causal.agency> | 2021-01-13 16:42:30 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-01-13 16:42:30 -0500 |
commit | b10e81ef8fbc7e644dd72c2ee94b9e09eeac62f8 (patch) | |
tree | 1b9d9471153d49dc500cd9b7f1e6d50cfb505ec0 /bin/c11.l | |
parent | Move text "lexer" to hilex.c (diff) | |
download | src-b10e81ef8fbc7e644dd72c2ee94b9e09eeac62f8.tar.gz src-b10e81ef8fbc7e644dd72c2ee94b9e09eeac62f8.zip |
Shorten hilex class names
Diffstat (limited to 'bin/c11.l')
-rw-r--r-- | bin/c11.l | 6 |
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; } } |