aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
Diffstat (limited to 'admin')
-rw-r--r--admin/grammars/grammar.wy10
-rw-r--r--admin/grammars/python.wy3
2 files changed, 7 insertions, 6 deletions
diff --git a/admin/grammars/grammar.wy b/admin/grammars/grammar.wy
index 054e85bf70d..35fb7e832e9 100644
--- a/admin/grammars/grammar.wy
+++ b/admin/grammars/grammar.wy
@@ -128,7 +128,7 @@ epilogue:
128;; 128;;
129declaration: 129declaration:
130 decl 130 decl
131 (eval $1) 131 (eval $1 t)
132 ; 132 ;
133 133
134decl: 134decl:
@@ -206,7 +206,7 @@ put_decl:
206 206
207put_name_list: 207put_name_list:
208 BRACE_BLOCK 208 BRACE_BLOCK
209 (mapcar 'semantic-tag-name (EXPANDFULL $1 put_names)) 209 (mapcar #'semantic-tag-name (EXPANDFULL $1 put_names))
210 ; 210 ;
211 211
212put_names: 212put_names:
@@ -226,7 +226,7 @@ put_name:
226 226
227put_value_list: 227put_value_list:
228 BRACE_BLOCK 228 BRACE_BLOCK
229 (mapcar 'semantic-tag-code-detail (EXPANDFULL $1 put_values)) 229 (mapcar #'semantic-tag-code-detail (EXPANDFULL $1 put_values))
230 ; 230 ;
231 231
232put_values: 232put_values:
@@ -300,7 +300,7 @@ plist:
300 300
301use_name_list: 301use_name_list:
302 BRACE_BLOCK 302 BRACE_BLOCK
303 (mapcar 'semantic-tag-name (EXPANDFULL $1 use_names)) 303 (mapcar #'semantic-tag-name (EXPANDFULL $1 use_names))
304 ; 304 ;
305 305
306use_names: 306use_names:
@@ -356,7 +356,7 @@ nonterminal:
356 356
357rules: 357rules:
358 lifo_rules 358 lifo_rules
359 (apply 'nconc (nreverse $1)) 359 (apply #'nconc (nreverse $1))
360 ; 360 ;
361 361
362lifo_rules: 362lifo_rules:
diff --git a/admin/grammars/python.wy b/admin/grammars/python.wy
index 9c8f4ac6a9c..22e85570dc1 100644
--- a/admin/grammars/python.wy
+++ b/admin/grammars/python.wy
@@ -97,6 +97,7 @@
97 (tag)) 97 (tag))
98(declare-function semantic-parse-region "semantic" 98(declare-function semantic-parse-region "semantic"
99 (start end &optional nonterminal depth returnonerror)) 99 (start end &optional nonterminal depth returnonerror))
100(defvar wisent-python-EXPANDING-block)
100} 101}
101 102
102%languagemode python-mode 103%languagemode python-mode
@@ -871,7 +872,7 @@ paren_class_list_opt
871paren_class_list 872paren_class_list
872 : PAREN_BLOCK 873 : PAREN_BLOCK
873 (let ((wisent-python-EXPANDING-block t)) 874 (let ((wisent-python-EXPANDING-block t))
874 (mapcar 'semantic-tag-name (EXPANDFULL $1 paren_classes))) 875 (mapcar #'semantic-tag-name (EXPANDFULL $1 paren_classes)))
875 ; 876 ;
876 877
877;; parameters: '(' [varargslist] ')' 878;; parameters: '(' [varargslist] ')'