summaryrefslogtreecommitdiff
path: root/grammar/go/parsego.lm
diff options
context:
space:
mode:
Diffstat (limited to 'grammar/go/parsego.lm')
-rw-r--r--grammar/go/parsego.lm10
1 files changed, 10 insertions, 0 deletions
diff --git a/grammar/go/parsego.lm b/grammar/go/parsego.lm
index 659fcb0e..31eda462 100644
--- a/grammar/go/parsego.lm
+++ b/grammar/go/parsego.lm
@@ -8,4 +8,14 @@ if !P {
}
else {
print [P]
+
+ for IL: int_lit in P {
+ print "int_lit: [^IL]-
+ }
+ for RL: rune_lit in P {
+ print "rune_lit: [^RL]-
+ }
+ for SL: string_lit in P {
+ print "string_lit: [^SL]-
+ }
}