ottobackwards commented on a change in pull request #168:
URL: https://github.com/apache/plc4x/pull/168#discussion_r442298201



##########
File path: 
build-utils/language-c/src/main/java/org/apache/plc4x/language/c/CLanguageTemplateHelper.java
##########
@@ -436,8 +476,45 @@ private String toExpression(Field field, Term term, 
Function<Term, String> varia
         }
     }
 
-    public String toVariableParseExpression(Field field, Term term, Argument[] 
parserArguments) {
+    public String toVariableParseExpression(ComplexTypeDefinition baseType, 
Field field, Term term, Argument[] parserArguments) {
         VariableLiteral vl = (VariableLiteral) term;

Review comment:
       "CAST" could be a constant.  If there are other things you could do that 
too.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to