tools/pas2c/Pas2C.hs
changeset 13867 0ecf77e203c0
parent 13865 aba78789f0bf
child 13883 0ce8aad17c24
--- a/tools/pas2c/Pas2C.hs	Fri Oct 05 21:31:58 2018 +0200
+++ b/tools/pas2c/Pas2C.hs	Fri Oct 05 21:41:56 2018 +0200
@@ -612,7 +612,7 @@
     varDeclDecision True True varStr expStr = varStr <+> expStr
     varDeclDecision False True varStr expStr = if externVar then varStr else varStr <+> expStr
     varDeclDecision False False varStr expStr = varStr <+> expStr
-    varDeclDecision True False _ _ = empty
+    varDeclDecision True False varStr expStr = varStr <+> expStr
     arrayDimension a = case a of
         ArrayDecl Nothing t' -> let a' = arrayDimension t' in 
                                    if a' > 3 then error "Dynamic array with dimension > 4 is not supported." else 1 + a'