summaryrefslogtreecommitdiffstats
path: root/rfcomm/parser.y
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2003-02-18 06:04:55 +0000
committerMarcel Holtmann <marcel@holtmann.org>2003-02-18 06:04:55 +0000
commita9ea91fd12bfac8dfb529911c56e062cd2abc34b (patch)
tree99c961d8a31b96e106ae7e7326e2531288f0851f /rfcomm/parser.y
parentae072dcf83d8124e45a0bf5ca69c3699e2a4b8fe (diff)
Allow rfcomm.conf without entries
Diffstat (limited to 'rfcomm/parser.y')
-rw-r--r--rfcomm/parser.y4
1 files changed, 3 insertions, 1 deletions
diff --git a/rfcomm/parser.y b/rfcomm/parser.y
index 3775de95..f7ee3d70 100644
--- a/rfcomm/parser.y
+++ b/rfcomm/parser.y
@@ -59,7 +59,9 @@ struct rfcomm_opts *opts;
%%
-config : statement | config statement
+config :
+ | statement
+ | config statement
;
statement : section '{' rfcomm_options '}'