mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 18:51:27 +00:00
Merge branch 'svn-trunk'
This commit is contained in:
@@ -525,9 +525,8 @@ function process_preprocessor_statement(evaluated, condition) {
|
||||
ei = substr(ei, 6)
|
||||
else if (ei ~ "^+#ifdef")
|
||||
ei = substr(ei, 9)
|
||||
evaluated = sprintf("%s /* %s */",
|
||||
$0 ~ " " ? substr($0, 1, index($0, " ")) : $0,
|
||||
ei);
|
||||
match($0, "([^/ ]*)[[:blank:]]*/\\*[^*]*\\*/[[:blank:]]*", arg)
|
||||
evaluated = sprintf("%s /* %s */", arg[1], ei);
|
||||
if (match(evaluated, "([^/ ]*) */\\* defined\\(([^()]*)\\) \\*/",
|
||||
arg))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user