Skip to content
Snippets Groups Projects
Commit 608998e3 authored by g0dil's avatar g0dil
Browse files

Fix continuation-line parsing in run-test-gdb.sh script

Add c-backslash-column variable to senf-c-style
parent eb1d48e3
No related branches found
No related tags found
No related merge requests found
...@@ -2,11 +2,12 @@ ...@@ -2,11 +2,12 @@
(defconst senf-c-style (defconst senf-c-style
'((c-basic-offset . 4) '((c-basic-offset . 4)
(c-cleanup-list . (empty-defun-braces (c-backslash-column . 98)
defun-close-semi (c-cleanup-list . (empty-defun-braces
list-close-comma defun-close-semi
scope-operator list-close-comma
compact-empty-funcall)) scope-operator
compact-empty-funcall))
(c-hanging-braces-alist . ((namespace-open after) (c-hanging-braces-alist . ((namespace-open after)
(namespace-close before after) (namespace-close before after)
(brace-list-open) (brace-list-open)
......
...@@ -61,7 +61,7 @@ gdb -batch -x .run-test-gdb.cmd ./.test.bin 2>/dev/null | perl -e ' ...@@ -61,7 +61,7 @@ gdb -batch -x .run-test-gdb.cmd ./.test.bin 2>/dev/null | perl -e '
elsif ($mode==2) { elsif ($mode==2) {
if (/^(#?[0-9]| )/) { if (/^(#?[0-9]| )/) {
push @l,$_ if /^#/; push @l,$_ if /^#/;
$l[$#l] .= $_ if /^ /; $l[$#l] .= $_ if @l && /^ /;
} else { } else {
$mode=0; $mode=0;
if (/: fatal error in /) { if (/: fatal error in /) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment