File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 49
49
(:file " aupprint" )))))
50
50
51
51
; ;; In Allegro, which provides its own Yacc, CL-Yacc can optionally be used.
52
- ; ;; In other implementations, Allegro Yacc is unavailable
52
+ ; ;; In other implementations CL- Yacc must be used.
53
53
(when (asdf :find-system " yacc" nil )
54
- (pushnew :use -cl-yacc *features* ))
54
+ (pushnew :have -cl-yacc *features* ))
55
55
56
56
(defsystem " clpython/parser"
57
57
:description " Python parser, code walker, and pretty printer"
58
58
:depends-on (" clpython/basic"
59
59
" closer-mop"
60
- (:feature (:or : allegro :use -cl-yacc ) " yacc" ))
60
+ (:feature (:or ( :not : allegro) :have -cl-yacc ) " yacc" ))
61
61
:components ((:module " parser"
62
62
:components ((:file " grammar" )
63
63
(:file " lexer" :depends-on (" grammar" ))
64
64
(:file " parser" :depends-on (" grammar" " lexer" ))
65
65
(:file " grammar-aclyacc" :depends-on (" grammar" " lexer" " parser" ) :if-feature :allegro )
66
- (:file " grammar-clyacc" :depends-on (" grammar" " lexer" " parser" ) :if-feature :use -cl-yacc )
66
+ (:file " grammar-clyacc" :depends-on (" grammar" " lexer" " parser" ) :if-feature ( :or ( :not :allegro ) :have -cl-yacc) )
67
67
(:file " ast-util" :depends-on (" grammar" ))
68
68
(:file " walk" )
69
69
(:file " pprint" )))))
You can’t perform that action at this time.
0 commit comments