[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
perl-mode confused whith split(/,/,$var);
From: |
Warren L Dodge |
Subject: |
perl-mode confused whith split(/,/,$var); |
Date: |
Wed, 16 Nov 2005 08:40:53 -0800 |
Symptoms:
This code below confuses perl-mode. The comma in split /,/, ... causes
everything after it to be indented and hi-lighted wrong.
If I change the , to an X it is ok. Also if I put () around the split args it
is ok.
I am running with the last set of perl-mode and font-lock patches you sent.
$Master{$activeNameSpace}{View}{$viewName}{priority} = $viewPriority;
@{$Master{$activeNameSpace}{View}{$viewName}{types}} = split /,/, $viewTypes if
($numFields==5);
$Master{$activeNameSpace}{View}{$viewName}{fileInfo} = "file:$MBasePath/$MFile
(line:$MLine)";
return;
If emacs crashed, and you have the emacs process in the gdb debugger,
please include the output from the following gdb commands:
`bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/tools/wdtgnu/emacs-22.0.50/share/emacs/22.0.50/etc/DEBUG for instructions.
In GNU Emacs 22.0.50.3 (i686-pc-linux-gnu, X toolkit)
of 2005-11-01 on zephyr
X server distributor `Sun Microsystems, Inc.', version 11.0.6410
configured using `configure '--prefix=/tools/wdtgnu/emacs-22.0.50'
'--disable-nls''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: C
locale-coding-system: nil
default-enable-multibyte-characters: t
Major mode: Perl
Minor modes in effect:
display-time-mode: t
mouse-wheel-mode: t
tooltip-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
line-number-mode: t
transient-mark-mode: identity
Recent input:
<backspace> C-a C-k C-k C-y <down-mouse-1> <mouse-1>
<down-mouse-1> <mouse-1> <down-mouse-3> <mouse-3> <help-echo>
C-x C-f g <return> C-y <escape> x p e r l - m o d e
<return> <up> <up> <up> <up> <tab> <down> <tab> <down>
<tab> <down> <tab> <up> C-a <return> <tab> <down-mouse-1>
<mouse-1> C-d a C-_ C-_ <down-mouse-1> <mouse-movement>
<mouse-1> C-d C-d C-d C-d C-d C-d C-d C-d <down-mouse-1>
<mouse-1> C-SPC C-a C-w <down-mouse-1> <mouse-1> <down-mouse-3>
<mouse-3> <escape> x e m a c s - b u g <return> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> r e p o <tab> r
t <tab> <return>
Recent messages:
Error while displaying tooltip: (error Undefined color lightyellow)
mouse-1: select (drag to resize), mouse-2: delete others, mouse-3: delete this
(New file)
File local-variables error: (void-variable compile-command)
Mark set
Undo! [2 times]
Mark set
Making completion list...
Loading help-mode...done
Loading emacsbug...done
- perl-mode confused whith split(/,/,$var);,
Warren L Dodge <=