Skip to content

Instantly share code, notes, and snippets.

@masak
Created February 13, 2010 22:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save masak/303711 to your computer and use it in GitHub Desktop.
Save masak/303711 to your computer and use it in GitHub Desktop.
+token term:sym<type_declarator> { <type_declarator> }
+
+proto token type_declarator { <...> }
+
+token type_declarator:sym<enum> {
+ <sym> <.ws>
+ <name>? <.ws>
+ <?before '(' | '<' | '<<' | '«' > <circumfix>
+}
+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment