Skip to content

Commit

Permalink
Merge pull request #62 from cgay/ing
Browse files Browse the repository at this point in the history
Don't match ...ing words in dylan-with-statement-prefix
  • Loading branch information
cgay authored Jun 13, 2021
2 parents 040c8eb + 21e8565 commit d85409d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dylan.el
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,10 @@ These must also be simple definitions and are appended to
"iterate" "profiling")
"Words that begin statements with implicit bodies.")

;; Names beginning "with-", "without-", and "...ing-" (e.g., printing-object)
;; are commonly used as statement macros.
;; Names beginning "with-", "without-", and "printing-" (for printing-object
;; and printing-logical-block) are commonly used as statement macros.
(defvar dylan-with-statement-prefix
"\\(with\\|without\\|[a-zA-Z]+ing\\)-")
"\\(with\\|without\\|printing\\)-")

(defvar dylan-statement-prefixes
(concat "\\|\\_<" dylan-with-statement-prefix "[-_a-zA-Z?!*@<>$%]+"))
Expand Down

0 comments on commit d85409d

Please sign in to comment.