Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • sac2c sac2c
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 400
    • Issues 400
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • sac-group
  • sac2csac2c
  • Wiki
  • Tutorials
  • adding a traversal

adding a traversal · Changes

Page history
Moved the helper functions up in the adding a traversal template. authored Jun 05, 2025 by Quinten Cabo's avatar Quinten Cabo
Hide whitespace changes
Inline Side-by-side
tutorials/adding-a-traversal.md
View page @ 095e82ba
......@@ -288,6 +288,18 @@ FreeInfo (info *info)
DBUG_RETURN (info);
}
/**********************************************************
* Helper functions (static)
***********************************************************/
static node *
DummyStaticHelper (node *arg_node)
{
DBUG_ENTER ();
DBUG_RETURN (arg_node);
}
/********************************************************
* Traversal start function
*********************************************************/
......@@ -356,18 +368,7 @@ TEMPfundef (node *arg_node, info *arg_info)
DBUG_RETURN (arg_node);
}
/**********************************************************
* Helper functions (static)
***********************************************************/
static node *
DummyStaticHelper (node *arg_node)
{
DBUG_ENTER ();
DBUG_RETURN (arg_node);
}
```
Copy this template into your `.c` file.
......
Clone repository
  • Styleguide
  • concepts
    • Deprecated Modules
    • Globals
    • Intermediate Code Macros
    • Named Tuples
    • Overloading
    • Preprocessor
    • Primitive functions
    • Runtime Representations
    • input stdin
    • phm xt
    • ref counting methods
    • type famlies
    • type patterns
  • error messages
    • Anthropomorphic error essages
View All Pages