Skip to content

Commit

Permalink
AppleScript: Allow one level of nesting in block comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Golmote committed Jul 11, 2015
1 parent e87efd8 commit 65894c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions components/prism-applescript.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
/* TODO
Add support for nested block comments...
*/

Prism.languages.applescript = {
'comment': [
/\(\*[\w\W]*?\*\)/,
// Allow one level of nesting
/\(\*(?:\(\*[\w\W]*?\*\)|[\w\W])*?\*\)/,
/--.+/,
/#.+/
],
Expand Down
2 changes: 1 addition & 1 deletion components/prism-applescript.min.js

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

0 comments on commit 65894c5

Please sign in to comment.