Skip to content

Commit

Permalink
Remove constant token
Browse files Browse the repository at this point in the history
  • Loading branch information
hoonweiting committed Mar 14, 2022
1 parent bfc5761 commit 6eab90a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 15 deletions.
1 change: 0 additions & 1 deletion components/prism-vhdl.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ Prism.languages.vhdl = {
alias: 'function'
},
'string': /"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,
'constant': /\b(?:library|use)\b/i,
'attribute': {
pattern: /\b'\w+/,
alias: 'attr-name'
Expand Down
2 changes: 1 addition & 1 deletion components/prism-vhdl.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 0 additions & 13 deletions tests/languages/vhdl/constant_feature.test

This file was deleted.

4 changes: 4 additions & 0 deletions tests/languages/vhdl/keyword_feature.test
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ inertial
inout
is
label
library
linkage
literal
loop
Expand Down Expand Up @@ -73,6 +74,7 @@ type
unaffected
units
until
use
variable
view
wait
Expand Down Expand Up @@ -121,6 +123,7 @@ with
["keyword", "inout"],
["keyword", "is"],
["keyword", "label"],
["keyword", "library"],
["keyword", "linkage"],
["keyword", "literal"],
["keyword", "loop"],
Expand Down Expand Up @@ -158,6 +161,7 @@ with
["keyword", "unaffected"],
["keyword", "units"],
["keyword", "until"],
["keyword", "use"],
["keyword", "variable"],
["keyword", "view"],
["keyword", "wait"],
Expand Down

0 comments on commit 6eab90a

Please sign in to comment.