summaryrefslogtreecommitdiff
path: root/web/yacco2/diagrams/1test.txt
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /web/yacco2/diagrams/1test.txt
Initial commit
Diffstat (limited to 'web/yacco2/diagrams/1test.txt')
-rw-r--r--web/yacco2/diagrams/1test.txt33
1 files changed, 33 insertions, 0 deletions
diff --git a/web/yacco2/diagrams/1test.txt b/web/yacco2/diagrams/1test.txt
new file mode 100644
index 0000000000..6d57ae2378
--- /dev/null
+++ b/web/yacco2/diagrams/1test.txt
@@ -0,0 +1,33 @@
+/* FILE: 1test.lex
+ dates: 17 Apr 2001
+ Purpose: see why merge does not work
+*/
+fsm
+(fsm-id "test.lex",fsm-filename test,fsm-namespace NS_test
+,fsm-class Cpas_keyword
+,fsm-version "1.0",fsm-date "17 Apr 2001",fsm-debug "true"
+,fsm-comments "Merge proplempascal Keyword recognizer")
+parallel-parser
+(
+ parallel-thread-function
+ TH_test
+ ***
+ parallel-la-boundary
+ eolr
+ ***
+)
+@"/pascalxlator/pas_include_files.T"
+rules{
+Rtest AD AB(){
+ -> Rtest_indiv
+}
+
+Rtest_indiv AD AB(){
+ -> Ra Rc
+ -> Rr Ra Rm
+ -> RE Ra Rt
+}
+
+Ra AD AB(){-> "a" -> "A"} Rc AD AB(){-> "c" } Rr AD AB(){-> "r" }
+RE AD AB(){-> "e" } Rt AD AB(){-> "t" } Rm AD AB(){-> "m" }
+}// end of rules \ No newline at end of file