Lines 350-355
Link Here
|
350 |
if (sdk) { |
350 |
if (sdk) { |
351 |
n = 3; |
351 |
n = 3; |
352 |
|
352 |
|
|
|
353 |
# detect the following gcc5 cpp pattern and skip it: |
354 |
# extern |
355 |
# # 320 "../../include/os.h" 3 4 |
356 |
# __attribute__((visibility("default"))) |
357 |
# # 320 "../../include/os.h" |
358 |
# Note in this case the "extern " or "extern void " always has |
359 |
# a trailing space |
360 |
if ($0 ~ "^extern.* $") { |
361 |
getline; |
362 |
getline; |
363 |
getline; |
364 |
getline; |
365 |
n = 1; |
366 |
while ($n == " ") |
367 |
n++; |
368 |
} |
369 |
|
353 |
# skip attribute, if any |
370 |
# skip attribute, if any |
354 |
while ($n ~ /^(__attribute__|__global)/ || |
371 |
while ($n ~ /^(__attribute__|__global)/ || |
355 |
# skip modifiers, if any |
372 |
# skip modifiers, if any |