This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tapsets/15772] New: systemtap-mode emacs addon confused by #!/usr/bin/stap


http://sourceware.org/bugzilla/show_bug.cgi?id=15772

            Bug ID: 15772
           Summary: systemtap-mode emacs addon confused by #!/usr/bin/stap
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: minor
          Priority: P2
         Component: tapsets
          Assignee: systemtap at sourceware dot org
          Reporter: timo.lindfors at iki dot fi

Steps to reproduce:
1) emacs testcase.stp
2) enter the following program:

#!/usr/bin/stap

probe syscall.open {
}

probe syscall.close {
}

Expected results:
2) systemtap-mode indents both probes in a similar fashion

Actual results:
2) the closing parenthesis of the first probe has odd extra indentation:

#!/usr/bin/stap

probe syscall.open {
   }

probe syscall.close {
}

More info:
1) If I remove "#!/usr/bin/stap" then systemtap-mode correctly indents also the
first probe.

-- 
You are receiving this mail because:
You are the assignee for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]