about summary refs log tree commit diff
path: root/third_party/lisp/npg/examples/python.lisp
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2022-01-19T13·39+0100
committersterni <sternenseemann@systemli.org>2022-01-26T17·43+0000
commit25cb0ad32ff197092262c74e944d254e901632bd (patch)
tree68b70050e7ea3fd7912849292be03d289864acd3 /third_party/lisp/npg/examples/python.lisp
parent40014c70b3b3545d2304411cb91b176d1a3e22d2 (diff)
style(3p/lisp): expand tabs in npg, mime4cl and sclf r/3675
Done using

    find third_party/lisp/{sclf,mime4cl,npg} \
      -name '*.lisp' -or -name '*.asd' \
      -exec bash -c 'expand -i -t 8 "$0" | sponge "$0"' {} \;

Change-Id: If84afac9c1d5cbc74e137a5aa0ae61472f0f1e90
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5066
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'third_party/lisp/npg/examples/python.lisp')
-rw-r--r--third_party/lisp/npg/examples/python.lisp6
1 files changed, 3 insertions, 3 deletions
diff --git a/third_party/lisp/npg/examples/python.lisp b/third_party/lisp/npg/examples/python.lisp
index 68d794ddec03..a45ac614f716 100644
--- a/third_party/lisp/npg/examples/python.lisp
+++ b/third_party/lisp/npg/examples/python.lisp
@@ -38,7 +38,7 @@
 
 (deflazy define-grammar
   (let ((*package* #.*package*)
-	(*compile-print* (and parser::*debug* t)))
+        (*compile-print* (and parser::*debug* t)))
     (reset-grammar)
     (format t "~&creating Python grammar...~%")
     (populate-grammar)
@@ -80,8 +80,8 @@
 (defrule statement-list
     := (+ simple-statement ";")
     :reduce (if (cdr $1)
-		(cons :statement-list $1)
-		(car $1)))
+                (cons :statement-list $1)
+                (car $1)))
 
 (defrule statement
     := statement-list eol