From 0053559ead90e04d8a97c8e0f650c42bc77302f3 Mon Sep 17 00:00:00 2001 From: ian Date: Wed, 30 Jan 2008 22:53:22 +0000 Subject: [PATCH] clearer ordering and allow trains called "has" (!) --- hostside/record-y.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hostside/record-y.y b/hostside/record-y.y index 5ba3d1c..ff906fc 100644 --- a/hostside/record-y.y +++ b/hostside/record-y.y @@ -12,7 +12,7 @@ int num; } -%token TRAIN SEG IS AT HAS STEP END IDENT +%token TRAIN SEG IS AT HAS STEP END IDENT %token NL %token NUM @@ -51,7 +51,7 @@ line: /* empty */ backwards: /* empty */ { return 0; } | '-' { return 1; } -ident: IDENT | TRAIN | SEG | IS | AT | STEP | END +ident: TRAIN | SEG | IS | AT | HAS | STEP | END | IDENT seg: ident { $$= record_pname2seg($1); } train: ident { $$= record_pname2train($1); } -- 2.30.2