remove ## from netlist if "#@attribute\\#@name" is used in format string and "attribute" is undefined or empty
This commit is contained in:
parent
2502208671
commit
9ed7d3b039
|
|
@ -9,6 +9,7 @@ GUI_OBJS = \
|
|||
$(BIN)/gui/find_cairo.o \
|
||||
$(BIN)/gui/find_misc.o \
|
||||
$(BIN)/gui/find_gl.o \
|
||||
$(BIN)/gui/find_sdl2.o \
|
||||
$(BIN)/gui/gui.o
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@
|
|||
#include "find_cairo.h"
|
||||
#include "find_misc.h"
|
||||
#include "find_gl.h"
|
||||
#include "find_sdl2.h"
|
||||
|
||||
void deps_gui_init()
|
||||
{
|
||||
|
|
@ -47,4 +48,5 @@ void deps_gui_init()
|
|||
dep_add("libs/gui/glut/*", find_glut);
|
||||
dep_add("libs/gui/wgl/*", find_gui_wgl);
|
||||
dep_add("libs/gui/glfw/*", find_glfw);
|
||||
dep_add("libs/gui/sdl2/*", find_sdl2);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -185,6 +185,10 @@ function process( i,j, iprefix, saveinstr, savetype, saveanalysis)
|
|||
# dxm6[0] 0 HDD dnwell area='(50u + 73u)*(10u + 32u)' pj='2*(50u +73u)+2*(10u +32u)'
|
||||
#20151027 do this for all fields
|
||||
for(i=1; i<=NF;i++) {
|
||||
|
||||
if($i ~/^##[a-zA-Z_]+/) {
|
||||
sub(/^##/, "", $i)
|
||||
} else
|
||||
if($i ~/^#[a-zA-Z_0-9]+#[a-zA-Z_]+/) {
|
||||
iprefix=$i
|
||||
sub(/^#/,"",iprefix)
|
||||
|
|
|
|||
Loading…
Reference in New Issue