Compile error: line 163, column 32: Unexpected token found. Expecting: [TokenPunct] = (
Got: [TokenPunct] = >
S2::Node, S2/Node.pm, 139
S2::NodeArguments, S2/NodeArguments.pm, 25
S2::NodeTerm, S2/NodeTerm.pm, 450
S2::NodeIncExpr, S2/NodeIncExpr.pm, 41
S2::NodeUnaryExpr, S2/NodeUnaryExpr.pm, 40
S2::NodeProduct, S2/NodeProduct.pm, 28
S2::NodeSum, S2/NodeSum.pm, 31
S2::NodeRelExpr, S2/NodeRelExpr.pm, 41
S2::NodeEqExpr, S2/NodeEqExpr.pm, 29
S2::NodeLogAndExpr, S2/NodeLogAndExpr.pm, 29
S2::NodeLogOrExpr, S2/NodeLogOrExpr.pm, 29
S2::NodeRange, S2/NodeRange.pm, 29
S2::NodeCondExpr, S2/NodeCondExpr.pm, 29
S2::NodeAssignExpr, S2/NodeAssignExpr.pm, 29
S2::NodeExpr, S2/NodeExpr.pm, 29
S2::NodePrintStmt, S2/NodePrintStmt.pm, 48
S2::NodeStmt, S2/NodeStmt.pm, 35
S2::NodeStmtBlock, S2/NodeStmtBlock.pm, 42
S2::NodeFunction, S2/NodeFunction.pm, 104
S2::Layer, S2/Layer.pm, 58
S2::Compiler, S2/Compiler.pm, 27
Context
159: var string k1CPltLineString = $k1CPltLineColor.as_string;
160: var string k1CPmedLineString = $*header_bgcolor.as_string;
161: var Color k1CPdkLineColor = $*header_bgcolor->darker(50);
162: var string k1CPdkLineString = $k1CPdkLineColor.as_string;
163: var string k1CPopenRow = """ <tr>\n <td align="center" width="30%">""";
164: var string k1CPcloseRow = """ </td>\n </tr>\n""";
165: var string k1CPnewCell = """ </td>\n <td align="center" width="30%">""";
166: # i used these variables to make it easier to make the table
167: # $k1CPopenRow opens a table row
Sorry if that's too much, I wasn't sure if I only needed to post the second part or both or what. =\
My coding and stuff can be viewed here
Towards the bottom where it says:
print_comp_header("LJ Links");
"""
Bleh..
""";
print_comp_footer();
"Bleh.." is where I'm trying to put the code. So, how can I get it to work there, or I'm definitely open to another way to do it. I'm very very new to this (first day), but I am willing to learn.