summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean Abou Samra <jean@abou-samra.fr>2023-03-30 11:15:41 +0200
committerJean Abou Samra <jean@abou-samra.fr>2023-03-30 11:15:59 +0200
commit36c34ae6b0daf577f6722822af0d0e13b0889f52 (patch)
tree099bd23f2667c2c95d5c7a86c941d92c91cc9473
parentec1bd8edbdce1bf845e128b68457a2c5710e4531 (diff)
downloadpygments-git-36c34ae6b0daf577f6722822af0d0e13b0889f52.tar.gz
Update copyright year in wgsl.py (fixes tox -e check)
-rw-r--r--pygments/lexers/wgsl.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pygments/lexers/wgsl.py b/pygments/lexers/wgsl.py
index 2a72c904..85720528 100644
--- a/pygments/lexers/wgsl.py
+++ b/pygments/lexers/wgsl.py
@@ -4,7 +4,7 @@
Lexer for the WebGPU Shading Language.
- :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS.
+ :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
@@ -364,7 +364,7 @@ class WgslLexer(RegexLexer):
(r'[0-9]+\.[0-9]*([eE][+-]?[0-9]+)?[fh]?', Number.Float),
# Has at least one digit, and has an exponent.
(r'[0-9]+[eE][+-]?[0-9]+[fh]?', Number.Float),
-
+
# Hex float literals
# https://www.w3.org/TR/WGSL/#syntax-hex_float_literal
(r'0[xX][0-9a-fA-F]*\.[0-9a-fA-F]+([pP][+-]?[0-9]+[fh]?)?', Number.Float),