From: Chris Hanson Date: Thu, 7 Oct 1999 17:16:00 +0000 (+0000) Subject: Define $ to be symbol constituent rather than prefix character in PHP X-Git-Tag: 20090517-FFI~4443 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=a394b147f6a1efc0163303b5466cb550ec48bce6;p=mit-scheme.git Define $ to be symbol constituent rather than prefix character in PHP mode. --- diff --git a/v7/src/edwin/javamode.scm b/v7/src/edwin/javamode.scm index 6f12221f9..f1fa3fdbe 100644 --- a/v7/src/edwin/javamode.scm +++ b/v7/src/edwin/javamode.scm @@ -1,6 +1,6 @@ ;;; -*-Scheme-*- ;;; -;;; $Id: javamode.scm,v 1.5 1999/10/07 15:18:57 cph Exp $ +;;; $Id: javamode.scm,v 1.6 1999/10/07 17:16:00 cph Exp $ ;;; ;;; Copyright (c) 1998-1999 Massachusetts Institute of Technology ;;; @@ -87,7 +87,7 @@ This is just like C mode, except that This is just like C mode, except that (1) comments begin with // and end at the end of line, (2) c-continued-brace-offset defaults to -2 instead of 0, and - (3) $ is a prefix character rather than a word constituent." + (3) $ is a symbol constituent rather than a word constituent." (lambda (buffer) (local-set-variable! syntax-table php-syntax-table buffer) (event-distributor/invoke! (ref-variable php-mode-hook buffer) buffer))) @@ -103,5 +103,5 @@ This is just like C mode, except that (define php-syntax-table (let ((syntax-table (make-syntax-table java-syntax-table))) - (modify-syntax-entry! syntax-table #\$ " p") + (modify-syntax-entry! syntax-table #\$ "_") syntax-table)) \ No newline at end of file