2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
|
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
|
+
+
+
+
+
+
+
|
has_xy_input=1;
nxttok();
if(tokent!=TF_CLOSE) ParseError("Expected close parenthesis\n");
break;
case OP_DENSITY:
parse_density_block();
break;
case OP_TRIGGER:
nxttok();
if(tokent!=TF_INT) ParseError("Number expected\n");
trigmode=tokenv;
nxttok();
if(tokent!=TF_CLOSE) ParseError("Expected close parenthesis\n");
break;
default:
ParseError("Invalid top level definition: %s\n",tokenstr);
}
} else {
ParseError("Invalid top level definition\n");
}
}
|