This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug tapsets/15772] New: systemtap-mode emacs addon confused by #!/usr/bin/stap
- From: "timo.lindfors at iki dot fi" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Tue, 23 Jul 2013 06:44:04 +0000
- Subject: [Bug tapsets/15772] New: systemtap-mode emacs addon confused by #!/usr/bin/stap
- Auto-submitted: auto-generated
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.