Use consistent styling

Prefix public symbols with "p_".
User lowercase for all type aliases.
Clean up some comments.
This commit is contained in:
josh committed 2023-07-12 16:45:59 -04:00
1 parent c7bca74d3e
commit ce22e3465b
3 files changed
+250 -166

No files matched your search

+1 -1
View File
@@ -183,7 +183,7 @@ class Propane
# Expanded user code block.
def expand_code(code, parser, rule, pattern)
code = code.gsub(/\$token\(([$\w]+)\)/) do |match|
"Token(TOKEN_#{Token.code_name($1)})"
"TOKEN_#{Token.code_name($1)}"
end
if parser
code = code.gsub(/\$\$/) do |match|