aboutsummaryrefslogtreecommitdiff
path: root/frontend/scanner.dcl
diff options
context:
space:
mode:
authoralimarin2001-03-13 15:36:49 +0000
committeralimarin2001-03-13 15:36:49 +0000
commitc3a2cdaad45d3e1536d3b98d89036e549f159530 (patch)
tree03e6e689e81bca56ad245ff00fc9c17a7bef80b5 /frontend/scanner.dcl
parentadded 2.0 syntax to type_io.icl (diff)
Generics are added, but are disabled.
Tested with compiling Object IO and butstrapping. git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@329 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
Diffstat (limited to 'frontend/scanner.dcl')
-rw-r--r--frontend/scanner.dcl6
1 files changed, 5 insertions, 1 deletions
diff --git a/frontend/scanner.dcl b/frontend/scanner.dcl
index daa8bab..6ec95bf 100644
--- a/frontend/scanner.dcl
+++ b/frontend/scanner.dcl
@@ -88,7 +88,6 @@ instance <<< FilePosition
| DynamicToken // dynamic
| DynamicTypeToken // Dynamic
-
| PriorityToken Priority // infixX N
| CodeToken // code
@@ -99,6 +98,11 @@ instance <<< FilePosition
| EndGroupToken // generated automatically
| EndOfFileToken // end of file
| ErrorToken String // if an error occured
+
+ | GenericToken // generic
+ | GenericOpenToken // {|
+ | GenericCloseToken // |}
+
:: Context
= GeneralContext