Author: kjs
Date: Mon Oct 1 10:51:26 2007
New Revision: 21720
Modified:
trunk/languages/PIR/lib/pir.pg
Log:
languages/pir.pg = remove whitespace.
Modified: trunk/languages/PIR/lib/pir.pg
==============================================================================
--- trunk/languages/PIR/lib/pir.pg (original)
+++ trunk/languages/PIR/lib/pir.pg Mon Oct 1 10:51:26 2007
@@ -48,7 +48,7 @@
}
rule sub_id {
- | <IDENT>
+ | <IDENT>
| <STRING_CONST>
| <syntax_error: subroutine identifier expected>
}
@@ -151,7 +151,7 @@
}
rule instr {
- | <pir_instr>
+ | <pir_instr>
| <pasm_instr>
}
@@ -234,8 +234,8 @@
rule const_def_tail {
| <'int'> <const_assign> <int_constant>
| <'num'> <const_assign> <float_constant>
- | <'pmc'> <const_assign> <string_constant>
- | <'string'> <const_assign> <string_constant>
+ | <'pmc'> <const_assign> <string_constant>
+ | <'string'> <const_assign> <string_constant>
| <syntax_error: type expected for constant>
}
@@ -249,8 +249,8 @@
}
rule conditional_stat {
- [ <'if'>
- | <'unless'>
+ [ <'if'>
+ | <'unless'>
]
<conditional_expr>
<goto_stat>
@@ -311,9 +311,9 @@
| <';'>
}
-rule key {
+rule key {
| <simple_expr> <'..'> <simple_expr>
- | <simple_expr> <'..'>
+ | <simple_expr> <'..'>
| <simple_expr>
| <'..'> <simple_expr>
}
@@ -400,9 +400,9 @@
<'.pcc_begin'>
<?nl>
<arguments>
- [
- [ <'.pcc_call'>
- | <'.nci_call'>
+ [
+ [ <'.pcc_call'>
+ | <'.nci_call'>
]
| [ <invocant> <'.meth_call'> ]
]
@@ -446,15 +446,15 @@
}
rule sub_invocation {
- | <long_sub_call>
+ | <long_sub_call>
| <short_sub_call>
}
rule result_var_list {
<'('>
- [
+ [
<result_var>
- [ <','>
+ [ <','>
[ <result_var> | <syntax_error: target to store result expected after
','> ]
]*
]?
@@ -618,9 +618,9 @@
}
rule pasm_constant {
- <'.constant'> <IDENT>
- [ <pasm_register>
- | <constant>
+ <'.constant'> <IDENT>
+ [ <pasm_register>
+ | <constant>
]
}
@@ -756,7 +756,7 @@
<STRING_CONST> | <syntax_error: string constant expected>
}
-rule STRING_CONST {
+rule STRING_CONST {
[ <encoding_specifier>? <charset_specifier> ]?
[ <stringdouble> | <stringsingle> ]
}
@@ -766,9 +766,9 @@
}
token charset_specifier {
- | <'ascii:'>
- | <'binary:'>
- | <'unicode:'>
+ | <'ascii:'>
+ | <'binary:'>
+ | <'unicode:'>
| <'iso-8859-1:'>
}
@@ -788,7 +788,7 @@
}
token normal_target {
- | <IDENT>
+ | <IDENT>
| <REGISTER>
}
@@ -799,13 +799,13 @@
=cut
token macro_target {
- | <IDENT>
- | <REGISTER>
+ | <IDENT>
+ | <REGISTER>
| <macro_id>
}
token id {
- <IDENT> | <syntax_error: identifier expected>
+ <IDENT> | <syntax_error: identifier expected>
}
token IDENT {