help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using smie for Relax NG compact syntax


From: Stefan Monnier
Subject: Re: Using smie for Relax NG compact syntax
Date: Mon, 09 Feb 2015 11:56:45 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

>        (pattern ("element" id "{" pattern "}") ("empty"))))))

Better make this

        (pattern ("element" id) ("empty"))))))

Since you want "{" to be an "opener" (i.e. something similar to an open
parenthesis) whereas if it's in the middle of a production rule it won't
be treated as an opener.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]