Skip to content

Commit

Permalink
Scheme: Don't match content of symbols starting with a parenthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
Golmote committed Aug 31, 2015
1 parent 068704a commit fa7df08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/prism-scheme.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Prism.languages.scheme = {
'comment' : /;.*/,
'string' : /"(?:[^"\\\r\n]|\\.)*?"|'[^'\s]+/, //thanks http://stackoverflow.com/questions/171480/regex-grabbing-values-between-quotation-marks
'string' : /"(?:[^"\\\r\n]|\\.)*?"|'[^('\s]*/,
'keyword' : {
pattern : /(\()(?:define(?:-syntax|-library|-values)?|(?:case-)?lambda|let(?:\*|rec)?(?:-values)?|else|if|cond|begin|delay(?:-force)?|parameterize|guard|set!|(?:quasi-)?quote|syntax-rules)/,
lookbehind : true
Expand Down
2 changes: 1 addition & 1 deletion components/prism-scheme.min.js

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

0 comments on commit fa7df08

Please sign in to comment.