• R/O
  • SSH

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Castle: The best Real-Time/Embedded/HighTech language EVER. Attempt 2


Commit MetaInfo

Révision7e121f56e9bc048be98fccc83552ccea60ecb814 (tree)
l'heure2022-01-15 07:17:08
AuteurAlbert Mietus < albert AT mietus DOT nl >
CommiterAlbert Mietus < albert AT mietus DOT nl >

Message de Log

(empty log message)

Change Summary

Modification

diff -r c3522f82dc29 -r 7e121f56e9bc Arpeggio/Makefile
--- a/Arpeggio/Makefile Fri Jan 14 22:58:06 2022 +0100
+++ b/Arpeggio/Makefile Fri Jan 14 23:17:08 2022 +0100
@@ -21,7 +21,7 @@
2121
2222 missing_visitors:
2323 @for R in ${GRAMMAR_RULES}; do \
24- if ! grep -q -E "^ *((def)|(# *NOVISITOR_NEEDED:)) *visit_$$R" ./visitor.py> /dev/null ; then\
24+ if ! grep -q -E "^ *((def)|(# *NO_VISITOR_NEEDED:)) *visit_$$R" ./visitor.py> /dev/null ; then\
2525 echo "Warning: $${R} has no visitor (nor is marked as to need none)" ;\
2626 fi ;\
2727 done
diff -r c3522f82dc29 -r 7e121f56e9bc Arpeggio/visitor.py
--- a/Arpeggio/visitor.py Fri Jan 14 22:58:06 2022 +0100
+++ b/Arpeggio/visitor.py Fri Jan 14 23:17:08 2022 +0100
@@ -8,13 +8,15 @@
88 class QuantityError(ValueError): pass
99
1010
11-#NOVISITOR_NEEDED: visit_str_no_s1
12-#NOVISITOR_NEEDED: visit_str_no_d1
13-#NOVISITOR_NEEDED: visit_str_no_s3
14-#NOVISITOR_NEEDED: visit_str_no_d3
15-#NOVISITOR_NEEDED: visit_comment
16-#NOVISITOR_NEEDED: visit_ID
17-#NOVISITOR_NEEDED: visit_re_no_slash
11+#NO_VISITOR_NEEDED: visit_str_no_s1
12+#NO_VISITOR_NEEDED: visit_str_no_d1
13+#NO_VISITOR_NEEDED: visit_str_no_s3
14+#NO_VISITOR_NEEDED: visit_str_no_d3
15+#NO_VISITOR_NEEDED: visit_comment
16+#NO_VISITOR_NEEDED: visit_ID
17+#NO_VISITOR_NEEDED: visit_term
18+#NO_VISITOR_NEEDED: visit_re_no_slash
19+#NO_VISITOR_NEEDED: visit_group
1820
1921 class PegVisitor(arpeggio.PTNodeVisitor):
2022 token_2_class = {'?': peg.Optional,