Skip to content

Commit

Permalink
Merge pull request #922 from chucknelson/add-missing-keywords-for-sas
Browse files Browse the repository at this point in the history
Add missing keywords for SAS.
  • Loading branch information
zeitgeist87 committed Mar 31, 2016
2 parents 39630dd + 1b905b9 commit 648aec0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/prism-sas.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ Prism.languages.sas = {
alias: 'number'
},
'string': /(["'])(?:\1\1|(?!\1)[\s\S])*\1/,
'keyword': /\b(?:data|else|format|if|input|proc|run|then)\b/i,
'keyword': /\b(?:data|else|format|if|input|proc\s\w+|quit|run|then)\b/i,
// Decimal (1.2e23), hexadecimal (0c1x)
'number': /(?:\B-|\b)(?:[\da-f]+x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)/i,
'operator': /\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?|\b(?:eq|ne|gt|lt|ge|le|in|not)\b/i,
'punctuation': /[$%@.(){}\[\];,\\]/
};
};

0 comments on commit 648aec0

Please sign in to comment.