Skip to content

Instantly share code, notes, and snippets.

@barcharcraz
Created February 5, 2014 05:07
Show Gist options
  • Save barcharcraz/e9c41f65f3f677b20b77 to your computer and use it in GitHub Desktop.
Save barcharcraz/e9c41f65f3f677b20b77 to your computer and use it in GitHub Desktop.
import macros
proc generateError(s: PNimrodNode): string =
result = ""
expectKind(s, {nnkProcDef})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment