← Back to team overview

kicad-developers team mailing list archive

Re: possible typo or not? $EndSCHEMATC

 

Why not a context free grammar definition. It seems to me that the so-called
parser is actually nothing but a character stream scanner.
A formal definition would help in many ways.

-----Original Message-----
From: kicad-developers-bounces+crash=triad.rr.com@xxxxxxxxxxxxxxxxxxx
[mailto:kicad-developers-bounces+crash=triad.rr.com@xxxxxxxxxxxxxxxxxxx] On
Behalf Of Lorenzo Marcantonio
Sent: Monday, August 20, 2012 6:04 AM
To: Kicad Developers
Subject: Re: [Kicad-developers] possible typo or not? $EndSCHEMATC

On Sun, Aug 19, 2012 at 04:22:33PM +0200, Edwin van den Oetelaar wrote:
> Should this not read "$EndSchematic\n"
> to be consistent?

Uhmm.. *maybe*

> It appears that during reading of the file just "$End" is matched.

Exactly, so in practice it doesn't matter XD eeschema parser is easy to
please as you can see

> Is there a definition somewhere?

File format in kicad-doc, not fully updated but that's ancient stuff anyway
(IIRC it always was written this way)

--
Lorenzo Marcantonio
Logos Srl

_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp



Follow ups

References