I suppose this is a bug, since I'm getting the same traceback:

---

exception executing command
Traceback (most recent call last):

  File "/home/shadow/leo/src/leoCommands.py", line 275, in doCommand
    val = command(event)

  File "/home/shadow/leo/src/leoCommands.py", line 1508, in
importAtFile
    c.importCommands.importFilesCommand(names,"@file")

  File "/home/shadow/leo/src/leoImport.py", line 1004, in
importFilesCommand
    v = self.createOutline(fileName,current)

  File "/home/shadow/leo/src/leoImport.py", line 869, in createOutline
    self.scanPHPText(s,p,atAuto=atAuto)

  File "/home/shadow/leo/src/leoImport.py", line 1671, in scanPHPText
    scanner.run(s,parent)

  File "/home/shadow/leo/src/leoImport.py", line 2929, in run
    self.scan(s,parent)

  File "/home/shadow/leo/src/leoImport.py", line 2394, in scan
    i = self.skipDecls(s,0,len(s),inClass=False)

  File "/home/shadow/leo/src/leoImport.py", line 2615, in skipDecls
    i = self.skipString(s,i)

  File "/home/shadow/leo/src/leoImport.py", line 3461, in skipString
    return self.skipString()

TypeError: skipString() takes exactly 3 arguments (1 given)

---

Leo 4.4.8 final, build  1.244 , April 6, 2008
python 2.5.1, Tk 8.4.16, Pmw 1.3
OS: Linux

I am getting this when trying to import a trivial php source file:

---
<?

echo 'Hello,
world!';

?>
---

Neither does this one work (same traceback):

---
<?
php

echo 'Hello,
world!';

?>
---
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to