[go: up one dir, main page]

Menu

#83 Incorect perl syntax highlighting

colorer-take5
closed-fixed
HRC codes (39)
5
2005-08-31
2005-05-22
No

Colorer (tested on take5 beta4) incorectly highlights
everything and loses track of brackets after "or"
operation in this example:

if(/|aaa|/ or /|bbb|/){
push @data, $_;
}

Discussion

  • Igor Russkih

    Igor Russkih - 2005-08-31
    • labels: 359739 --> HRC codes
    • assigned_to: nobody --> lomecb
    • status: open --> closed-fixed
     
  • Igor Russkih

    Igor Russkih - 2005-08-31

    Logged In: YES
    user_id=313042

    fixed.

    RCS file: /cvsroot/colorer/colorer/src/hrc/perl/src/perl.hrc,v
    retrieving revision 1.7
    retrieving revision 1.8
    diff -w -b -r1.7 -r1.8
    372c372
    < (\bif) | (\bunless) | (\bsplit) | grep |^ )
    ---
    > (\bif) | (\bunless) | (\bsplit) | (\bor)
    | grep |^ )
    374c374
    < ((\/))
    ---
    > ((?{def:PairStart}\/))
    376,378c376,378
    < end="/(\y6([cmiogxes]*) )/x" scheme="RegExpString"
    < region="String" region01="Symb"
    < region06="StringEdge" region07="def:PairStart"
    ---
    > end="/(\y7([cmiogxes]*) )/x"
    > scheme="RegExpString"
    > region="String" region01="Symb"
    region07="StringEdge"

     

Log in to post a comment.